Ah, that makes more sense. Will look at that.

And if I wanted to re-construct an RTSP stream from the SDP definition and the 
buffers of data I've collected from an RTSP client, how would I do that?

Thanks again

Andy



From: live-devel <live-devel-boun...@us.live555.com> on behalf of Ross 
Finlayson <finlay...@live555.com>
Sent: 28 November 2023 11:56
To: LIVE555 Streaming Media - development & use <live-de...@us.live555.com>
Subject: Re: [Live-devel] Retrieving buffers of data from an RTSP derived stream



> On Nov 29, 2023, at 12:41 AM, Andy Hawkins <andy.hawk...@uniguest.com> wrote:
>
> Hi,
>
> I need to set up an RTSP client, and use a custom buffer class for all of the 
> data that is retrieved in order to process it as it comes in.  Similarly, I 
> need to create a servable RTSP stream, and be able to provide buffers of data 
> to it.

I think you’re over-thinking the problem; it’s really quite simple.

For example, look at the code for the “testRTSPClient” demo application (in the 
“testProgs” directory).  Look at the implementation of “DummySink” 
(“testRTSPClient.cpp”, line 508).  You would do the same thing here, except 
that you want to process the data that has just been read (to “fReceiveBuffer”, 
of length “frameSize”).


>> From what I can see by tracing through the using the ProxyServerMediaSession 
>> class

This is a ‘red herring’.  You’re just writing a RTSP client, not a proxy server.


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


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to