1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/// RTP header extension capability.
///
/// Defines an RFC 5285 RTP header extension supported by a codec.
///
/// ## Specifications
///
/// * [W3C](https://www.w3.org/TR/webrtc/#dom-rtcrtpcapabilities-headerextensions)
/// An RTP header extension with the direction this transceiver negotiates it in
/// (webrtc-extensions 4.1: `RTCRtpHeaderExtensionCapability` with its `direction` member; the
/// items of `[[HeaderExtensionsToNegotiate]]` and `[[NegotiatedHeaderExtensions]]`).
///
/// `direction` is from this side's point of view; `Stopped` means not negotiated.
/// `Inactive` is offered as `a=extmap:<id>/inactive`.
/// How offers signal a header extension with respect to header extension encryption (RFC
/// 6904); see [`MediaEngine::set_header_extension_encryption`].
///
/// [`MediaEngine::set_header_extension_encryption`]: crate::peer_connection::configuration::media_engine::MediaEngine::set_header_extension_encryption