Skip to content
Discussion options

You must be logged in to vote
  1. You can configure thetimeout as follows:
  2. I’m assuming that play will be called within the same task as shown below.
Task.detached(priority: .userInitiated) {
    try await connection.connect(
        URL(string: "srt://\(ipAddress):9991?mode=caller&latency=100&maxbw=0&pkt_size=1316&snd_buf=4194304")
    )

    try await stream.play()
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@noho501
Comment options

Answer selected by noho501
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
SRT Indicates that an issue, pull request, or discussion is concerns the SRT.
2 participants