<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] subsession->readSource() is
0x0</title></head><body>
<blockquote type="cite" cite>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<br>
<blockquote><font size="-1" color="#800000">subsession</font><font
size="-1" color="#000000">-></font><font size="-1"
color="#800000">sink</font><font size="-1"
color="#000000">-></font><font size="-1">startPlaying<font
color="#000000">(*(</font><font
color="#800000">subsession</font><font
color="#000000">-></font>readSource<font
color="#000000">()),</font> subsessionAfterPlaying<font
color="#000000">,</font><font color="#800000"> subsession</font><font
color="#000000">);</font></font><br>
</blockquote>
</blockquote>
<blockquote type="cite" cite><br>
<font size="-1" color="#800000">subsession</font><font
size="-1" color="#000000">-></font><font size="-1">readSource<font
color="#000000">() returns a null pointer so, how can make it right
?</font></font></blockquote>
<div><br></div>
<div>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.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>