|
Interface with webrtc through encoded frames
This change introduces a refactor to provide encoded frames to
webrtc. As a result, frame scheduling for capture and encoding
is taken care of by remoting itself. The current interface to webrtc
should eventually improve than what exists now.
The frame scheduling is a simple poll at 30 FPS in this change. The
improvement over previous change is that we only report frames
that are not changed and avoid all the frame dropping issues through
camera pipeline.
The tests are broken for webrtc prototype due to failure to measure
network bandwidth over the simulated interface and need to be fixed
for proper comparison. We still need to investigate latency issues as
well.
Committed: https://crrev.com/87c2fbdcfdab62ae44f43a171804762f64b276a2
Cr-Commit-Position: refs/heads/master@{#387096}
Total comments: 40
Total comments: 7
Total comments: 14
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+836 lines, -441 lines) |
Patch |
 |
M |
remoting/client/software_video_renderer_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/codec/codec_test.cc
|
View
|
1
2
3
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder.h
|
View
|
1
2
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder_verbatim.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder_verbatim.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder_vpx.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder_vpx.cc
|
View
|
1
2
|
6 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/codec/video_encoder_vpx_unittest.cc
|
View
|
1
2
3
|
7 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
remoting/host/chromoting_host.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/proto/video.proto
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/connection_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/video_frame_pump.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/video_frame_pump_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_connection_to_client.h
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_connection_to_client.cc
|
View
|
1
2
|
6 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_dummy_video_capturer.h
|
View
|
1
2
3
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_dummy_video_capturer.cc
|
View
|
1
2
3
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_frame_scheduler.h
|
View
|
1
2
3
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_frame_scheduler.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+181 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_transport.h
|
View
|
1
2
|
6 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_transport.cc
|
View
|
1
2
3
|
6 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
D |
remoting/protocol/webrtc_video_capturer_adapter.h
|
View
|
1
2
|
1 chunk |
+0 lines, -102 lines |
0 comments
|
Download
|
 |
D |
remoting/protocol/webrtc_video_capturer_adapter.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -245 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_video_encoder.h
|
View
|
1
2
3
4
5
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/protocol/webrtc_video_encoder.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+221 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_video_renderer_adapter.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_video_stream.h
|
View
|
1
2
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/webrtc_video_stream.cc
|
View
|
1
2
|
4 chunks |
+30 lines, -22 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_srcs.gypi
|
View
|
1
2
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/test/codec_perftest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/test/test_video_renderer_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 27 (12 generated)
|