Cannot receive user_id other than 0

I am currently receiving RTMS with python as below, but I am unable to retrieve user_id other than 0 even though there’s only one person speaking in the meeting.

if msg["msg_type"] == 14:  # Audio data message
                            content = msg.get("content", {})
                            audio_data = content.get("data")
                            user_id = content.get("user_id")

Are there any additional configurations that I have to setup or is fetching user_id not supported on Python?

Thank you!

@user109 if you are subscribing to mixed audio, the user_id still always be 0.

If you are subscribing to individual audiom you will get distinct user_id

2 Likes