SrtUrl

data class SrtUrl(val hostname: String, val port: Int, val connectTimeoutInMs: Int? = null, val flightFlagSize: Int? = 25600, val inputBandwidth: Long? = 0, val iptos: Int? = 184, val ipttl: Int? = 64, val latencyInMs: Int? = null, val listenTimeoutInMs: Int? = null, val maxBandwidth: Long? = 0, val mode: SrtUrl.Mode? = Mode.CALLER, val maxSegmentSize: Int? = 1500, val nakReport: Boolean? = true, val overheadBandwidth: Int? = 25, val passphrase: String? = null, val enforcedEncryption: Boolean? = true, val kmRefreshRate: Int? = null, val kmPreannounce: Int? = null, val senderDropDelayInMs: Int? = null, val payloadSize: Int? = null, val peerLatencyInMs: Int? = null, val pbKeyLength: Int? = 0, val receiverLatencyInMs: Int? = null, val receiveUDPBufferSize: Int? = null, val sendUDPBufferSize: Int? = null, val timeoutInMs: Int? = null, val enableTooLatePacketDrop: Boolean? = null, val sendBufferSize: Int? = null, val recvBufferSize: Int? = null, val lossMaxTTL: Int? = null, val minVersion: Int? = null, val streamId: String? = null, val smoother: Transtype? = null, val enableMessageApi: Boolean? = false, val transtype: Transtype? = null, val lingerInS: Int? = null, val enableTimestampBasedPacketDelivery: Boolean? = null)

SrtUrl is a data class that represents an SRT URL as defined by FFmpeg.

If a value is null, FFmpeg default values will be used. If default values are not defined, SRT default values will be used.

listenTimeoutInMs and timeoutInMs are not used.

Constructors

Link copied to clipboard
constructor(hostname: String, port: Int, connectTimeoutInMs: Int? = null, flightFlagSize: Int? = 25600, inputBandwidth: Long? = 0, iptos: Int? = 184, ipttl: Int? = 64, latencyInMs: Int? = null, listenTimeoutInMs: Int? = null, maxBandwidth: Long? = 0, mode: SrtUrl.Mode? = Mode.CALLER, maxSegmentSize: Int? = 1500, nakReport: Boolean? = true, overheadBandwidth: Int? = 25, passphrase: String? = null, enforcedEncryption: Boolean? = true, kmRefreshRate: Int? = null, kmPreannounce: Int? = null, senderDropDelayInMs: Int? = null, payloadSize: Int? = null, peerLatencyInMs: Int? = null, pbKeyLength: Int? = 0, receiverLatencyInMs: Int? = null, receiveUDPBufferSize: Int? = null, sendUDPBufferSize: Int? = null, timeoutInMs: Int? = null, enableTooLatePacketDrop: Boolean? = null, sendBufferSize: Int? = null, recvBufferSize: Int? = null, lossMaxTTL: Int? = null, minVersion: Int? = null, streamId: String? = null, smoother: Transtype? = null, enableMessageApi: Boolean? = false, transtype: Transtype? = null, lingerInS: Int? = null, enableTimestampBasedPacketDelivery: Boolean? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
val connectTimeoutInMs: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val flightFlagSize: Int? = 25600
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val iptos: Int? = 184
Link copied to clipboard
val ipttl: Int? = 64
Link copied to clipboard
val kmPreannounce: Int? = null
Link copied to clipboard
val kmRefreshRate: Int? = null
Link copied to clipboard
val latencyInMs: Int? = null
Link copied to clipboard
val lingerInS: Int? = null
Link copied to clipboard
val listenTimeoutInMs: Int? = null
Link copied to clipboard
val lossMaxTTL: Int? = null
Link copied to clipboard
val maxBandwidth: Long? = 0
Link copied to clipboard
val maxSegmentSize: Int? = 1500
Link copied to clipboard
val minVersion: Int? = null
Link copied to clipboard
Link copied to clipboard
val nakReport: Boolean? = true
Link copied to clipboard
Link copied to clipboard
val passphrase: String? = null
Link copied to clipboard
val payloadSize: Int? = null
Link copied to clipboard
val pbKeyLength: Int? = 0
Link copied to clipboard
val peerLatencyInMs: Int? = null
Link copied to clipboard
val port: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val recvBufferSize: Int? = null
Link copied to clipboard
val sendBufferSize: Int? = null
Link copied to clipboard
Link copied to clipboard
val sendUDPBufferSize: Int? = null
Link copied to clipboard
val smoother: Transtype? = null
Link copied to clipboard
Link copied to clipboard
val streamId: String? = null
Link copied to clipboard
val timeoutInMs: Int? = null
Link copied to clipboard
val transtype: Transtype? = null

Functions

Link copied to clipboard

Sets post configuration for socket. Internal purpose only.

Link copied to clipboard

Sets pre configuration for socket. Internal purpose only.

Link copied to clipboard

Sets pre configuration for binding socket. Internal purpose only.