mirror of https://github.com/jetkvm/kvm.git
Cleanup: remove devLog with calculated param
This commit is contained in:
parent
e0b6e612c0
commit
eab0261344
|
@ -195,12 +195,6 @@ export function useMicrophone() {
|
||||||
|
|
||||||
// Find the audio transceiver (should already exist with sendrecv direction)
|
// Find the audio transceiver (should already exist with sendrecv direction)
|
||||||
const transceivers = peerConnection.getTransceivers();
|
const transceivers = peerConnection.getTransceivers();
|
||||||
devLog("Available transceivers:", transceivers.map((t: RTCRtpTransceiver) => ({
|
|
||||||
direction: t.direction,
|
|
||||||
mid: t.mid,
|
|
||||||
senderTrack: t.sender.track?.kind,
|
|
||||||
receiverTrack: t.receiver.track?.kind
|
|
||||||
})));
|
|
||||||
|
|
||||||
// Look for an audio transceiver that can send (has sendrecv or sendonly direction)
|
// Look for an audio transceiver that can send (has sendrecv or sendonly direction)
|
||||||
const audioTransceiver = transceivers.find((transceiver: RTCRtpTransceiver) => {
|
const audioTransceiver = transceivers.find((transceiver: RTCRtpTransceiver) => {
|
||||||
|
|
Loading…
Reference in New Issue