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 39 of file main.cpp.


Variable Documentation

string usage

Initial value:

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

Definition at line 26 of file main.cpp.

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


Generated on Thu Aug 7 16:19:07 2008 for elphel by  doxygen 1.5.1