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

Feature Request: combined streamed audio and video #82

Open
theschles opened this issue Jul 13, 2023 · 7 comments
Open

Feature Request: combined streamed audio and video #82

theschles opened this issue Jul 13, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@theschles
Copy link

Hi there! I've been searching all over the Internet to see how to have combined streamed audio and video -- so that if I attach an electret microphone / breakout board (perhaps with a pre-amp) to my ESP32-CAM, I can then stream both video and audio in a single RTSP URL.

I've found this -- which streams video.

I've found other repos which show how to stream audio.

I have yet to find anything that will combine stream audio and video.

Thank you for your help!

@vivekanandbv
Copy link

Adding a 2 way communication channel by adding a speaker to it and a push button that sends a http post webhook would make it the perfect doorbell camera

@eerison
Copy link

eerison commented Aug 31, 2023

But is it possible to keep a communication in real-time? Do you have any example @vivekanandbv ,how to add this 2 way channel

@theschles theschles changed the title Feature Request: combined streamed audio and vide Feature Request: combined streamed audio and video Sep 1, 2023
@rzeldent
Copy link
Owner

rzeldent commented Feb 2, 2024

Think this is a bit out of scope for the ESP32CAM. Yes, one could add a I2S mems microphone but is already having difficulties streaming.

@rzeldent rzeldent added the enhancement New feature or request label Feb 2, 2024
@theschles
Copy link
Author

If I read the manual correctly, https://github.com/AlexxIT/go2rtc can mux an audio and a video stream together.

I added Go2RTC as the sole consumer of the Esp32Cam feed when I found out the ESP32Cam apparently can only stream to a single recipient at any time. This became quickly apparent when I tried to have two tablets watch the Esp32Cam's video stream concurrently.

Go2RTC allows multiple clients to connect to a Go2RTC-hosted stream.

@rzeldent
Copy link
Owner

Hi,

This should be possible; multiple sockets are accepted... However, think this does not work because of lack of CPU...

@rzeldent
Copy link
Owner

Oh, and yes, having both image and sound would be great. Some boards do have an onboard mems microphone...
Will look into this...

@Kishlay-notabot
Copy link

can anyone link some libraries which support realtime audio only streaming through rstp or any other protocol?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants