[Live-devel] streaming H.264 with changing resolution

orbit orbit.huang at icatchinc.com
Fri Dec 11 03:59:37 PST 2009


Hi Ross,

I use Live555 to stream H.264 from the embedded borad and find a bug:

for my borad, user could change video's resolution,  at beginning user
recive H.264 from the borad , it plays well, but if user disconnect then
reconnect with different resolution, client player does not decode frames
correctly because SPS and PPS are not the same as previous caused by
fSPLines is not NULL (see below code) and media field of SDP doesn't be set
again.

It's not exactly a bug, but if you would remove the if condition, it will be
more flexible.


orbit

----

OnDemandServerMediaSubsession::sdpLines
<http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html#e785d4e988a7af95fbcc28f9b6d12930>()
{
   if (fSDPLines
<http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html#fbdba0ca7b4b896c90a61d4e8d1534de>
== NULL <http://www.live555.com/liveMedia/doxygen/html/UsageEnvironment_8hh.html#070d2ce7b6bb7e5c05602aa8c308d0c4>)
{

      .......
   }

 return fSDPLines
<http://www.live555.com/liveMedia/doxygen/html/classOnDemandServerMediaSubsession.html#fbdba0ca7b4b896c90a61d4e8d1534de>;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091211/493aa23f/attachment.html>


More information about the live-devel mailing list