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

Unified Diff: remoting/protocol/connection_to_client.h

Issue 1852033002: Fix WebRTC transport to use single offer-answer exchange instead of two. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_cast
Patch Set: Created 4 years, 8 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
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 09ac21b4d1ded7f0c2accb13c10c8f6733cf3b81..aa17c895e3611a6507897b8a124ecc08fdb9a5a5 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -41,6 +41,10 @@ class ConnectionToClient {
// Called when the network connection is authenticated.
virtual void OnConnectionAuthenticated(ConnectionToClient* connection) = 0;
+ // Called to request creation of video streams. May be called before or
+ // after OnConnectionChannelsConnected().
+ virtual void CreateVideoStreams(ConnectionToClient* connection) = 0;
+
// Called when the network connection is authenticated and all
// channels are connected.
virtual void OnConnectionChannelsConnected(

Powered by Google App Engine
This is Rietveld 408576698