struct StreamConfiguration: Sendable
init
(
videoCodec
, resolution
, frameRate
)
|
Creates a new stream session configuration with specified parameters.
Signature
public init( videoCodec: VideoCodec, resolution: StreamingResolution, frameRate: UInt) Parameters frameRate: UInt
The target frame rate for streaming.
|
init
()
|
Creates a new stream session configuration with default settings. Uses raw video codec, medium resolution, deliver-all frame strategy, and 30 FPS.
Signature
public init() |
frameRate
: UInt |
The target frame rate for the streaming session.
|
resolution
: StreamingResolution |
The resolution at which to stream video content.
|
videoCodec
: VideoCodec |
The video codec to use for streaming.
|