API > MLVideoExtension > OnVideoStatusChanged
MLVideoExtension.OnVideoStatusChanged⚓︎
Read-Only
This property is Read-Only
Name | Type |
---|---|
OnVideoStatusChanged | EventHandler |
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.