apps/astreamer/main.cpp File Reference

#include <iostream>
#include <string>
#include <map>
#include "streamer.h"

Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Variables

string usage


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 38 of file main.cpp.


Variable Documentation

string usage

Initial value:

 "Usage: str [options]\n"
"Options:\n"
"        -f --fps xx.xx   - use fixed xx.xx FPS for stream\n"
"        -u --ucast       - send stream over unicast (used by default)\n"
"                           in unicast mode supported only one active RTSP client\n"
"        -m --mcast [IP][:PORT]  - send stream over multicast with IP and PORT as multicast destination\n"
"        -s --silent      - \"silent\" mode for multicast - wait client over RTSP for streaming\n"
"                           (w/o this option - send multicast stream all time - by default)\n"
"        -a [SSSSS][/C]   - send audio stream (if present) with a sample SSSSS Hz and channels C\n"
"                           (by default, 44100Hz, stereo, i.e. \'-a 44100/2\')\n"
"        -t --ttl  xx     - TTL (Time-To-Live for multicast, default 2)\n"

Definition at line 26 of file main.cpp.

Referenced by main(), opt_parse(), printUsage(), and usage().


Generated on Fri Nov 28 00:06:29 2008 for elphel by  doxygen 1.5.1