diff options
Diffstat (limited to 'app/webrtc/webrtcsdp.cc')
-rw-r--r-- | app/webrtc/webrtcsdp.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/webrtc/webrtcsdp.cc b/app/webrtc/webrtcsdp.cc index 23b8f3d..c7b34c4 100644 --- a/app/webrtc/webrtcsdp.cc +++ b/app/webrtc/webrtcsdp.cc @@ -206,7 +206,9 @@ static const char kMediaPortRejected[] = "0"; // draft-ietf-mmusic-trickle-ice-01 // When no candidates have been gathered, set the connection // address to IP6 ::. -static const char kDummyAddress[] = "::"; +// TODO(perkj): FF can not parse IP6 ::. See http://crbug/430333 +// Use IPV4 per default. +static const char kDummyAddress[] = "0.0.0.0"; static const char kDummyPort[] = "9"; // RFC 3556 static const char kApplicationSpecificMaximum[] = "AS"; @@ -675,7 +677,7 @@ static void GetDefaultDestination( const std::vector<Candidate>& candidates, int component_id, std::string* port, std::string* ip, std::string* addr_type) { - *addr_type = kConnectionIpv6Addrtype; + *addr_type = kConnectionIpv4Addrtype; *port = kDummyPort; *ip = kDummyAddress; int current_preference = kPreferenceUnknown; |