[asterisk-dev] Separate Audio/Video

Sergio Muñoz smtello at gmail.com
Tue Nov 26 14:26:34 CST 2013


Hello,

In my case it would be, device “A” makes a SIP call, Asterisk receives and
modifies the SDP, then Asterisk sends the audio (RTP) to device “B” and the
video (RTP) to device “C”.

Can Asterisk modify the SDP? ... how?

Thanks!


2013/11/26 Mark Michelson <mmichelson at digium.com>

>  On 11/25/2013 01:58 PM, Sergio Muñoz wrote:
>
>  Hello,
>
>  I'm trying to separate the audio from video in asterisk, a device that
> gets the audio and video on another device. Can anyone help me where I can
> change in Asterisk?, Or is it better to create a new application, AGI, AMI,
> SIPSERVLET ...?
>
>  Thanks!
>
>
> I don't know a lot about what you're doing, but if you're doing SIP calls
> and you can craft the SDP that you send to Asterisk, then you can put
> different connection (c=) lines in the SDP media sections for audio and
> video. That way, the RTP layer in Asterisk will automatically send your
> audio to the destination in the audio section and your video to the
> destination in the video section.
>
> Even if you send the audio and video to the same IP address, with RTP the
> audio and video will be sent to different ports, so in a way they already
> are separated.
>
> Mark Michelson
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131126/bc2a3a88/attachment.html>


More information about the asterisk-dev mailing list