<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>This is not a Darwin streaming mailing list.</p>
<p></p>
<p>----- Message d'origine -----</p>
<p>> I am new to stream media development, and I hava a problem confused me so long.</p>
<p>> I need RTP packets to do some analysis, so I use DarwinServer 5.5.5 to play a</p>
<p>> mp4 file on my computer, and use VLC on another computer to open a rtsp address</p>
<p>> like <a href="rtsp://192.168.1.65/sample_h264_1mbit.mp4, the VLC can paly the file well. ">rtsp://192.168.1.65/sample_h264_1mbit.mp4, the VLC can paly the file well. </a>;</p>
<p>> I find a SDP file in directory C:\Program Files\Darwin Streaming Server\Movies,</p>
<p>> it is like this: v=0 o=QTSS_Play_List 3751694215 3751712641 IN IP4</p>
<p>> 169.254.25.142 s=C:\Program Files\Darwin Streaming</p>
<p>> Server\Playlists\untitled\unti@ c=IN IP4 127.0.0.1 b=AS:2097279</p>
<p>> t=0 0</p>
<p>> a=x-broadcastcontrol:RTSP</p>
<p>> a=isma-compliance:2,2.0,2</p>
<p>> m=video 0 RTP/AVP 96</p>
<p>> b=AS:2097151</p>
<p>> a=rtpmap:96 H264/90000</p>
<p>> a=control:trackID=1</p>
<p>> a=cliprect:0,0,480,380</p>
<p>> a=framesize:96 380-480</p>
<p>> a=fmtp:96</p>
<p>> packetization-mode=1;profile-level-id=4D401E;sprop-parameter-sets=J01AHqkYMB73oA==,KM4C+IA=</p>
<p>> a=mpeg4-esid:201 m=audio 0 RTP/AVP 97</p>
<p>> b=AS:127</p>
<p>> a=rtpmap:97 mpeg4-generic/48000/2</p>
<p>> a=control:trackID=2</p>
<p>> a=fmtp:97</p>
<p>> profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190</p>
<p>> a=mpeg4-esid:101</p>
<p>> </p>
<p>> As I need audio data encapsulated with LATM format, so i change the line</p>
<p>> "a=rtpmap:97 mpeg4-generic/48000/2" to "a=rtpmap:97 mp4a-latm/48000/2" and save</p>
<p>> it. But I find that when I restart the server, the file changes to its former</p>
<p>> content.! It seems that Darwin Server would generate a SDP file in /movies/</p>
<p>> directory, and overwrite it if there was a SDP file in this directory with the</p>
<p>> same name. When stop the server, the SDP file will be deleted in few seconds.</p>
<p>> </p>
<p>> SO, what should I do to encapsulate the audio data in this mp4 file with LATM</p>
<p>> format in RTP packets?</p>
<p>> </p>
<p>> Thanks a lot. </p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> </p>
<p>> </p>
<p></p>
<p></p>
</body>
</html>