steep-balloon-41261
05/10/2023, 9:45 AMpolite-kilobyte-67570
05/10/2023, 10:11 AMstartAudio
is only visible in cases where the browser blocks auto-play of audio.
In those cases it is necessary to initiate audio playback with a user gesture (thus the button).
However it’s unexpected that some people wouldn’t be able to hear each other even after clicking the button.
Can you observe a pattern in which users seem to have trouble hearing others? (e.g. browser / extensions etc.)prehistoric-needle-99890
05/10/2023, 4:31 PMprehistoric-needle-99890
05/10/2023, 4:33 PMpolite-kilobyte-67570
05/10/2023, 5:40 PMattach
calls will auto play, so it shouldn’t matter if all/which tracks are populated in that array when running looping over it.
you can listen to RoomEvent.AudioPlaybackStatusChanged
and log that additional on the client side, this would definitely be helpful to see!prehistoric-needle-99890
05/15/2023, 1:59 PMLiveKitRoom
from livekit/components-react, i.e. i'm trying to add a listener for this page: https://github.com/livekit-examples/meet/blob/main/pages/custom/index.tsxpolite-kilobyte-67570
05/15/2023, 2:04 PM<LiveKitRoom room={myRoom} … />
.
so something like
...
import { Room, LogLevel } from 'livekit-client';
export default function CustomRoomConnection() {
...
const myRoom = new Room();
const onPlayBackStatusChanged = React.useCallback((status) => {
// actually handle the event
}, []);
myRoom.on(RoomEvent.AudioPlaybackStatusChanged, onPlaybackStatusChanged)
...
return <LiveKitRoom room={myRoom} .... />
}
prehistoric-needle-99890
05/15/2023, 2:42 PM