Name change from stream label to stream id for spec compliance.
Bug: webrtc:7932
Change-Id: I66f33597342394083256f050cac2a00a68042302
Reviewed-on: https://webrtc-review.googlesource.com/59280
Commit-Queue: Seth Hampson <shampson@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22276}
diff --git a/api/mediastreaminterface.h b/api/mediastreaminterface.h
index b7ba332..e2412de 100644
--- a/api/mediastreaminterface.h
+++ b/api/mediastreaminterface.h
@@ -313,8 +313,10 @@
class MediaStreamInterface : public rtc::RefCountInterface,
public NotifierInterface {
public:
- // TODO(steveanton): This could be renamed to id() to match the spec.
- virtual std::string label() const = 0;
+ // TODO(shampson): Remove once downstreams are updated to use id().
+ virtual std::string label() const;
+ // TODO(shampson): Make pure virtual once downstreams have implemented.
+ virtual std::string id() const;
virtual AudioTrackVector GetAudioTracks() = 0;
virtual VideoTrackVector GetVideoTracks() = 0;