Membrane.RTC.Engine.deny_peer

You're seeing just the function deny_peer, go back to Membrane.RTC.Engine module for more information.

Specs

deny_peer(pid :: pid(), peer_id :: String.t()) :: :ok

Deny peer from joining to the RTC Engine.

Link to this function

deny_peer(pid, peer_id, data)

View Source

Specs

deny_peer(pid :: pid(), peer_id :: String.t(), [{:data, any()}]) :: :ok

The same as deny_peer/2 but allows for passing any data that will be returned to the client.

This can be used for passing reason of peer refusal.