#[repr(i32)]pub enum OfferAnswerParameters {
Show 20 variants
Done = 0,
Audio = 1,
Video = 2,
Data = 3,
AudioDirection = 4,
VideoDirection = 5,
AudioCodec = 6,
VideoCodec = 7,
Vp9Profile = 8,
H264Profile = 9,
AudioPayloadType = 10,
VideoPayloadType = 11,
AudioDtmf = 12,
AudioFmtp = 13,
VideoFmtp = 14,
VideoRtcpfbDefaults = 15,
DataLegacy = 16,
AudioExtension = 17,
VideoExtension = 18,
AcceptExtmap = 19,
}Expand description
Parameters controlling SDP offer answering behavior. Used as keys in the parameter list
for janus_sdp_generate_answer. See sdp-utils.h in the Janus source for more details.
Variants§
Done = 0
Used to signal the end of the offer-answer parameter list.
Audio = 1
Whether to accept or reject audio.
Video = 2
Whether to accept or reject video.
Data = 3
Whether to accept or reject data.
AudioDirection = 4
The MediaDirection for the audio stream.
VideoDirection = 5
The MediaDirection for the video stream.
AudioCodec = 6
The AudioCodec for the audio stream.
VideoCodec = 7
The VideoCodec for the video stream.
Vp9Profile = 8
Use this profile for VP9
H264Profile = 9
Use this profile for H.264
AudioPayloadType = 10
The payload type for the audio stream.
VideoPayloadType = 11
The payload type for the video stream.
AudioDtmf = 12
Whether to negotiate telephone events.
AudioFmtp = 13
Add a custom fmtp string for audio
VideoFmtp = 14
Add a custom fmtp string for video @note This property is ignored if Vp9Profile or H264Profile is used on a compliant codec.
VideoRtcpfbDefaults = 15
Whether to add RTCP-FB attributes.
DataLegacy = 16
AudioExtension = 17
VideoExtension = 18
AcceptExtmap = 19
Trait Implementations§
Source§impl Clone for OfferAnswerParameters
impl Clone for OfferAnswerParameters
Source§fn clone(&self) -> OfferAnswerParameters
fn clone(&self) -> OfferAnswerParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more