⏭️ODK Video/Millicast Screens
Documentation for ODK Video/Millicast Screens
Last updated
Documentation for ODK Video/Millicast Screens
Last updated
The video screens in the ODK are intended to be a seamless solution for playing video alongside important millicast streams. The BPM_VideoPlayerWithMillicastBase actor is a base class for these screens but will not function without a mesh to display the video on.
BPM_VideoPlayerWithMillicastCurvedScreen is an example of how the base class can be extended to show the stream on a mesh in the world.
The important function to consider here is “GetMeshComponentToDisplayOn” and should be overwritten to define a static mesh component and MaterialIDs
In this example, the video is displayed on the curved video screen mesh and assigned to material IDs 0 and 1. This allows for the image to be shown the correct orientation on the back side of the mesh.
The base class contains several configurable variables to help with the setup of the videos and millicast.
The Receiver name will be used on the Millicast Control panels to set which screen to display millicast content on.
The media texture and media player variables can be reused across multiple screens to keep them in sync, or a unique media player/texture can be created if the user would like media to continue uninterrupted while millicast streams are played on other screens.
The playlist variable contains a list of M2FileMediaSource assets that reference local video files. The player will loop through the playlist until interrupted by a live Millicast stream, at which point it will switch to the millicast stream texture. When the stream ends, the screen will switch back to the playlist and continue.