Closed spllr closed 2 years ago
In SRTConnection two srt sockets are established when calling SRTConnection.connect(:).
SRTConnection
SRTConnection.connect(:)
From SRTConnection.swift:31:
SRTConnection.swift:31
outgoingSocket = SRTOutgoingSocket() outgoingSocket?.delegate = self ((try? outgoingSocket?.connect(addr, options: options)) as ()??) incomingSocket = SRTIncomingSocket() incomingSocket?.delegate = self ((try? incomingSocket?.connect(addr, options: options)) as ()??)
My question is: is this specific for a server you (@shogo4405) are working with, or is this part of the srt protocol, as I have not been able to find any mention of this in the srt documentation or srt sample code.
I agree that it should be only one socket. one SRT socket can send data in ether way
new PR request to make this library work with standard 'srt-live-transmit'
In
SRTConnection
two srt sockets are established when callingSRTConnection.connect(:)
.From
SRTConnection.swift:31
:My question is: is this specific for a server you (@shogo4405) are working with, or is this part of the srt protocol, as I have not been able to find any mention of this in the srt documentation or srt sample code.