[Freeswitch-users] Hostname vs IP in SDP

Michael Jerris mike at jerris.com
Wed Aug 3 09:10:47 MSD 2016

I have not once in my life seen someone use a hostname instead of an ip in an sdp, and I do not believe it is legal.

> On Aug 2, 2016, at 1:00 PM, Colin Morelli <colin.morelli at gmail.com> wrote:
> Hey all,
> So it looks like WebRTC has issues dealing with hostnames in the SDP instead of IP addresses. Particularly, when including a hostname in the SDP there's no audio in either direction. This is the case in both the latest Firefox + Chrome browsers.
> This is particularly problematic for applications that are WebRTC + mobile, now that Apple is enforcing applications to support IPv6-only networks. Using hostnames in the record-route and SDP addresses meets the requirement since the OS will synthesize an IPv6 address when a DNS query is performed, but according to the documentation they strongly urge applications to avoid using address literals in their applications.
> Has anyone had success with methods to switch between advertising a hostname vs IP address in the SDP? Or other methods for solving this problem?

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list