HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK - Peer.setPermissions()

Home > rainway-sdk-native > Peer > setPermissions

Peer.setPermissions() method

Sets the stream config for this Peer.

Signature:

setPermissions(stream: StreamId, inputLevel: RainwayInputLevel): void;

Parameters

ParameterTypeDescription
streamStreamIdStream for which we are to modify permissions.
inputLevelRainwayInputLevelThe new input level.

Returns:

void