[Unified Plan] If "a=msid" is missing, create default stream.
Prior to this CL, if the "a=msid" attribute was missing it was treated the same as if "no streams" were explicitly signaled (a=msid:-); the receivers would not be associated with any streams. In order to support legacy endpoints that don't recognize "a=msid" that assume the Plan B behavior of a stream being created anyway, this CL creates a stream with a random ID in such cases. For background, see https://github.com/web-platform-tests/wpt/pull/14054. Bug: chromium:907508 Change-Id: I9d9dd0e4ba8f9941f8652f4d7873adc560777cd9 Reviewed-on: https://webrtc-review.googlesource.com/c/112900 Reviewed-by: Seth Hampson <shampson@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25901}
This commit is contained in:
committed by
Commit Bot
parent
e5e36ddc40
commit
5b1477839d
@ -146,6 +146,7 @@ class RtpReceiverInterface : public rtc::RefCountInterface {
|
||||
BEGIN_SIGNALING_PROXY_MAP(RtpReceiver)
|
||||
PROXY_SIGNALING_THREAD_DESTRUCTOR()
|
||||
PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track)
|
||||
PROXY_CONSTMETHOD0(std::vector<std::string>, stream_ids)
|
||||
PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<MediaStreamInterface>>,
|
||||
streams)
|
||||
PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
|
||||
|
||||
Reference in New Issue
Block a user