Home > @rainway/native > OutboundStreamOptions
OutboundStreamOptions interface
Options for creating an outbound stream.
Signature:
export interface OutboundStreamOptions
Properties
Property | Type | Description |
---|---|---|
constantDisplayHeight | number | If RainwayResolutionStrategy is RainwayResolutionStrategy.Constant, use this display height. |
constantDisplayWidth | number | If RainwayResolutionStrategy is RainwayResolutionStrategy.Constant, use this display width. |
permissions | RainwayInputLevel | Input 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. |
resolutionStrategy | RainwayResolutionStrategy | Determines 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. |
type | RainwayStreamType | The type of the stream to create. This impacts how the stream captures video content. see RainwayStreamType for more information. |