[Live-devel] Why H264 annexB bytestream transported incompletely?

Ross Finlayson finlayson at live555.com
Mon Mar 31 01:29:44 PDT 2008


>  >    On the client, I just added one sentence in MediaSession.cpp's 
>>  MediaSession::lookupPayloadFormat():
>>
>>          case 96: {temp = "H264"; freq = 90000; nCh = 1; break;}

This is completely wrong.  96 is a dynamic RTP payload format code; 
it does *not* have a static definition.

The SDP description retrieved from the server (using the RTSP 
"DESCRIBE" command) should contain sufficient information (using a 
"a=rtpmap:96 ..." line) to describe the RTP payload format.
-- 

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


More information about the live-devel mailing list