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

Split RTMP StreamId by slash(/) to parse Token and TOTP #6709

Merged
merged 8 commits into from
Nov 3, 2024

Conversation

lastpeony
Copy link
Contributor

@lastpeony lastpeony commented Oct 7, 2024

@lastpeony
Copy link
Contributor Author

@lastpeony lastpeony requested a review from mekya October 8, 2024 09:01
@mekya mekya changed the title Parse Rtmp Url Segment Params Parse Rtmp URL Segment Params Nov 3, 2024
Copy link
Contributor

@mekya mekya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feature @lastpeony 👏

@mekya
Copy link
Contributor

mekya commented Nov 3, 2024

#6704

With this PR this is valid:

rtmp://localhost/LiveApp/testStream/mtoken/msubscriberId/msubscriberCode

image

For ffmpeg RTMP publish this should be used:

rtmp://localhost/LiveApp/testStream%2Fmy_token%2Fm_subscriberId%2Fm_subscriberCode

because ffmpeg gets after last index of /

It's unlikely that anyone would use this over query parameters in FFmpeg, but it can still be useful for integration testing.

Server will handle both cases.

@mekya mekya changed the title Parse Rtmp URL Segment Params Parse Rtmp URL Segment Params For Token and TOTP Nov 3, 2024
@mekya mekya changed the title Parse Rtmp URL Segment Params For Token and TOTP Segment RTMP URL by slash(/) to Parse Token and TOTP Nov 3, 2024
@mekya mekya changed the title Segment RTMP URL by slash(/) to Parse Token and TOTP Segment RTMP URL by slash(/) to parse Token and TOTP Nov 3, 2024
Copy link

sonarcloud bot commented Nov 3, 2024

@mekya mekya changed the title Segment RTMP URL by slash(/) to parse Token and TOTP Split RTMP StreamId by slash(/) to parse Token and TOTP Nov 3, 2024
@mekya mekya merged commit c6eb3a3 into master Nov 3, 2024
9 checks passed
@mekya mekya deleted the rtmpParseUrlSegmentParams branch November 3, 2024 10:34
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.

2 participants