RTP_EOS

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

RTP_EOS

vaisakhn7
Hi,

I was able to stream mp3file through network  using rtp
pipeline is this

Seder
/gst-launch-0.10 -v  filesrc location=1.mp3  ! mad  ! audioconvert !
rtpL16pay  ! udpsink port=10000


Receiver
./gst-launch-0.10 udpsrc port=10000 caps ="application/x-rtp,
media=(string)audio, clock-rate=(int)44100, encoding-name=(string)L16,
channels=(int)2, rate=(int)44100, payload=(int)96"  !   rtpL16depay !
audioconvert ! osssink sync=false
 

And I was able to hear sound clearly

But problem is that Receiver pipeline not  ending...
that is receiver not identifying the End Of Stream (EOS)
How can i do that?
help me?
***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
***** Confidentiality Statement/Disclaimer *****  

This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTP_EOS

Wim Taymans
use gstrtpbin, for example, or use some other mechanism to signal the
end of an RTP stream.

Wim

On Wed, Apr 22, 2009 at 7:18 AM, vaisakh.n <[hidden email]> wrote:

> Hi,
>
> I was able to stream mp3file through network  using rtp
> pipeline is this
>
> Seder
> /gst-launch-0.10 -v  filesrc location=1.mp3  ! mad  ! audioconvert !
> rtpL16pay  ! udpsink port=10000
>
>
> Receiver
> ./gst-launch-0.10 udpsrc port=10000 caps ="application/x-rtp,
> media=(string)audio, clock-rate=(int)44100, encoding-name=(string)L16,
> channels=(int)2, rate=(int)44100, payload=(int)96"  !   rtpL16depay !
> audioconvert ! osssink sync=false
>
>
> And I was able to hear sound clearly
>
> But problem is that Receiver pipeline not  ending...
> that is receiver not identifying the End Of Stream (EOS)
> How can i do that?
> help me?
> ***** Confidentiality Statement/Disclaimer *****
>
> This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
> The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
> ***** Confidentiality Statement/Disclaimer *****
>
> This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
>
> The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel