Application Using Gstreamer

Wesley J. Miller WMiller at sdr.com
Mon Sep 19 04:55:23 PDT 2011


If I understand your request correctly, you need to use the GstRtspServer.  You can get the package from where ever you normally download source code.  The RTSP server's front end can be just about anything that creates a stream or streams.  Every stream input must end with an RTPsomekindofPAY payloader and have a payload type specified (usually 96 or higher).  Clients offer to connect to the server which will handle the multiple clients for you.

Clients get the stream in its current state.  Thiss isn't like a movie server where each client starts at frame 0.  It's more like a movie theater where each customer starts watching when he sits down in his theater seat.

Wes



From: Umakant Goyal <umakantgoyal1 at gmail.com<mailto:umakantgoyal1 at gmail.com>>
Reply-To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>>
Date: Sun, 18 Sep 2011 03:45:57 -0400
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>>, Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.net<mailto:gstreamer-devel at lists.sourceforge.net>>
Subject: Application Using Gstreamer

Hi All,

How i can use gstreamer to share a single stream with multiple users by making different Pipelines? Actually, I want to make an application that will perform following tasks:

1. When application will come up, it will create a Pipeline (called Receiving Pipeline) to receive data from peer streaming server over RTP.
2. Once it will be done with Receiving Pipeline (means it will start receiving data from Streaming Server) then it will wait for clients request.
3. Whenever there will be request from client, My App will create a new Pipeline (called serving Pipeline_1) to send the data towards Clients over RTP
   that is being received by Receiving Pipeline.
4. In this way for every new request coming from Client, App will create a new serving Pipeline_x to send data to client coming from Streaming Server.

Now i need to know how data sharing behavior can be implemented using Gstreamer. I have thought about various way but not able to figure out which way will be better:
1. I can multicast the data that is received by Receiving Pipeline and then  serving Pipeline_x will receive the data from multicast address and send to client.
2. I can dump the data into file that is received by Receiving Pipeline and then serving Pipeline_x will read the data from file and send to client.

Can anyone share which technique will be better. If anyone has other idea then please share. Any help would be greaty appreciated.

Thanks in Advance,
Uma

________________________________
CONFIDENTIALITY NOTE:

This e-mail and any attachments are confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110919/0585a5a0/attachment-0001.htm>


More information about the gstreamer-devel mailing list