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

Inbound audio as ffmpeg stream #26

Open
oischinger opened this issue Aug 31, 2022 · 7 comments
Open

Inbound audio as ffmpeg stream #26

oischinger opened this issue Aug 31, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@oischinger
Copy link

I'm trying to implement 2-way audio for Eufy's Doorbells which support only P2P.
For that I would need to route the webrtc audio stream to an ffmpeg process that trancodes the audio and sends it to a tcp socket.

Is something like that possible with go2rtx?

@AlexxIT AlexxIT added the question Further information is requested label Aug 31, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Aug 31, 2022

Well. First. How do you plan to get video and audio from P2P?

@oischinger
Copy link
Author

I have a little process that provides audio and Video from the camera via 2 socket inputs which I defined in the go2rtc yaml. Works like charm

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 31, 2022

Do you have open example, how do you do it?

@oischinger
Copy link
Author

This is the project:

It's an HA addon based on your docker Container plus a python process to deal with the eufy camera via a websocket:
https://github.com/oischinger/eufyp2pstream

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 31, 2022

Well. WebRTC > go2rtc > ffmpeg > python > nodejs. Very complicated. Needs time to understand all of this :)

@oischinger
Copy link
Author

Yes, the stack is a bit crazy. The stack needs some work ;)
So far this is just a proof of concept. A/V worked fine. But I'm not sure if a backchannel is possible the way I think about it. Since my SDP from ffmpeg doesn't include the backchannel information I wonder if it's possible to establish a stream for it at all

@AlexxIT AlexxIT added enhancement New feature or request and removed question Further information is requested labels Aug 31, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Aug 31, 2022

I thinks audio back to ffmpeg is possible. But not a priority in near future. Have other nice things to do.

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

2 participants