2020-03-30 12:00:09 +00:00
|
|
|
/*
|
2020-08-14 16:58:22 +00:00
|
|
|
* Copyright 2020 The WebRTC project authors. All Rights Reserved.
|
2020-03-30 12:00:09 +00:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
*/
|
|
|
|
|
2020-08-14 16:58:22 +00:00
|
|
|
#ifndef API_RTP_TRANSCEIVER_DIRECTION_H_
|
|
|
|
#define API_RTP_TRANSCEIVER_DIRECTION_H_
|
2020-03-30 12:00:09 +00:00
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
2020-08-14 16:58:22 +00:00
|
|
|
// https://w3c.github.io/webrtc-pc/#dom-rtcrtptransceiverdirection
|
|
|
|
enum class RtpTransceiverDirection {
|
|
|
|
kSendRecv,
|
|
|
|
kSendOnly,
|
|
|
|
kRecvOnly,
|
|
|
|
kInactive,
|
|
|
|
kStopped,
|
|
|
|
};
|
2020-03-30 12:00:09 +00:00
|
|
|
|
|
|
|
} // namespace webrtc
|
2020-08-14 16:58:22 +00:00
|
|
|
|
|
|
|
#endif // API_RTP_TRANSCEIVER_DIRECTION_H_
|