- Timestamp:
- Jun 25, 2008 6:18:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/mod_media_playrec.py
r2051 r2052 35 35 36 36 # Get input file name 37 endpt.sync_stdout() 38 endpt.send("dc") 39 line = endpt.expect(const.MEDIA_PLAY_FILE) 40 ud.input_filename = re.compile(const.MEDIA_PLAY_FILE).match(line).group(1) 37 ud.input_filename = re.compile(const.MEDIA_PLAY_FILE).search(endpt.inst_param.arg).group(1) 41 38 endpt.trace("Input file = " + ud.input_filename) 42 39 43 40 # Get output file name 44 endpt.sync_stdout() 45 endpt.send("dc") 46 line = endpt.expect(const.MEDIA_REC_FILE) 47 ud.output_filename = re.compile(const.MEDIA_REC_FILE).match(line).group(1) 41 ud.output_filename = re.compile(const.MEDIA_REC_FILE).search(endpt.inst_param.arg).group(1) 48 42 endpt.trace("Output file = " + ud.output_filename) 49 43
Note: See TracChangeset
for help on using the changeset viewer.