Option
The Option class gathers customizable options for a stream.
Properties
The audio codec to use. By default, the SDK uses Opus.
The bitrate settings for publishing streams.
A boolean indicating which strategy the use in order to limit the bandwidth usage.
The priority of redundant streams that indicates the order in which backup streams should be broadcasted in the case of any problems with the primary stream. The higher the priority, the greater the chance of publishing the stream. The priority has to be an integer between -2,147,483,648 and 2,147,483,647 (inclusive).
A boolean indicating whether the SDK should enable stream recording. Recording streams is possible only when recording is enabled in the publish token.
A custom file path output for the RTC events. The current calling application must have the rights upon the destination file path.
The rate at which you want to receive reports with statistics.
The video codec to use. By default, the SDK uses VP8.