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

FLV: Does SRS support the WebSocket protocol? WS-FLV, WebSocket-FLV, WSS-FLV #1363

Closed
jatavion opened this issue May 8, 2019 · 4 comments
Closed
Assignees
Labels
TransByAI Translated by AI/GPT.
Milestone

Comments

@jatavion
Copy link

jatavion commented May 8, 2019

Does srs support the WebSocket protocol? How to play it on the client side?

TRANS_BY_GPT3

@RocFang
Copy link
Contributor

RocFang commented May 9, 2019

@winlinvip
Copy link
Member

winlinvip commented May 13, 2019

@RocFang 👍 SRS supports basic HTTP protocol and can be used as a reverse proxy with other frameworks like nginx, or other languages like Go or PHP, to achieve WS or HTTPS as well as authentication.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Jan 16, 2020

Reference example of converting HTTP-FLV to WS-FLV: #1576 (comment)

TRANS_BY_GPT3

@winlinvip winlinvip self-assigned this Sep 7, 2021
@winlinvip winlinvip changed the title srs支持websocket协议吗? FLV: srs支持websocket协议吗?WS-FLV, WebSocket-FLV, WSS-FLV Sep 7, 2021
@winlinvip winlinvip added this to the 3.0 milestone Sep 10, 2021
@leonlu1983
Copy link

leonlu1983 commented May 31, 2022

When running http://localhost:8080/demos/one2one.html?autostart=true&room=451f0bd&wsp=1989, srs.sig.js: appears.
WebSocket connection to 'ws://localhost:1989/sig/v1/rtc?room=451f0bd&display=b9cb39f' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
How can this be resolved?

TRANS_BY_GPT3

@winlinvip winlinvip changed the title FLV: srs支持websocket协议吗?WS-FLV, WebSocket-FLV, WSS-FLV FLV: Does SRS support the WebSocket protocol? WS-FLV, WebSocket-FLV, WSS-FLV Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

4 participants