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
47
48
49
50
51
52
//! Where a key-frame request came from (a fork addition: webrtc-encoded-transform's
//! `keyframerequest` has no origin).
use crateRTCRtpSenderId;
/// A key-frame request for one encoding of a sender, with where it came from: the payload of
/// [`RTCPeerConnectionEvent::OnKeyFrameRequestOrigin`](super::RTCPeerConnectionEvent::OnKeyFrameRequestOrigin).
///
/// Not a W3C type. Fields may be added (the struct is `#[non_exhaustive]`): read them by name
/// and match it with `..`.
/// Who asked for a key frame: the remote peer (and with which message), or this endpoint's
/// own interceptor chain.
///
/// The origin is carried from where the request is made: the engine's own requests are
/// Picture Loss Indications that carry an
/// [`interceptor::LocalKeyFrameRequest`] attribute from the interceptor that made them, and
/// every request without one came from the network. A remote peer's PLI with sender SSRC 0
/// (an SSRC is any 32-bit number, RFC 3550 section 8.1) is still `RemotePictureLossIndication`.