|
Movable support for VideoReceiveStream::Config and avoid copies.
Instead of the default copy constructor, the Copy() method has to be used. In this CL, the number of copies has been reduced significantly in production code. One case in the video engine remains, where we need to restart a video stream. Even in that case, I'm sure we could avoid it, but for this particular CL, I decided against it to keep things simple (and it's also an edge case). Most importantly, creating copies is made harder and the interface encourages ownership transfers.
R=mflodman@webrtc.org, pbos@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/733b5478dd7a150cafa0e5796519ed89d43a78e6
Total comments: 10
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+84 lines, -68 lines) |
Patch |
|
M |
webrtc/call.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/call/bitrate_estimator_tests.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/call/call.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/media/engine/fakewebrtccall.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/media/engine/fakewebrtccall.cc
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
webrtc/media/engine/webrtcvideoengine2.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/media/engine/webrtcvideoengine2.cc
|
View
|
1
2
3
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/media/engine/webrtcvideoengine2_unittest.cc
|
View
|
1
2
|
4 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
|
M |
webrtc/test/call_test.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
webrtc/video/end_to_end_tests.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/video/receive_statistics_proxy.h
|
View
|
1
2
3
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/video/receive_statistics_proxy.cc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
webrtc/video/replay.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/video/rtp_stream_receiver.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
webrtc/video/rtp_stream_receiver.cc
|
View
|
1
2
3
|
4 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
webrtc/video/video_quality_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/video/video_receive_stream.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
webrtc/video/video_receive_stream.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
webrtc/video_receive_stream.h
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 34 (13 generated)
|