[Live-devel] Retrieving buffers of data from an RTSP derived stream

Andy Hawkins Andy.Hawkins at uniguest.com
Tue Nov 28 05:57:33 PST 2023


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-bounces at us.live555.com> on behalf of Ross Finlayson <finlayson at live555.com>
Sent: 28 November 2023 11:56
To: LIVE555 Streaming Media - development & use <live-devel at 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.Hawkins at 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 at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list