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

Felix xuwei_felix at yahoo.cn
Fri Mar 28 01:15:06 PDT 2008


Hi all:
   
     I have been trying to stream H264 annexB bytestream with livemedia, and have made little progress these days. 
   My own xH264VideoStreamFramer(subclass of H264VideoStreamFramer) and H264VideoFileServerMediaSubsession have been done.
   
   To check my classes, I modified live555MediaServer, and use it as the server while openRTSP as client for test.
   
   But when running, the bytestream cannot be transported completely. Only the first few datas can be received. What puzzles me more is that the amount of datas received is variational.
   The size of  H264 annexB bytestream file on the server is 70574 Bytes, sometimes the receiver can only receive the first 48KB, or sometimes 68KB. 70574B can rarely been received completely.
   
   I also compare the data received on client with the bytestream file on the serever, and found that these data are just the first part of the bytestream.
   
   I checked the "fOctetCount" member of class "RTPSink", and found that when "MultiFramedRTPSink" call its "onSourceClosure()" function,
   live555MediaServer already sent 70574 Bytes to the client(openRTSP). But on the client, the data received is incomplete and variational.
   
   What might caused this problem? 
   
   Any help will be appreciated!
   
  Best Regards
Felix

       
---------------------------------
 雅虎邮箱,您的终生邮箱!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20080328/11520239/attachment-0001.html 


More information about the live-devel mailing list