Module skyway_webrtc_gateway_api::peer
source · Expand description
/peers api bindings
Structs
Query for POST /peers.
Response from POST /peers
Shows that the Peer Object receives a request to establish MediaConnection with neighbour.
Response from GET /peers/{peer_id}/events
Shows that the Peer Object receives a request to establish DataConnection with neighbour.
Response from GET /peers/{peer_id}/events
Identifier for PeerObject.
Pair of PeerId and Token.
Response from GET /peers/{peer_id}/events
Response from GET /peer/{peer_id}/status
Token to avoid mesuse of Peer.
Enums
Response from GET /peers/{peer_id}/events
Functions
Request to create Peer.
Release PeerObject
Listen an event of a Peer Object.
Listen events of a Peer Object.
Get status of PeerObject