<div>I am new to stream media development, and I hava a problem confused me so long.<br>I need RTP packets to do some analysis, so I use DarwinServer 5.5.5 to play a mp4 file on my computer, and use VLC on another computer to open a rtsp address like rtsp://192.168.1.65/sample_h264_1mbit.mp4, the VLC can paly the file well. <br>I find a SDP file in directory C:\Program Files\Darwin Streaming Server\Movies, it is like this:<br>v=0<br>o=QTSS_Play_List 3751694215 3751712641 IN IP4 169.254.25.142<br>s=C:\Program Files\Darwin Streaming Server\Playlists\untitled\unti@<br>c=IN IP4 127.0.0.1<br>b=AS:2097279<br>t=0 0<br>a=x-broadcastcontrol:RTSP<br>a=isma-compliance:2,2.0,2<br>m=video 0 RTP/AVP 96<br>b=AS:2097151<br>a=rtpmap:96 H264/90000<br>a=control:trackID=1<br>a=cliprect:0,0,480,380<br>a=framesize:96 380-480<br>a=fmtp:96 packetization-mode=1;profile-level-id=4D401E;sprop-parameter-sets=J01AHqkYMB73oA==,KM4C+IA=<br>a=mpeg4-esid:201<br>m=audio 0 RTP/AVP 97<br>b=AS:127<br>a=rtpmap:97 mpeg4-generic/48000/2<br>a=control:trackID=2<br>a=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190<br>a=mpeg4-esid:101<br><br>As I need audio data encapsulated with LATM format, so i change the line "a=rtpmap:97 mpeg4-generic/48000/2" to "a=rtpmap:97 mp4a-latm/48000/2" and save it. But I find that when I restart the server, the file changes to its former content.!<br>It seems that Darwin Server would generate a SDP file in /movies/ directory, and overwrite it if there was a SDP file in this directory with the same name. When stop the server, the SDP file will be deleted in few seconds.<br><br>SO, what should I do to encapsulate the audio data in this mp4 file with LATM format in RTP packets?<br><br>Thanks a lot. <br><table class="cmpLeft"><tbody><tr></tr><tr><td><br></td></tr></tbody></table><br><br></div><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://www.yeah.net/?from=footer">没有广告的终身免费邮箱,www.yeah.net</a>
</span>