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 set the ice-ufrag and ice-pwd for connectivity check. v5.0.191 v6.0.91 #3837

Merged
merged 5 commits into from
Oct 17, 2023

Commits on Oct 15, 2023

  1. Support set the ice-ufrag and ice-pwd for connectivity check

    Checking the HTTPS API or UDP connectivity for WHIP tests can be difficult. For example, if the UDP port isn't available but the API is fine, OBS only says it can't connect to the server. It's hard to see the HTTPS API response or check if the UDP port is available.
    
    This feature lets you set the ice username and password in SRS. You can then send a STUN request using nc and see the response, making it easier to check UDP port connectivity.
    
    1. Use curl to test the WHIP API, including ice-frag and ice-pwd queries.
    2. Use nc to send a STUN binding request to test UDP connectivity.
    3. If both the API and UDP are working, you should get a STUN response.
    winlinvip committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    382bc84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5481fc1 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Use macro for magic number.

    winlinvip committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    36d8a62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b696331 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e7af8c View commit details
    Browse the repository at this point in the history