LiveDataChannelConfigParam interface
Control which Live events an untrusted WebRTC frontend can send and receive over its data channel. These restrictions do not apply to trusted sideband connections.
Properties
| allowed_client_events | Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior. |
| allowed_server_events | Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector. |
Property Details
allowed_client_events
Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.
allowed_client_events?: string[] | "all"
Property Value
string[] | "all"
allowed_server_events
Server events that may be sent to the frontend data channel. Use 'all' to allow every server event; an empty array allows none. Omission preserves the existing allow-all behavior. Responses events use an object with type 'response.event' and a response_event selector.
allowed_server_events?: "all" | LiveAllowedServerEventParam[]
Property Value
"all" | LiveAllowedServerEventParam[]