<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Streaming m4v files from LIVE555 media server</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">We are trying to stream .m4v file from LIVE555 media server and receive using VLC media player or LIVE555 openRTSP Client. But we observed huge packet loss in wireshark trace.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Currently, Live555 code only accepts m4e extension but not m4v hence we added .m4v part in </FONT>
<BR>
<BR><FONT COLOR="#0000FF" FACE="Courier New">static</FONT><FONT FACE="Courier New"> ServerMediaSession* createNewSMS(UsageEnvironment& env,</FONT><FONT COLOR="#0000FF" FACE="Courier New">char</FONT><FONT FACE="Courier New"> </FONT><FONT COLOR="#0000FF" FACE="Courier New">const</FONT><FONT FACE="Courier New">* fileName, FILE* )</FONT>
<BR><FONT FACE="Courier New">in DynamicRTSPServer.cpp file as below</FONT>
</P>
<P><FONT FACE="Courier New"> </FONT><FONT COLOR="#0000FF" FACE="Courier New">else</FONT><FONT FACE="Courier New"> </FONT><FONT COLOR="#0000FF" FACE="Courier New">if</FONT><FONT FACE="Courier New"> (strcmp(extension, ".m4e") == 0 || (NULL == strcmp(extension, ".m4v"))) {</FONT>
<BR><FONT FACE="Courier New"> </FONT><FONT COLOR="#008000" FACE="Courier New">// Assumed to be a MPEG-4 Video Elementary Stream file:</FONT>
<BR><FONT FACE="Courier New"> NEW_SMS("MPEG-4 Video");</FONT>
<BR><FONT FACE="Courier New"> sms->addSubsession(MPEG4VideoFileServerMediaSubsession::createNew(env, fileName, reuseSource));</FONT>
<BR><FONT FACE="Courier New"> }</FONT>
</P>
<P><FONT FACE="Courier New">openRTSP client could able to receive m4e files without any packet loss but for m4v stream there is huge packet loss.</FONT>
</P>
<P><FONT FACE="Courier New">Also If we run LIVE555 media server and openRTSPClient or VLC Player on the same machine there is no packet loss for m4v streams</FONT></P>
<P><FONT FACE="Courier New">Please give your inputs.</FONT>
</P>
<P><FONT FACE="Courier New">Regards</FONT>
<BR><FONT FACE="Courier New">Nitin</FONT>
</P>
</BODY>
</HTML>