pikvm / pikvm

Open and inexpensive DIY IP-KVM based on Raspberry Pi
https://pikvm.org
GNU General Public License v3.0
8.09k stars 452 forks source link

Transport from audio #97

Closed gitpower2017 closed 2 years ago

gitpower2017 commented 4 years ago

there is the possibility that audio is also transmitted. Maybe the RPI will report to the PC/server as a USB soundcard?

gitpower2017 commented 4 years ago

sorry for doppel posting. Ther was an error on my Browser

mdevaev commented 4 years ago

I will do it. There are two USB and TC358743 capabilities. Both will be supported.

torpak commented 3 years ago

@mdevaev TC358743 would mean getting the hdmi audio channel?

piezza commented 3 years ago

Would it also be possible to capture sound? My usecase is to use tools like MS Teams over pikvm remotely. So playing back and capturing sound in browser window would be cool!

mdevaev commented 3 years ago

Not right now but I'm working on it.

mdevaev commented 3 years ago

Not yet

mdevaev commented 3 years ago

Just some links for me to not forget:

GralfR commented 2 years ago

I'm just getting into it with what's laying around (pi4 2GB with USB-HDMI-capture). The first boot was good. Got my picture. And was asking for sound/audio, too. I got my test-signal from a DVB receiver/settopbox. That could be a usecase, too, but needs audio.

Looking forward to it.

chilman408 commented 2 years ago

Question: When audio support is enabled, will it be enabled on V2 as well or just V3?

If it will be enabled for V2, is the current recommended hardware applicable (like the geekworm HDMI-CSI2)?

mdevaev commented 2 years ago

Geekworm have some hardware bugs so audio will not work on it.

chilman408 commented 2 years ago

Geekworm have some hardware bugs so audio will not work on it.

Thank you, do you have a recommended hardware setup for V2? Would the Auvidea B101 work?

mdevaev commented 2 years ago

B101 will work, yes.

chilman408 commented 2 years ago

Sorry one question, will the Auvidea B102 work?

mdevaev commented 2 years ago

Yes

awkspace commented 2 years ago

Would it be possible to offer a bounty for audio support over HDMI and/or USB? This would be useful to my workflow and I'd be happy to donate towards its development.

mdevaev commented 2 years ago

@awkspace It will be available on v3 hat - audio over hdmi.

awkspace commented 2 years ago

@mdevaev My understanding is that the hardware is available, but not the software, correct? I own a pre-assembled PiKVM V3 from PiShop.us, but there is no option to stream the audio from the WebUI. My question was whether I could donate to the development of this specific feature.

mdevaev commented 2 years ago

This feature is implemented in the hardware, yes. You can donate here if you want, https://patreon.com/pikvm, I will be grateful :)

piezza commented 2 years ago

I just wonder if it is not also possible to use Linux USB Audio Gadget driver for audio and transfer it bi-directional over WebRTC. Having both, speaker and mic would be great. I assume over HDMI only one direction will work?

mdevaev commented 2 years ago

Yep, only one direction.

ghost commented 2 years ago

Is the mic support currently blocked due to hardware or software?

if software, id like to purchase one and see if i can help

mdevaev commented 2 years ago

The reason is software only.

mdevaev commented 2 years ago

V3 users can test the audio right now: https://docs.pikvm.org/audio/

bora-fsd commented 2 years ago

Thank you @mdevaev. To confirm, is this to receive audio from the pikvm connected machine only? Or is there support to transmit microphone from web browser to pikvm as well?

mdevaev commented 2 years ago

This is only to recieve audio from the machine. Microphone support is not yet in the plans.

json81 commented 2 years ago

V3 users can test the audio right now: https://docs.pikvm.org/audio/

Tested and working!

awkspace commented 2 years ago

Another 👍 here. Audio is working great on my v3. Thank you so much!!

mdevaev commented 2 years ago

I suppose it can be considered solved now :)

moezden commented 1 month ago

Hi @mdevaev, regarding

"Reverse audio transmission, that is, from the browser towards PiKVM (for example, to emulate a microphone) is not yet supported."

Can we expect a feature for mic emulation soon?

mdevaev commented 1 month ago

No, sorry.