[Live-devel] startPlaying - stopPlaying - startPlaying issues

Ross Finlayson finlayson at live555.com
Wed Oct 5 12:26:38 PDT 2005


>1) If my RTPSource is a MultiFramedRTPSource (e.g H263plusVideoRTPSource):
>  -the first sink->startPlaying(source) calls 
> RTPInterface->startNetworkReading : OK
>  -then, the sink->stopPlaying() call does 
> RTPInterface->stopNetworkReading : OK
>  -then, the second sink->startPlaying doesn't call 
> RTPInterface->startNetworkReading : NOK !
>  This is because variable "fAreDoingNetworkReads" is never set to 
> False except when the source is created or deleted. IMO, it should 
> be set to False in MultiFramedRTPSource::doStopGettingFrames(). Is 
> that right ??

Yes, that was a bug.


>2) if my Source is an AMRDeinterleaver, the 
>RTPInterface->startNetworkReading is done by the related 
>rawAMRRTPSource when my sink starts playing, but the 
>RTPInterface->stopNetworkReading is never done when I stop playing. 
>This is because AMRDeinterleaver is not inherited from 
>MultiFramedRTPSource but from FramedSource whose doStopGettingFrames 
>does nothing. I guess something is missing regarding the 
>RTPInterface when stopPlaying is called. Do you agree ?

Yes, that's another bug.  The "AMRDeinterleaver" class should have 
reimplemented the virtual function "doStopGettingFrames()" (by 
calling "stopGettingFrames()" on the input source ("RawAMRRTPSource").

I've now installed a new version (2005.10.05) that fixes both of 
these bugs.  Thanks for reporting these.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list