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

Improve Browsers / JavaScript support #276

Open
iongion opened this issue Jul 31, 2019 · 3 comments
Open

Improve Browsers / JavaScript support #276

iongion opened this issue Jul 31, 2019 · 3 comments

Comments

@iongion
Copy link

iongion commented Jul 31, 2019

Feature request

Short description

  • As Flash has been almost completely removed from the browsers, there is a need to be able to take control of and over rtmp protocol using other browser methods
  • Browsers don't allow socket connections, therefore a direct to RTMP communication from the browser is not possible
  • Connecting to a red5 application directly, using JavaScript could be done using WebSocket interface of the browser - NetConnection/SharedObject wrappers could be created
  • Stream could be accessed through http-flv hack or exposed through WebSocket too and decoded with FLV.js which already supports this tunneling method

Environment

[x] Operating system and version: Any
[x] Java version: Any
[x] Red5 version: Future

Expected behavior

Using projects such as FLV.js we should be able to connect and play live streams

From that project features:

  • HTTP FLV low latency live stream playback
  • FLV over WebSocket live stream playback

Using WebSocket connection, one can emulate the NetConnection behavior of ActionScript

There is this project https://github.com/illuspas/Node-Media-Server that can already do

  • RTMP
  • WebSocket tunneling through FLV.js
  • HTTP based live streaming through FLV.js
  • HLS
  • Dash

What do you think ?
I don't know if you have time or plan any work in this area, what would be the steps needed to do this ?

I think a WebSocket connection api (with SharedObject) plus FLV.js stream playback support over websocket are all that is needed to make red5 a jewel for the non-flash future.

@imamiao
Copy link

imamiao commented Aug 19, 2019

Yes, I think so too.
Flash is slowly dying. HTTP-FLV must be the mainstream of live broadcast technology for some time to come.
I will also try to make Red5 support HTTP-FLV if I can. 😂😂
Thanks to the Red5 team!

@mondain
Copy link
Member

mondain commented Aug 26, 2019

I'm all for it, any html5 etc interop with RTMP or other currently implemented tech in the server is welcomed.

@mondain
Copy link
Member

mondain commented Aug 15, 2020

Red5 already has WebSocket support and I've started work on jsmpeg support for #283

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

No branches or pull requests

3 participants