<!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] Questions about MPEG2 transport
streams</title></head><body>
<blockquote type="cite" cite>I'm currently using openRTSP to receive
MPEG2 transport streams.<br>
I'd rather have N subsessions for N streams, but I'm not responsible
for these servers, so I must stick with TS packets.<br>
<br>
And here are my two questions :<br>
</blockquote>
<blockquote type="cite" cite>
<ul>
<li>Is it possible, in a RTSP client, to select a specific stream
among the others, and only receive this one ?</ul>
</blockquote>
<div><br></div>
<div>No (unless the server happens to explicitly support such an
operation, which ours does not (nor does any other server that I'm
aware of)).</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>
<ul>
<li> I think it's not possible, but maybe you have some code to
so in liveMedia APIs ?</ul>
</blockquote>
<div><br></div>
<div>It would be possible, in principle, to do this with our code, by
subclassing "RTSPServer", and writing your own server-side
filter (sitting between the "ByteStreamFileSource" and the
"MPEG2TransportStreamFramer") that converted the input
Transport Stream to one that contained just the specific substream
that the client had requested.</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>
<ul>
<li>Otherwise, are there some methods available, always on client'
side, to parse a TS packet, list its inner streams, and extract one
?</ul>
</blockquote>
<div><br></div>
<div>No, not in our code.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>