kibook / pmms

Synchronized media player for FiveM and RedM
136 stars 57 forks source link

Different scaleforms in sync #34

Open Thercious opened 2 years ago

Thercious commented 2 years ago

Is is possible to make multiple scaleforms of different sizes and positions play the same content in sync?

My usage cases are the Sisyphus Teather (3 scaleforms) and Vinewood Bowl (5 scaleforms) locations in GTA V, as these places have additional side panels that could be used to give players a better vision of what is being displayed on the 'main screen' at the stage.

I succesfully created multiple scaleforms as entities for each position, but I'm not sure how to proceed after that.

kibook commented 2 years ago

It is not possible currently, but the solution is the same as what's been discussed in #27 and what @TayMcKenzieNZ mentioned in #19. Eventually the idea will be that you can link additional media players to one main player so that they all play the same exact stream in sync.

Currently you can play the same thing on multiple media players, each of which may have an associated scaleform, but they are not necessarily synced and each will be accessing the media stream separately, which is very inefficient.