Update pc/ to not use implicit T* --> scoped_refptr<T> conversion
Bug: webrtc:13464 Change-Id: I729ec2306ec0d6df2e546b5dbb530f57065d60da Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/244090 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35623}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
de6e1b4ffd
commit
e7cc8830ef
@ -333,6 +333,8 @@ class MediaStreamInterface : public rtc::RefCountInterface,
|
||||
virtual rtc::scoped_refptr<VideoTrackInterface> FindVideoTrack(
|
||||
const std::string& track_id) = 0;
|
||||
|
||||
// Takes ownership of added tracks.
|
||||
// TODO(hta): Should take scoped_refptr rather than raw pointer.
|
||||
virtual bool AddTrack(AudioTrackInterface* track) = 0;
|
||||
virtual bool AddTrack(VideoTrackInterface* track) = 0;
|
||||
virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
|
||||
|
||||
Reference in New Issue
Block a user