Skip to content

Conversation

@eddielth
Copy link

feat(rtsp): Supports RTSP redirection processing and optimizes status code judgment logic.

Refactored the status code handling logic in the Do method, using a switch statement instead of the original single if statement.
Added support for HTTP 301 and 302 redirect response processing, including Location header parsing, connection reestablishment, and request retries.
Also, the handling of the 401 Unauthorized status is retained, and the final error return logic has been adjusted.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oops

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 14, 2025

@felipecrs Thanks! I need to decline on this because the binary will be saved in the commit history.

@AlexxIT AlexxIT closed this Oct 14, 2025
@felipecrs
Copy link
Contributor

felipecrs commented Oct 14, 2025

@AlexxIT if a commit to remove the binary had been made, you could have chosen the Squash and Merge strategy for merging this PR, and then the binary would not be part of the repository's git history.

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 15, 2025

Yes. I know about squash. But anyway PR should be rewrited.

AlexxIT added a commit that referenced this pull request Oct 15, 2025
@AlexxIT AlexxIT added this to the master milestone Oct 15, 2025
@AlexxIT AlexxIT linked an issue Oct 15, 2025 that may be closed by this pull request
@eddielth
Copy link
Author

Sorry, I'm not very familiar with submitting pull requests, which led to accidentally including binary files.

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 21, 2025

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.

Add support 302 redirect for rtsp source

3 participants