- Timestamp:
- May 18, 2006 6:34:21 PM (19 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/samples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r452 r454 48 48 " --app-log-level=N Set app screen log verbosity (default=3)\n" 49 49 " --log-file=FILE Write log to file FILE\n" 50 " --report-file=FILE Write report to file FILE\n" 50 51 "\n" 51 52 /* Don't support this anymore, because codec is properly examined in … … 156 157 int log_level; 157 158 char *log_filename; 159 char *report_filename; 158 160 159 161 struct codec audio_codec; … … 821 823 enum { OPT_START, 822 824 OPT_APP_LOG_LEVEL, OPT_LOG_FILE, 823 OPT_A_PT, OPT_A_NAME, OPT_A_CLOCK, OPT_A_BITRATE, OPT_A_PTIME }; 825 OPT_A_PT, OPT_A_NAME, OPT_A_CLOCK, OPT_A_BITRATE, OPT_A_PTIME, 826 OPT_REPORT_FILE }; 824 827 825 828 struct pj_getopt_option long_options[] = { … … 834 837 { "app-log-level", 1, 0, OPT_APP_LOG_LEVEL }, 835 838 { "log-file", 1, 0, OPT_LOG_FILE }, 839 840 { "report-file", 1, 0, OPT_REPORT_FILE }, 836 841 837 842 /* Don't support this anymore, see comments in USAGE above. … … 927 932 case OPT_A_PTIME: 928 933 app.audio_codec.ptime = atoi(pj_optarg); 934 break; 935 case OPT_REPORT_FILE: 936 app.report_filename = pj_optarg; 929 937 break; 930 938 -
pjproject/trunk/pjsip-apps/src/samples/siprtp_report.c
r443 r454 59 59 pj_gettimeofday(&now); 60 60 61 if (app.report_filename) 62 puts(app.report_filename); 63 61 64 /* Print duration */ 62 65 if (inv->state >= PJSIP_INV_STATE_CONFIRMED && call->connect_time.sec) {
Note: See TracChangeset
for help on using the changeset viewer.