Segvik
Segvik3mo ago

synchronize a video in a too

Hi guys! I'm trying to develop a meeting room in which I want to play a video on a screen and all the players can see together. I tried adding a Realtime Transform to the screen object but it doesn't work. Any ideas on how to do it? Thank you all!
4 Replies
kapa.ai
kapa.ai3mo ago
Hi @Segvik. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The RealtimeTransform component in NormalVR is used to synchronize the position, rotation, and scale of a GameObject, not the state of a video player. Therefore, adding a RealtimeTransform to the screen object won't synchronize the video playback across different clients. Unfortunately, the provided knowledge sources do not contain information on how to synchronize video playback in a multiplayer environment using NormalVR. You might need to create a custom solution for this, possibly involving a RealtimeComponent that keeps track of the video's playback state (like current time, is it playing or paused, etc.) and synchronizes this state across all clients. For more information on how to use RealtimeComponents, you can refer to the Normcore Documentation (https://normcore.io/documentation/realtime). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@141651651571351553> kapa.ai is still learning and improving, please let us know how it did by reacting below
Mechabit
Mechabit3mo ago
look at the stopwatch example, you can adapt it to sync the playback time of a video
Mechabit
Mechabit3mo ago
Timers + Synchronized Playback | Normcore Documenation
A common need in Normcore is to synchronize a timeline across all clients for music playback or animation playback. A naive approach would be to choose a main client and have it send updates to all clients to update their timelines. This uses a lot of bandwidth, it can result in choppy playback for the other clients, and playback isn't guarantee...