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

Issue 1999853002: Forward the SignalFirstPacketReceived to RtpReceiver. (Closed)

Created:
4 years, 7 months ago by Zhi Huang
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Forward the SignalFirstPacketReceived to RtpReceiver. The RtpReceiverObserverInterface is created. The SignalFirstPacketReceived will be forwarded from BaseChannel to WebRtcSession. WebRtcSession will forward SignalFirstAudioPacketReceived and SignalFirstVideoPacketReceived to the RtpReceiverInterface. The application can listen to the Signal by implementing and registering a RtpReceiverObserver. Committed: https://crrev.com/184a3fd6489b2602a21c415cad3c51a7b035040b Cr-Commit-Position: refs/heads/master@{#13139}

Patch Set 1 #

Patch Set 2 : Make the destructor of RtpReceiverObserverInterface virtual. #

Total comments: 28

Patch Set 3 : Add media type to BaseChannel. #

Total comments: 21

Patch Set 4 : Modification based on CR comments. Modified the peerconnection_unittest. Rename some parameters. #

Total comments: 3

Patch Set 5 : Modified the unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -2 lines) Patch
M webrtc/api/mediastreamprovider.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/api/peerconnection_unittest.cc View 1 2 3 4 7 chunks +77 lines, -0 lines 0 comments Download
M webrtc/api/rtpreceiver.h View 1 2 3 5 chunks +20 lines, -2 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 1 2 3 4 chunks +36 lines, -0 lines 0 comments Download
M webrtc/api/rtpreceiverinterface.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 4 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Zhi Huang
This CL works fine on the Callee side. If we want to make it work ...
4 years, 7 months ago (2016-05-20 18:48:36 UTC) #2
pthatcher2
https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode156 webrtc/api/peerconnection_unittest.cc:156: void onFirstPacketReceived(cricket::MediaType media_type) override { OnFirstPacketReceived https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode812 webrtc/api/peerconnection_unittest.cc:812: RtpReceiverObservers() ...
4 years, 7 months ago (2016-05-20 20:23:14 UTC) #4
zhihuang1
https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/peerconnection_unittest.cc#newcode812 webrtc/api/peerconnection_unittest.cc:812: RtpReceiverObservers() { On 2016/05/20 20:23:13, pthatcher2 wrote: > rtp_receiver_observers() ...
4 years, 7 months ago (2016-05-24 01:01:44 UTC) #6
pthatcher1
https://codereview.webrtc.org/1999853002/diff/40001/webrtc/api/peerconnection_unittest.cc File webrtc/api/peerconnection_unittest.cc (right): https://codereview.webrtc.org/1999853002/diff/40001/webrtc/api/peerconnection_unittest.cc#newcode151 webrtc/api/peerconnection_unittest.cc:151: MockRtpReceiverObserver() I'd suggest just passing the kind (or expected ...
4 years, 6 months ago (2016-06-08 17:35:56 UTC) #7
Zhi Huang
https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/rtpreceiver.cc File webrtc/api/rtpreceiver.cc (right): https://codereview.webrtc.org/1999853002/diff/20001/webrtc/api/rtpreceiver.cc#newcode91 webrtc/api/rtpreceiver.cc:91: rtp_receiver_observer_ = observer; On 2016/05/20 20:23:13, pthatcher2 wrote: > ...
4 years, 6 months ago (2016-06-09 00:37:36 UTC) #9
pthatcher1
lgtm You can update the stylistic suggestion if you'd like, but it doesn't need another ...
4 years, 6 months ago (2016-06-13 23:27:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999853002/80001
4 years, 6 months ago (2016-06-14 17:49:12 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-14 18:47:18 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 18:47:24 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/184a3fd6489b2602a21c415cad3c51a7b035040b
Cr-Commit-Position: refs/heads/master@{#13139}

Powered by Google App Engine
This is Rietveld 408576698