Skip to main content

MLVideoExtension.OnVideoStatusChanged

"Read-Only"

This property is Read-Only

NameType
OnVideoStatusChangedEventHandler

Event callback function requirement

info

This property is an event. It means that you need to add a listener function to it. Here how that function needs to look like.

function();

Usage

--- @type 
local mlvideoextension;

--- callback function called when event triggers

local function CallBack()
-- code to handle event call back
end


-- Regsiter callback function
mlvideoextension.OnVideoStatusChanged.Add(CallBack);

Description

This event fire when the status of the video changed by other clients in the room. Use if you check the “TryToSynchronizeVideoPosition” in component.