Inconsistent KVM behavior with usb-c to hdmi cable for macbook m1 pro?

Yeah the best thing you can do is get a dock to use with a laptop like that

which kvm do you use? does it support a pair of speakers and webcam and dual monitor simultaneously?

I use a 4-port Display Port kvm that I got from TESmart several years ago

https://www.tesmart.com/collections/kvm-switcher/products/tesmart-4x1-dp-kvm-switch-4k-60hz-ultra-hd-mechanical-multimedia-keyboards-usb-2-0-devices4-in-1-out-display-port-kvm-switcher-dp-control-up-to-4-dp-port-devices?_pos=2&_fid=94e217bbf&_ss=c

Unfortunately TESmart has completely changed their product line up several times since then and the specific model I have doesn’t seem to exist anymore

I use DP β†’ DP or DP β†’ USB-C for the connections to the computers. For the laptops the USB-C for the monitor + USB-A for the keyboard/mouse is plugged into the OWC Thunderbolt hubs, which then plug into each laptop (MacBook) separately. I have separate OWC Hub for each laptop.

It’s set up like this

Monitor DP β†’ KVM
Mouse / keyboard β†’ USB hub β†’ KVM

KVM DP / USB-C β†’ OWC Thunderbolt Hub β†’ MacBook (x2)

I have never tried attaching webcam or mic or any other devices as inputs to the KVM to pass through to the computers. Not sure how well that would work, I think the KVM USB-A input is only USB 2.0