mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
Deprecate RtpTransceiver.setDirection()
This is part of the work to add a return value to the function. Bug: chromium:980879 Change-Id: Ifa5e491a6b493a927da9783f23bf9f44be81aa8a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181863 Reviewed-by: Guido Urdaneta <guidou@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31950}
This commit is contained in:
parent
8be2f201ba
commit
7dbcf9923f
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ class RTC_EXPORT RtpTransceiverInterface : public rtc::RefCountInterface {
|
|||
// https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiver-direction
|
||||
// TODO(hta): Deprecate SetDirection without error and rename
|
||||
// SetDirectionWithError to SetDirection, remove default implementations.
|
||||
virtual void SetDirection(RtpTransceiverDirection new_direction);
|
||||
RTC_DEPRECATED virtual void SetDirection(
|
||||
RtpTransceiverDirection new_direction);
|
||||
virtual RTCError SetDirectionWithError(RtpTransceiverDirection new_direction);
|
||||
|
||||
// The current_direction attribute indicates the current direction negotiated
|
||||
|
|
Loading…
Reference in a new issue