[Live-devel] MPEG4VideoStreamFramer and MPEG4VideoStreamDiscreteFramer questions

Ross Finlayson finlayson at live555.com
Sun Oct 28 18:24:44 PDT 2007


>thank you for your answer, I've followed your suggestion.
>I've discovered that the streams differ only in the header part and,
>sniffing with wireshark, I've found out that the error is due to a wrong
>SDP produced by MPEG4VideoStreamDiscreteFramer.
>
>In fact using MPEG4VideoStreamFramer the fmtp part of the SDP line is:
>
>fmtp:96 profile-level-id=245; 
>config=000001B0F5000001B50900000100000001200084400668A021E0A31F
>
>and the config is correct (and the stream correctly played), while using
>MPEG4VideoStreamDiscreteFramer I get:
>
>fmtp:96 profile-level-id=245; 
>config=000001B0F5000001B50900000100000001200084400668A021
>
>and, as you can see, the config is incomplete.

Thanks for the detailed report.  This allowed me to identify a bug in 
"MPEG4VideoStreamDiscreteFramer.cpp" that was causing your problem.

On line 86 of this file, change
	fNumConfigBytes = i-3;
to
	fNumConfigBytes = i < frameSize ? i-3 : frameSize;
This should fix your problem.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list