RTP-GStreamer

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

RTP-GStreamer

vaisakhn7
Hi,
I was able send audio to other pc on network via RTP
by this pipeline
./gst-launch -v osssrc device=/dev/dsp !
audio/x-raw-int,rate=16000,channels=1,depth=16 ! audioconvert !  
vorbisenc  ! rtpvorbispay ! udpsink host=ip  port=5004

In receiver ./gst-launch-0.10 udpsrc port=5004 caps = " a  long string "
  !  rtpvorbisdepay ! vorbisdec ! audioconvert ! osssink  sync=false



But in The Receiver I need to copy the long string as caps ( from sender
side )  to hear sound ......
Is there any other way  (ie ,Other than copying the string from sender
side )
please help me?
Advance Thanks
 Vaisakh.  

***** 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.


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTP-GStreamer

ved kpl
Hi,

The "long string" is actually the codec config data needed by the
decoder for initialization.
Normally, there exists a  protocol above that to handle it, like RTSP
which sends this info
in SDP in response to a DESCRIBE request.

~ Regards
Vikram

On Fri, Mar 27, 2009 at 4:56 PM, vaisakh.n <[hidden email]> wrote:

> Hi,
> I was able send audio to other pc on network via RTP
> by this pipeline
> ./gst-launch -v osssrc device=/dev/dsp !
> audio/x-raw-int,rate=16000,channels=1,depth=16 ! audioconvert !
> vorbisenc  ! rtpvorbispay ! udpsink host=ip  port=5004
>
> In receiver ./gst-launch-0.10 udpsrc port=5004 caps = " a  long string "
>  !  rtpvorbisdepay ! vorbisdec ! audioconvert ! osssink  sync=false
>
>
>
> But in The Receiver I need to copy the long string as caps ( from sender
> side )  to hear sound ......
> Is there any other way  (ie ,Other than copying the string from sender
> side )
> please help me?
> Advance Thanks
>  Vaisakh.
>
> ***** 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.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel