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

How to push audio #81

Open
pssrecom opened this issue Aug 21, 2022 · 6 comments
Open

How to push audio #81

pssrecom opened this issue Aug 21, 2022 · 6 comments

Comments

@pssrecom
Copy link

I want to push audio, how should I achieve it, thank you!

@zsinba
Copy link

zsinba commented Oct 21, 2022

I don't think mpjpeg will be able to incorporate sound. This uses ffmpeg to push the data. Consider changing mjpeg to VP9, which may reduce bandwidth and increase clarity at the same time.

@phoboslab
Copy link
Owner

Have a look at the current JSMpeg version – it's able to accept a MPEG-TS stream, including mp2 audio. Using the updated JSMpeg for the client and implementing audio encoding and TS packetization in this project is certainly possible. My Magic Webcam App does exactly this.

That said, I currently don't have any interest in updating jsmpeg-vnc myself. Pull Requests are welcome.

@zsinba
Copy link

zsinba commented Oct 31, 2022

Have a look at the current JSMpeg version – it's able to accept a MPEG-TS stream, including mp2 audio. Using the updated JSMpeg for the client and implementing audio encoding and TS packetization in this project is certainly possible. My Magic Webcam App does exactly this.

That said, I currently don't have any interest in updating jsmpeg-vnc myself. Pull Requests are welcome.
Magic Webcam App, Ipad pro(2021).
Lan Env. about 200~300ms delay.

@zsinba
Copy link

zsinba commented Oct 31, 2022

No 100ms delay was tested.

@zsinba
Copy link

zsinba commented Oct 31, 2022

image

@zsinba
Copy link

zsinba commented Oct 31, 2022

Use the Ipad's camera to point at a timed web page; This web page is accurate to a thousandth of a second. In another browser, open the playback screen. The screen capture shows that the delay is about 200 to 300ms. The whole Intranet environment is used, and the network condition is good. May I ask how can I test the 100ms delay you mentioned?
I use the free version of the Magic Webcam App. The 2021 Ipad Pro. IOS16.

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