|
|
DescriptionRemove RtpDemuxer tweak for preventing multiple RSID inspections
We have a tweak preventing multiple deep-examinations of packets; packets with a given SSRC are only inspected deeply (RSID) once (only the first received packet). Once we move to many-to-one stream-to-sink associations, this becomes less useful, and is better removed.
BUG=webrtc:7135
Review-Url: https://codereview.webrtc.org/2955373002
Cr-Commit-Position: refs/heads/master@{#18859}
Committed: https://chromium.googlesource.com/external/webrtc/+/9addbebf427a8a49cd5a43cf4827c7c8b6e24c21
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebased #Patch Set 3 : Fix test warning. #
Dependent Patchsets: Messages
Total messages: 28 (13 generated)
eladalon@webrtc.org changed reviewers: + danilchap@webrtc.org, nisse@webrtc.org
PTAL
Description was changed from ========== Remove RtpDemuxer tweak for preventing multiple RSID inspections We have a tweak preventing multiple deep-examinations of packets; packets with a given SSRC are only inspected deeply (RSID) once (only the first received packet). Once we move to many-to-one stream-to-sink associations, this becomes less useful, and is better removed. BUG=BUG=webrtc:7135 ========== to ========== Remove RtpDemuxer tweak for preventing multiple RSID inspections We have a tweak preventing multiple deep-examinations of packets; packets with a given SSRC are only inspected deeply (RSID) once (only the first received packet). Once we move to many-to-one stream-to-sink associations, this becomes less useful, and is better removed. BUG=webrtc:7135 ==========
lgtm
https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc#ne... webrtc/call/rtp_demuxer.cc:65: ResolveRsidToSsrcAssociations(packet); may be add if (!rsid_sinks_.empty()) as a fast check. (may be consider it a preliminary optimization and do not)
https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc#ne... webrtc/call/rtp_demuxer.cc:65: ResolveRsidToSsrcAssociations(packet); On 2017/06/28 16:51:34, danilchap OOO until July17 wrote: > may be add if (!rsid_sinks_.empty()) as a fast check. > (may be consider it a preliminary optimization and do not) Would need to also check for no RSID resolution observers. Then again, as we've discussed, we only expect such observers when rsid_sinks_ is not empty here... I feel that this gives the class too many undocumented assumptions about the way it's used, though. I'd like to postpone thinking about this until we've removed many-to-many support, added MID/PlType demuxing, etc.
eladalon@webrtc.org changed reviewers: + stefan@webrtc.org
rs-lgtm, but you should probably have nisse's stamp as well before landing...
lgtm https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc#ne... webrtc/call/rtp_demuxer.cc:102: NotifyObserversOfRsidResolution(rsid, packet.Ssrc()); Does this mean we also get one callback to the observer(s) per packet? Sounds excessive, but ok if this is going to be fixed soon when you change from multimap to map.
https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2955373002/diff/1/webrtc/call/rtp_demuxer.cc#ne... webrtc/call/rtp_demuxer.cc:102: NotifyObserversOfRsidResolution(rsid, packet.Ssrc()); On 2017/06/29 14:59:43, nisse-webrtc (ooo August 14) wrote: > Does this mean we also get one callback to the observer(s) per packet? > > Sounds excessive, but ok if this is going to be fixed soon when you change from > multimap to map. Yes and yes.
The CQ bit was checked by eladalon@webrtc.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/9265)
The CQ bit was checked by eladalon@webrtc.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/9271)
The CQ bit was checked by eladalon@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from nisse@webrtc.org, danilchap@webrtc.org, stefan@webrtc.org Link to the patchset: https://codereview.webrtc.org/2955373002/#ps40001 (title: "Fix test warning.")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/18738)
The CQ bit was checked by eladalon@webrtc.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1498827227762070, "parent_rev": "49085ef280db84e47f41a06a247db56c70f6f037", "commit_rev": "9addbebf427a8a49cd5a43cf4827c7c8b6e24c21"}
Message was sent while issue was closed.
Description was changed from ========== Remove RtpDemuxer tweak for preventing multiple RSID inspections We have a tweak preventing multiple deep-examinations of packets; packets with a given SSRC are only inspected deeply (RSID) once (only the first received packet). Once we move to many-to-one stream-to-sink associations, this becomes less useful, and is better removed. BUG=webrtc:7135 ========== to ========== Remove RtpDemuxer tweak for preventing multiple RSID inspections We have a tweak preventing multiple deep-examinations of packets; packets with a given SSRC are only inspected deeply (RSID) once (only the first received packet). Once we move to many-to-one stream-to-sink associations, this becomes less useful, and is better removed. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2955373002 Cr-Commit-Position: refs/heads/master@{#18859} Committed: https://chromium.googlesource.com/external/webrtc/+/9addbebf427a8a49cd5a43cf4... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/9addbebf427a8a49cd5a43cf4... |