Is it possible to customize the events triggered when a video starts or stops playing?
I attempted the code below, but unfortunately, it did not yield any results:
this.videoTrack = screenTrack as LocalVideoTrack;
this.videoTrack.stopped = function (event) {
//TODO: Execute actions to disable buttons
};
this.videoTrack.started = function (event) {
//TODO: Execute actions to enable buttons
};