[Live-devel] subsession->readSource() is 0x0

Ross Finlayson finlayson at live555.com
Sat Jun 11 08:27:03 PDT 2011


>I'm trying to use live555 to make an rtsp client. So, I think i'm 
>really close to succeed but I'm getting errors. When I call
>
>subsession->sink->startPlaying(*(subsession->readSource()), 
>subsessionAfterPlaying, subsession);
>
>
>  subsession->readSource() returns a null pointer so, how can make it right ?

You're probably forgetting to call "MediaSession::initiate()" (after 
doing the RTSP "DESCRIBE", but before doing the RTSP "SETUP"). 
That's the function that creates the "readSource()" pointers.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110611/bd0be4cd/attachment.html>


More information about the live-devel mailing list