Skip to content

merge_pr_8968

Scenarios:
- addTrack() => track stats, with/without calling setLocalDescription()
- addTrack() => stream, stats, with/without setLocalDescription()
- addTrack() => streamStats.trackIds == [ trackStats.id ]
- addStream() => streamStats.trackIds == [ trackStats.id ]

Follow-up CLs should add test coverage for:
- RTCRtpStreamStats (in/outbound, requiring setting up a connection)
- replaceTrack (requiring connection)

Bug: webrtc:8673, webrtc:8616, webrtc:8674
Change-Id: If4e21fe8474ee861965b739ea206f36931fdcb2c
Reviewed-on: https://chromium-review.googlesource.com/859157
Reviewed-by: Harald Alvestrand <[email protected]>
Commit-Queue: Henrik Boström <[email protected]>
Cr-Commit-Position: refs/heads/master@{#528312}
Assets 2
Loading