livekit / components-js

Official open source React components and examples for building with LiveKit.
Apache License 2.0
133 stars 60 forks source link

Picture-in-Picture (PIP mode) #548

Open Vaib215 opened 1 year ago

Vaib215 commented 1 year ago

Describe the problem

I think this project really requires this feature to be implemented because it has many usecases considering the applications made using LiveKit

Describe the proposed solution

I would love to see the speaker/host screen/cam as PIP. https://developer.chrome.com/blog/watch-video-using-picture-in-picture/

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Ocupe commented 1 year ago

Looks like a cool idea, thanks for bringing it up. 👍

lukasIO commented 1 year ago

do you mean as part of the VideoConference prefab?

it should be pretty straight forward to add this yourself if you wrap VideoTrack component with something like https://github.com/DawChihLiou/react-use-pip

Vaib215 commented 1 year ago

no, can we provide any sort of custom controls in pip mode

Saurabh9678 commented 2 weeks ago

I would Like to know if PIP mode has been enabled in Livekit yet? If anyone could please guide me it would be a great help,

Thank you