You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
When the tracks are not supported in the stream the onUpdateMetadata callback exits even before it notifies about change of other metadata like title, subtitle, logo, mediaType...
video.media.ts
protected onUpdateMetadata(event): void {
if (!this.mediaElement) {
Log.warn("MediaElement is null, ignore event (" + event.type + ")");
return;
}
if (!this.metadata) {
Log.warn("Metadata is null !!! ( implementation error )");
return;
}
if (
!(
this.mediaElement.audioTracks &&
this.mediaElement.videoTracks &&
this.mediaElement.textTracks
)
) {
Log.warn("Tracks not implemented !!! ( implementation error )");
return;
}
let signature: string = JSON.stringify(this.metadata);
this.updateTracks();
if (JSON.stringify(this.metadata) !== signature) {
this.mediaChannel.onUpdateMetadata(this.getMedatadata());
}
}
The other metadata never gets to the app...
Thank you,
Tomas
The text was updated successfully, but these errors were encountered:
When the tracks are not supported in the stream the onUpdateMetadata callback exits even before it notifies about change of other metadata like title, subtitle, logo, mediaType...
video.media.ts
The other metadata never gets to the app...
Thank you,
Tomas
The text was updated successfully, but these errors were encountered: