Initially, when debugging your server, you should use "testRTSPClient" - rather 
than VLC - as your RTSP client.  ("testRTSPClient" will tell you a lot more 
about what's going on.)  Please post the output from running "testRTSPClient" 
on your stream.


> The H264VideoVencMediaSubsession::createNewStreamSource returns a 
> H264VideoStreamDiscreteFramer

Please also post the code for your implementation of the "createNewRTPSink()" 
virtual function.  If possible (if you know, in advance, the SPS/PPS NAL units, 
or equivalently the 'sprop-parameter-sets" string, for your stream), you should 
use one of the forms of "H264VideoRTPSink::createNew()" that takes this 
information as a parameter.


> The Video encoder hands VencSource VCL frames that may contain multiple NALs 
> so the deliverFrame strips off the start NAL frame codes finds the end of the 
> NAL unit and delivers one NAL unit per frame delivery.

Good.  That's the right thing to be doing.  Make sure that you're setting 
"fFrameSize" correctly (taking into account that you're not delivering the 
4-byte 'start code'), and, of course, don't forget to call 
"FramedSource::afterGetting(this);" to complete the delivery of each NAL unit.


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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to