RTP streaming with SAP

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RTP streaming with SAP

manuk

Hello gstreamer team!

I would like to know if there is a way to stream in using the SAP
Session protocol RFC 2974  (not from RTSP) with gstreamer lib and plugins.

Thanks in advance for your support.
Reply | Threaded
Open this post in threaded view
|

Re: RTP streaming with SAP

Sebastian Dröge-3
On Mo, 2016-04-25 at 00:07 -0700, manuk wrote:
> Hello gstreamer team!
>
> I would like to know if there is a way to stream in using the SAP
> Session protocol RFC 2974  (not from RTSP) with gstreamer lib and
> plugins. 

There is not, but implementing handling for SAP is relatively simple...
and you can then pass the SDP you receive via SAP to sdpsrc or sdpdemux
and it will give you the underlying RTP stream(s).

I have some unpolished Android application for that lying around
somewhere, if you're interested I can put that up somewhere for
reference. It does the SAP part in Java and the playback with
GStreamer.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RTP streaming with SAP

manuk


For more precision, i need to known how can i do that on server side with gstreamer not from client side. Also the server should be able to support the multicast from SAP annoucements.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: RTP streaming with SAP

Sebastian Dröge-3
On Mo, 2016-04-25 at 03:38 -0700, manuk wrote:
>
> For more precision, i need to known how can i do that on server side with
> gstreamer not from client side. Also the server should be able to support
> the multicast from SAP annoucements.

For that you just need to broadcast the SDP in a specific way, the
network part is relatively easy to implement of that.

The SDP part is a bit more tricky, but you can get most of it from
GStreamer with the libgstsdp library. Take a look at the gst-rtsp-
server code, specifically the rtsp-sdp.c file.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment