This message was deleted.
# helpdesk
s
This message was deleted.
e
there’s no known compatibility issues between react native and next JS, have you tried using the example app?
g
Yes . The tracks (Ex. Camera tracks) when i am recieving i can see the video screen turning black but no video rendered of other users. Used the VideoTrack and VideoRenderer as well .
e
the tracks received on next js are black? how are you publishing the camera from the react native? VideoRenderer is for react-native only as well, are you using that in your NextJS app?
g
Using Video track on next js app with track loops
e
how are you publishing the camera? do you have some repro code?
g
Please check DM . I have given the sample code
Copy code
function Stage() {
  const cameraTracks = useTracks([Track.Source.Camera]);
  const screenShareTrack = useTracks([Track.Source.ScreenShare])[0];

  return (
    <>
      {screenShareTrack && <ParticipantTile {...screenShareTrack} />}
      <GridLayout tracks={cameraTracks}>
        <TrackRefContext.Consumer>
          {(track) => <ParticipantTile {...track} />}
        </TrackRefContext.Consumer>
      </GridLayout>
    </>
  );
}