RID parsing for Simulcast support.
Adding RidDescription to StreamParams that will contain the list of rids
for the track.
Adding receive_stream to MediaContentDescription to allow identifying
the stream that originates from the answerer (but is referenced by the
sender). For example, to signal that it will be received in Simulcast.
Bug: webrtc:10073.
Change-Id: Icd9a6b0a69d42bef51f525e673ce447255584334
Reviewed-on: https://webrtc-review.googlesource.com/c/113794
Commit-Queue: Amit Hilbuch <amithi@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25978}
diff --git a/pc/simulcastdescription.h b/pc/simulcastdescription.h
index f4708ff..9f15f78 100644
--- a/pc/simulcastdescription.h
+++ b/pc/simulcastdescription.h
@@ -70,6 +70,10 @@
size_t size() const { return list_.size(); }
bool empty() const { return list_.empty(); }
+ // Provides access to all the layers in the simulcast without their
+ // association into groups of alternatives.
+ std::vector<SimulcastLayer> GetAllLayers() const;
+
private:
// TODO(amithi, bugs.webrtc.org/10075):
// Validate that rids do not repeat in the list.