[asterisk-dev] Separate Audio/Video

Mark Michelson mmichelson at digium.com
Tue Nov 26 10:30:44 CST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131126/100fd625/attachment.html>


More information about the asterisk-dev mailing list