• This component plays the video and audio tracks of a remote user and supports specifying the audio device to use. Specifying the video playback device is not supported.

    Parameters

    Returns Element

    Example

    import { RemoteUser, useRemoteUsers } from "agora-rtc-react";

    function App() {
    const remoteUsers = useRemoteUsers();

    return (
    <>
    {remoteUsers.map(user => (
    <RemoteUser key={user.uid} user={user} />
    ))}
    </>
    );
    }