-
Notifications
You must be signed in to change notification settings - Fork 326
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
lt_cred support for TURN REST format #252
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @giavac!
This is actually really useful for me as well :)
Thanks for the contribution!
Codecov ReportBase: 68.05% // Head: 68.04% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #252 +/- ##
==========================================
- Coverage 68.05% 68.04% -0.01%
==========================================
Files 38 38
Lines 2432 2460 +28
==========================================
+ Hits 1655 1674 +19
- Misses 643 650 +7
- Partials 134 136 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Hi! We're experiencing a challenge with Pion using REST API compatible (ephemeral) authentication. This may well be in our implementation, but just to make sure we're not chasing ghosts: Has the change mentioned in this PR made it into any release to date? The commit references are a bit tricky to follow through the Github UI. |
Judging from the offending code in master, the default long-term auth handler currently does not seem to parse the timestamp:username pair. But I'm also somewhat lost here, as per the commit refs. |
My changes were removed with the force-push mentioned in this PR. I'm not sure what happened, I might be missing something from the github flow. |
The functionality is still desirable. As I'm not familiar with the code base (or even the programming language), I'd prefer you (instead of me) recreating the commit. |
I agree: this is still a useful feature to have. We have implemented this functionality in STUNner, with the twist that we consider the first thing that parses as a valid unsigned integer as a UNIX timestamp, so we accept both Please submit as a new PR, I'd be happy to review. |
Sounds good; it's been more than a year not using this code base so I'll need a little more time than just recreating the PR (also based on @rg0now 's information). |
I've raised #370 - CI checks are pending but for the people interested in this feature please take a look and review. |
Description
This adds support for the format timestamp:username used with the TURN REST API (https://tools.ietf.org/search/rfc5389#section-10.2).