Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Unified Diff: webrtc/api/peerconnection.h

Issue 2224563004: Add signaling to support ICE renomination. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnection.h
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
index c4a9a60053db82ca9976340412334e70bae55a59..d3426e614c75dabd43222c6a79221b9bca60b504 100644
--- a/webrtc/api/peerconnection.h
+++ b/webrtc/api/peerconnection.h
@@ -239,6 +239,10 @@ class PeerConnection : public PeerConnectionInterface,
const RTCOfferAnswerOptions& options,
cricket::MediaSessionOptions* session_options);
+ void InitializeMediaSessionOptions(
+ bool is_offer,
+ cricket::MediaSessionOptions* session_options);
+
// Helper function for options processing.
// Deprecated.
virtual void FinishOptionsForAnswer(
@@ -371,6 +375,12 @@ class PeerConnection : public PeerConnectionInterface,
// This function should only be called from the worker thread.
void StopRtcEventLog_w();
+ cricket::TransportOptions MakeTransportOptions() {
+ cricket::TransportOptions options;
+ options.ice_renomination = ice_renomination_;
+ return options;
+ }
+
// Storing the factory as a scoped reference pointer ensures that the memory
// in the PeerConnectionFactoryImpl remains available as long as the
// PeerConnection is running. It is passed to PeerConnection as a raw pointer.
@@ -414,6 +424,8 @@ class PeerConnection : public PeerConnectionInterface,
bool remote_peer_supports_msid_ = false;
+ bool ice_renomination_ = false;
+
std::vector<rtc::scoped_refptr<RtpSenderProxyWithInternal<RtpSenderInternal>>>
senders_;
std::vector<
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698