HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Node.js SDK - OutboundStreamOptions

Home > @rainway/native > OutboundStreamOptions

OutboundStreamOptions interface

Options for creating an outbound stream.

Signature:

export interface OutboundStreamOptions 

Properties

PropertyTypeDescription
constantDisplayHeightnumberIf RainwayResolutionStrategy is RainwayResolutionStrategy.Constant, use this display height.
constantDisplayWidthnumberIf RainwayResolutionStrategy is RainwayResolutionStrategy.Constant, use this display width.
permissionsRainwayInputLevelInput permissions to grant the remote peer the ability to transmit. By default, no input permissions are granted.
processIds?number[](Optional) The process ids to isolate the stream to. Requires that is RainwayStreamType.AppIsolation.
resolutionStrategyRainwayResolutionStrategyDetermines how the display resolution is set at the start of the stream.By default, the display resolution is left unchanged. After the stream, the original resolution will be restored.
typeRainwayStreamTypeThe type of the stream to create. This impacts how the stream captures video content. see RainwayStreamType for more information.