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

jsmpeg support #283

Open
andryan opened this issue Oct 2, 2019 · 10 comments
Open

jsmpeg support #283

andryan opened this issue Oct 2, 2019 · 10 comments
Assignees

Comments

@andryan
Copy link

andryan commented Oct 2, 2019

It would be nice if Red5 or its Pro version could support jsmpeg (https://jsmpeg.com/). I think this can be done/achieved with a Red5 webapp. Chinese CDN providers have video CDN services supporting jsmpeg and western CDN services have yet to follow or even take notice. It should be fairly easy to implement and latency-wise it's comparable to WebRTC with much less complexity.

@mondain
Copy link
Member

mondain commented Nov 22, 2019

While I can't promise anything as far as support, I will take a look at it.

@mondain mondain self-assigned this Nov 22, 2019
@mondain
Copy link
Member

mondain commented Aug 15, 2020

@andryan I've started work on this feature over at https://github.com/Red5/native/tree/master/mpeg

@andryan
Copy link
Author

andryan commented Aug 15, 2020 via email

@mondain
Copy link
Member

mondain commented Aug 23, 2020

Making progress https://photos.app.goo.gl/G3xZJFFZiktKQSq37

@andryan
Copy link
Author

andryan commented Aug 24, 2020 via email

@mondain
Copy link
Member

mondain commented Aug 24, 2020 via email

@mondain
Copy link
Member

mondain commented Sep 5, 2022

@andryan I'll be releasing my mpeg streaming plugin in the next couple of days over on https://github.com/mondain/red5-plugin-releases keep an eye out.

@mondain
Copy link
Member

mondain commented Sep 5, 2022

One misconception in your original statement: It should be fairly easy to implement and latency-wise it's comparable to WebRTC with much less complexity. There is complexity due to the ingest being either h264+aac or h264+opus and the expected playback of mp1video and mp2audio in jsmpeg. Transcoding is required, unless you can ingest mpeg1/2 content.

@andryan
Copy link
Author

andryan commented Sep 6, 2022

Hi Paul. Apologies for that. Yes, it needs to ingest MPEG1/2, which in my case I am able to push MPEG1/2 streams with my setup/encoders. The sample nodejs server they provide only acts like a repeater with no flow control, etc.
Once again, thanks for making this happen!

@mondain
Copy link
Member

mondain commented Sep 6, 2022

MPEG1/2 ingest isnt turned on yet, but any other ingest getting into the server is supported; this version transcodes from H264/AAC https://github.com/mondain/red5-plugin-releases/releases/tag/mpeg2-plugin-1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants