Add fullscreen mode


I am looking for a tool like MediaSoup. I would like to add a fullscreen mode on a user (Room / Peers / Peer / PeerView) but I know React but not yet Redux.

Can someone tell me what to do? I added an icon on all peer to enable / disable the fullscreen with a local state. That works well!

However, I have to go up the state to the Peers component to add a “fullscreen-on” class after “‘active-speaker’ : === activeSpeakerId” in app/lib/components/Perrs.jsx.

Thnaks for your reply !

Finally, i found the solution.

You must add a new attribute as “fullScreen” and use Redux to store it.

I’d also like to know how to do this!