#include "pc/rtp_media_utils.h"
#include "rtc_base/checks.h"
namespace webrtc {
RtpTransceiverDirection RtpTransceiverDirectionFromSendRecv(bool send,
bool recv) { … }
bool RtpTransceiverDirectionHasSend(RtpTransceiverDirection direction) { … }
bool RtpTransceiverDirectionHasRecv(RtpTransceiverDirection direction) { … }
RtpTransceiverDirection RtpTransceiverDirectionReversed(
RtpTransceiverDirection direction) { … }
RtpTransceiverDirection RtpTransceiverDirectionWithSendSet(
RtpTransceiverDirection direction,
bool send) { … }
RtpTransceiverDirection RtpTransceiverDirectionWithRecvSet(
RtpTransceiverDirection direction,
bool recv) { … }
const char* RtpTransceiverDirectionToString(RtpTransceiverDirection direction) { … }
RtpTransceiverDirection RtpTransceiverDirectionIntersection(
RtpTransceiverDirection lhs,
RtpTransceiverDirection rhs) { … }
}