Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SRT listener mode. #1558

Merged
merged 1 commit into from
Sep 7, 2024
Merged

Conversation

shogo4405
Copy link
Owner

@shogo4405 shogo4405 commented Sep 3, 2024

Description & motivation

  • Supported SRT Listener mode.
  • Only one connection is supported. By configuring as follows, you can wait as a listener to receive and play a stream from another client.
connection = SRTConnection()

stream = SRTStream(connection: connection)
stream.play()

view.attachStream(stream)
connection.open(URL(string: "srt://0.0.0.0:9998"), mode: .listener)

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots:

@shogo4405 shogo4405 added this to the 1.9.4 milestone Sep 3, 2024
@shogo4405 shogo4405 merged commit e83c6dc into release/1.9.x Sep 7, 2024
2 checks passed
@shogo4405 shogo4405 deleted the feature/srt-lisener-mode branch September 7, 2024 20:41
shogo4405 added a commit that referenced this pull request Sep 10, 2024
shogo4405 added a commit that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant