TritonAudioStreamConnectionConfig
public struct TritonAudioStreamConnectionConfig
Represents Triton end points connectivity information.
contentURL: The primary URL to start Triton audio stream playback session.sidebandMetadataURL: The primary URL to Server Sent Events source end point (server) to retrieve sideband metadata.sidebandMetadataConnectionRetries: The number of attempts trying to establish previously failed connection to Server Sent Events source. Note that the default value for this property is5.sidebandMetadataConnectionRetryDelayFactorMs: The reconnection retry min delay factor, in milliseconds, used in exponential back-off retry computation. This scheme is used to prevent excessive simultaneous requests hitting servers. Note that the default value for this property is1000.
-
init(contentURL:sidebandMetadataURL: sidebandMetadataConnectionRetries: sidebandMetadataConnectionRetryDelayFactorMs: ) Undocumented
Declaration
Swift
public init(contentURL: URL, sidebandMetadataURL: String? = nil, sidebandMetadataConnectionRetries: Int? = 5, sidebandMetadataConnectionRetryDelayFactorMs: Int? = 1000)