-
-
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
Using the http-flv protocol, the front-end request requires cross-origin access to obtain the flv stream. I have looked through the wiki but have not found an answer yet. Please help, thank you. #1002
Comments
I face the same problem, too. My workaround is adding
in https://github.com/ossrs/srs/blob/master/trunk/src/app/srs_app_http_stream.cpp#L485 . |
I resolved the problem with the same way yesterday, thanks for your help |
@hyfsgit Did you solve this problem by modifying the source code as mentioned above? I am currently facing the same issue.
|
It is the same method as the one used by the person upstairs. Modify the http-conn file and add an additional attribute in the response header.
|
All the same, we are modifying the source code, but we are modifying different files.
|
His method is a little safer, so you should still follow his method to make changes.
|
There are several solutions:
|
I only saw that http-api can support cross-origin in the wiki. I would like to ask if http-flv can also support cross-origin.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: