Changeset 407 for pjproject/trunk/pjsip-apps/src/samples/siprtp.c
- Timestamp:
- Apr 20, 2006 11:13:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r395 r407 19 19 20 20 21 22 23 /* Usage */ 24 static const char *USAGE = 25 " PURPOSE: \n" 26 " This program establishes SIP INVITE session and media, and calculate \n" 27 " the media quality (packet lost, jitter, rtt, etc.). Unlike normal \n" 28 " pjmedia applications, this program bypasses all pjmedia stream \n" 29 " framework and transmit encoded RTP packets manually using own thread. \n" 30 "\n" 31 " USAGE:\n" 32 " siprtp [options] => to start in server mode\n" 33 " siprtp [options] URL => to start in client mode\n" 34 "\n" 35 " Program options:\n" 36 " --count=N, -c Set number of calls to create (default:1) \n" 37 "\n" 38 " Address and ports options:\n" 39 " --local-port=PORT,-p Set local SIP port (default: 5060)\n" 40 " --rtp-port=PORT, -r Set start of RTP port (default: 4000)\n" 41 " --ip-addr=IP, -i Set local IP address to use (otherwise it will\n" 42 " try to determine local IP address from hostname)\n" 43 "\n" 44 " Logging Options:\n" 45 " --log-level=N, -l Set log verbosity level (default=5)\n" 46 " --app-log-level=N Set app screen log verbosity (default=3)\n" 47 " --log-file=FILE Write log to file FILE\n" 48 "\n" 49 " Codec Options:\n" 50 " --a-pt=PT Set audio payload type to PT (default=0)\n" 51 " --a-name=NAME Set audio codec name to NAME (default=pcmu)\n" 52 " --a-clock=RATE Set audio codec rate to RATE Hz (default=8000Hz)\n" 53 " --a-bitrate=BPS Set audio codec bitrate to BPS (default=64000bps)\n" 54 " --a-ptime=MS Set audio frame time to MS msec (default=20ms)\n" 55 ; 56 57 21 58 /* Include all headers. */ 22 59 #include <pjsip.h> … … 724 761 return 0; 725 762 } 726 727 728 /* Usage */729 static const char *USAGE =730 "Usage:\n"731 " siprtp [options] => to start in server mode\n"732 " siprtp [options] URL => to start in client mode\n"733 "\n"734 "Program options:\n"735 " --count=N, -c Set number of calls to create (default:1) \n"736 "\n"737 "Address and ports options:\n"738 " --local-port=PORT,-p Set local SIP port (default: 5060)\n"739 " --rtp-port=PORT, -r Set start of RTP port (default: 4000)\n"740 " --ip-addr=IP, -i Set local IP address to use (otherwise it will\n"741 " try to determine local IP address from hostname)\n"742 "\n"743 "Logging Options:\n"744 " --log-level=N, -l Set log verbosity level (default=5)\n"745 " --app-log-level=N Set app screen log verbosity (default=3)\n"746 " --log-file=FILE Write log to file FILE\n"747 "\n"748 "Codec Options:\n"749 " --a-pt=PT Set audio payload type to PT (default=0)\n"750 " --a-name=NAME Set audio codec name to NAME (default=pcmu)\n"751 " --a-clock=RATE Set audio codec rate to RATE Hz (default=8000 Hz)\n"752 " --a-bitrate=BPS Set audio codec bitrate to BPS (default=64000 bps)\n"753 " --a-ptime=MS Set audio frame time to MS msec (default=20 msec)\n"754 ;755 763 756 764
Note: See TracChangeset
for help on using the changeset viewer.