pub enum Action {
Send(Box<Envelope>),
ApplyOffer {
binding: WebRtcBinding,
description: Vec<u8>,
},
ApplyAnswer {
binding: WebRtcBinding,
description: Vec<u8>,
},
AddCandidate {
sequence: u32,
candidate: Vec<u8>,
},
OpenControlChannel,
DeliverCfr {
envelope_id: EnvelopeId,
remote_endpoint: Box<EndpointIdentity>,
payload: Vec<u8>,
},
CloseTransport {
reason: CloseCode,
},
}Expand description
An action emitted by the core for an untrusted transport or platform adapter.
Variants§
Send(Box<Envelope>)
Send a signed envelope through any configured signaling or data path.
ApplyOffer
Give an opaque offer description to the selected WebRTC engine.
Fields
binding: WebRtcBindingSigned digest binding exact description and DTLS fingerprint bytes.
ApplyAnswer
Give an opaque answer description to the selected WebRTC engine.
Fields
binding: WebRtcBindingSigned digest binding exact description and DTLS fingerprint bytes.
AddCandidate
Add one opaque ICE candidate to the selected WebRTC engine.
Fields
OpenControlChannel
Ask the adapter to configure/open the fixed reliable ordered FCP control channel.
DeliverCfr
Deliver an exact raw CFR payload with its verified FCP transport origin.
Fields
envelope_id: EnvelopeIdStable identifier of the verified signed FCP envelope carrying this payload.
remote_endpoint: Box<EndpointIdentity>Complete FCP endpoint identity that signed the carrying envelope.
CloseTransport
Close the selected platform connection.