[Freeswitch-users] Proxy Media and Codec Prefer
Henry Huang
b_ball_henry at hotmail.com
Sun Aug 15 23:00:30 PDT 2010
Michael:
Since what version does this become a default behavior? I was using 1.0.5
and I had to use proxy_media=true for the A -> FS -> B to avoid g729 codec
priority issue. Let me explain:
A has codec priority as g711, g729
FS has codec priority as g711, g729(passthrough)
B has codec priority as g729 , then whatever esle
*Without* proxy media= true:
1. A will negotiate with FS about which codec to use, since they both have
g711 as the first priority, they will agree on using g711 to communicate.
2. Now FS will negotiate codec with B, and since B has g729 as priority, and
FS has g729(passthrough) available, they will agree on using g729 as the
codec.
3. Now the calls will bridge and drop right away since FS does not do codec
translation.
With proxy media = true
1. A will skip FS and negotiate codec with B directly. And they will use
whatever matches they can find, and this will leave FS not worrying about
codec translation at all.
please correct me if the above scenario has been changed in the newer FS.
Thanks,
Henry Huang
Unified Communication System R&D Project Manager
US: +1 (626) 606-3306
Chat Skype: unicsolution MSN: b_ball_henry at hotmail.com
Contact Me [image:
Linkedin]<http://www.linkedin.com/pub/henry-huang/1/654/578>[image:
Facebook] <http://www.facebook.com/profile.php?id=595148342>[image:
Twitter]<http://twitter.com/unicsolution>
On Mon, Aug 16, 2010 at 9:53 AM, Michael Jerris <mike at jerris.com> wrote:
> Proxy media does not handle this case now and the call will fail in the
> same way. We will try to avoid transcoding by default, so I think what you
> are suggesting is already the default action without proxy_media.
>
> On Aug 15, 2010, at 8:48 PM, Sergey Okhapkin wrote:
>
> > But what if endpoints have no common codec and disable-transcoding is
> set?
> > Will FS ignore disable-transcoding parameter?
> >
> > On Sunday 15 August 2010, Michael Jerris wrote:
> >> http://wiki.freeswitch.org/wiki/Codec_negotiation
> >>
> >> disable-transcoding
> >>
> >> On Aug 15, 2010, at 8:07 PM, Sergey Okhapkin wrote:
> >>> To avoid transcoding if both endpoints have common codec, but one of
> >>> endpoints is behind NAT.
> >>>
> >>> On Sunday 15 August 2010, Michael Jerris wrote:
> >>>> I don't think there is ever a reason to use proxy_media anymore. If
> >>>> anyone can provide an example of a good reason to use it I would be
> >>>> interested to hear.
> >>>>
> >>>> On Aug 2, 2010, at 6:25 AM, Sergey Okhapkin wrote:
> >>>>> FS has 3 ways (not 2!) to handle media:
> >>>>>
> >>>>> 1. bypass_media=true - media path is set to run audio directly
> between
> >>>>> leg a and b endpoints. absolute_codec_string variable is ignored in
> >>>>> this mode. 2. proxy_media=true - media is proxied by FS, but without
> >>>>> any transcoding etc, frame in - frame out. absolute_codec_string
> >>>>> variable is ignored in this mode. 3. Neither bypass_media, no
> >>>>> proxy_media variables are set. FS does full media
> handling/transcoding,
> >>>>> absolute_codec_string variable is honored.
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100816/38ae4ccb/attachment-0001.html
More information about the FreeSWITCH-users
mailing list