-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
HTTP: Failed to download large file recorded with 2GB. #2780
Comments
Not bad, welcome to submit a PR, bro 👍
|
The PR has been submitted, and the concerns have been mentioned in the PR.
|
To briefly explain our current solution, I have not disabled the SRS HTTP service here. We have implemented an MP4 filtering in the outer layer of Nginx. If the request is for an MP4 file, Nginx directly serves as a web server to provide MP4 download service.
|
Description'
Please ensure that the markdown structure is maintained.
4.0
'Please ensure that the markdown structure is maintained.
Please ensure that the markdown structure is maintained.
We recorded a video with a duration of 156 minutes in MP4 format. After recording, the video cannot be downloaded. However, after downloading it to the local device via FTP, the video can be played normally using software. The size of the video is 2.65GB.
Please ensure that the markdown structure is maintained.
Reproduction (Replay)
Please ensure that the markdown structure is maintained.
You can upload a file larger than 2GB to the SRS server.
Access through HTTP.
Please make sure to maintain the markdown structure.
Expected Behavior
Normal download
Please make sure to maintain the markdown structure.
The problem has been found, the key is in srs_app_http_static.cpp:157.
Please make sure to maintain the markdown structure.
The above code is from version 4.0 source code. When performing a type conversion, the "end" of a large file may become negative, causing subsequent exceptions to occur in the handling process.
Please make sure to maintain the markdown structure.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: