[Live-devel] problems with DeviceSource and OnDemandServerMediaSubsession

Ross Finlayson finlayson at live555.com
Thu Jul 9 18:31:05 PDT 2009


>I'm trying to create a subclass of DeviceSource, namely
>VideoDeviceSource that extracts the NAL units of an H.264 compressed
>video from a queue and feeds them to a subclass of
>OnDemandServerMediaSubsession called VideoOnDemandServerMediaSubsession .
>
>As client I use openRTSP to fetch the stream. It connects but it never
>receives data. I noticed that VideoDeviceSource::deliverFrame() is never
>called, but I cannot understand why. I suspect it's a problem of
>VideoOnDemandServerMediaSubsession

It's far more likely to just be a problem with your 
"VideoDeviceSource" implementation.

In particular, does every call to your "doGetNextFrame()" 
implementation eventually result in a call to your "deliverFrame()" 
implementation?
-- 

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


More information about the live-devel mailing list