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