LiveInjectStreamConfig class Null safety

Configuration of the imported live broadcast voice or video stream.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LiveInjectStreamConfig({int? width, int? height, int? videoGop, VideoFrameRate? videoFramerate, int? videoBitrate, AudioSampleRateType? audioSampleRate, int? audioBitrate, AudioChannel? audioChannels})
Constructs a LiveInjectStreamConfig

Properties

audioBitrate int?
Audio bitrate of the added stream to the broadcast. The default value is 48. [...]
@JsonKey(includeIfNull: false), read / write
audioChannels AudioChannel?
Audio channels to add into the broadcast. The value ranges between 1 and 2. The default value is 1. [...]
@JsonKey(includeIfNull: false), read / write
audioSampleRate AudioSampleRateType?
Audio sample rate of the added stream to the broadcast: AudioSampleRateType. The default value is 44100 Hz. [...]
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
Height of the added stream to the broadcast. The default value is 0, which is the same height as the original stream.
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
videoBitrate int?
Video bitrate of the added stream to the broadcast. The default value is 400 Kbps.
@JsonKey(includeIfNull: false), read / write
videoFramerate VideoFrameRate?
Video frame rate of the added stream to the broadcast. The default value is 15 fps.
@JsonKey(includeIfNull: false), read / write
videoGop int?
Video GOP of the added stream to the broadcast. The default value is 30 frames.
@JsonKey(includeIfNull: false), read / write
width int?
Width of the added stream to the broadcast. The default value is 0, which is the same width as the original stream.
@JsonKey(includeIfNull: false), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited