Chromium Code Reviews| Index: webrtc/p2p/base/transportdescriptionfactory.cc |
| diff --git a/webrtc/p2p/base/transportdescriptionfactory.cc b/webrtc/p2p/base/transportdescriptionfactory.cc |
| index b431eaaa1be62a6c1d1f802d771e42a28d075600..856ad461262f50ed6e593f488bbd04a50202c286 100644 |
| --- a/webrtc/p2p/base/transportdescriptionfactory.cc |
| +++ b/webrtc/p2p/base/transportdescriptionfactory.cc |
| @@ -37,8 +37,9 @@ TransportDescription* TransportDescriptionFactory::CreateOffer( |
| desc->ice_ufrag = current_description->ice_ufrag; |
| desc->ice_pwd = current_description->ice_pwd; |
| } |
| + desc->AddOption(ICE_OPTION_TRICKLE); |
|
pthatcher1
2017/04/21 01:09:54
And rename AddOption to AddIceOption
|
| if (options.enable_ice_renomination) { |
| - desc->AddOption(ICE_RENOMINATION_STR); |
| + desc->AddOption(ICE_OPTION_RENOMINATION); |
| } |
| // If we are trying to establish a secure transport, add a fingerprint. |
| @@ -75,8 +76,9 @@ TransportDescription* TransportDescriptionFactory::CreateAnswer( |
| desc->ice_ufrag = current_description->ice_ufrag; |
| desc->ice_pwd = current_description->ice_pwd; |
| } |
| + desc->AddOption(ICE_OPTION_TRICKLE); |
| if (options.enable_ice_renomination) { |
| - desc->AddOption(ICE_RENOMINATION_STR); |
| + desc->AddOption(ICE_OPTION_RENOMINATION); |
| } |
| // Negotiate security params. |