Home > rainway-sdk-native > Peer > setPermissions
Peer.setPermissions() method
Sets the stream config for this Peer.
Signature:
setPermissions(stream: StreamId, inputLevel: RainwayInputLevel): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| stream | StreamId | Stream for which we are to modify permissions. |
| inputLevel | RainwayInputLevel | The new input level. |
Returns:
void
