agora-rtc-react icon indicating copy to clipboard operation
agora-rtc-react copied to clipboard

No video and audio tracks on the example

Open Chasty opened this issue 8 months ago • 3 comments

I've been testing the provided example here and i realized that those hooks are never returning the remote tracks.

const { videoTracks } = useRemoteVideoTracks(remoteUsers);
const { audioTracks } = useRemoteAudioTracks(remoteUsers);

even though the AGORA_WEB_SDK_FULL is working fine, they are detecting the tracks.

https://github.com/user-attachments/assets/78269ca6-c639-4fc9-9c91-454f91eab68e

Can you pleae verify?

Chasty avatar Apr 26 '25 01:04 Chasty

@Chasty I can not reproduce this issue. Please check appid, token, channelName is the same when you join room

guoxianzhe avatar Apr 28 '25 02:04 guoxianzhe

The main issue I came accros was from the publishing of the tracks. the tracks are not getting published at all. I keep getting

AgoraRTCException: AgoraRTCError INVALID_PARAMS: invalid id: the value range is [0, 65535]. integer only

My agora-rtc-ng and react versions are the latest and I still get this error when publishing tracks.

DaraUkpong avatar Jun 07 '25 10:06 DaraUkpong

The main issue I came accros was from the publishing of the tracks. the tracks are not getting published at all. I keep getting

AgoraRTCException: AgoraRTCError INVALID_PARAMS: invalid id: the value range is [0, 65535]. integer only

My agora-rtc-ng and react versions are the latest and I still get this error when publishing tracks.

@DaraUkpong I'm also getting the same error. Have you found a solution for it?

sujindra-maharjan avatar Sep 24 '25 03:09 sujindra-maharjan