|
Add support for dynamic channels in WebrtcTransport.
Previously WebrtcTransport clients had to use incoming_channel_factory() to
accept incoming data channels. That worked only if the receiver knows in
advance names of all channels it can receive. Now the transport calls
EventHandler for incoming data channels, which allows the receiver to decide
dynamically if it wants to accept that channel. Also channels now can be
closed dynamically and the transport doesn't terminate connection when one
of the channels is closed.
BUG= 621691
Committed: https://crrev.com/d059c46f227d0a491f0ce2d4b8a302beda5533b3
Cr-Commit-Position: refs/heads/master@{#406639}
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+323 lines, -131 lines) |
Patch |
|
M |
remoting/protocol/channel_dispatcher_base.h
|
View
|
1
|
3 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/channel_dispatcher_base.cc
|
View
|
|
1 chunk |
+16 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/client_video_dispatcher_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_tester.h
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_tester.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/connection_unittest.cc
|
View
|
1
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/ice_connection_to_client.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/ice_connection_to_client.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/ice_connection_to_host.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/ice_connection_to_host.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/message_pipe.h
|
View
|
1
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/message_reader.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/stream_message_pipe_adapter.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/stream_message_pipe_adapter.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_connection_to_client.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_connection_to_client.cc
|
View
|
1
2
|
5 chunks |
+25 lines, -5 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_connection_to_host.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_connection_to_host.cc
|
View
|
|
4 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_data_stream_adapter.h
|
View
|
1
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_data_stream_adapter.cc
|
View
|
1
|
10 chunks |
+75 lines, -60 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_transport.h
|
View
|
1
|
4 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_transport.cc
|
View
|
1
|
4 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/webrtc_transport_unittest.cc
|
View
|
1
2
3
|
14 chunks |
+70 lines, -12 lines |
0 comments
|
Download
|
Total messages: 27 (14 generated)
|