Deprecate non-refcount CreateVideoTrack
Bug: webrtc:15017 Change-Id: I978a14dcb2fac7777a12c3f89b1a7207dd896b37 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299075 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39700}
This commit is contained in:
parent
f21cdb0afa
commit
d32e5b3078
@ -1555,9 +1555,7 @@ class RTC_EXPORT PeerConnectionFactoryInterface
|
||||
virtual rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack(
|
||||
rtc::scoped_refptr<VideoTrackSourceInterface> source,
|
||||
absl::string_view label) = 0;
|
||||
// TODO(bugs.webrtc.org/15017): Deprecate this function once Chrome
|
||||
// has been updated - it can't land as deprecated.
|
||||
// ABSL_DEPRECATED("Use version with scoped_refptr")
|
||||
ABSL_DEPRECATED("Use version with scoped_refptr")
|
||||
virtual rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack(
|
||||
const std::string& label,
|
||||
VideoTrackSourceInterface* source) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user