mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 01:59:58 +00:00
Implement media element state syncing for media sender
This commit is contained in:
@@ -75,7 +75,8 @@ export default class Media {
|
||||
}
|
||||
get #lastUpdateTime() {
|
||||
const lastUpdateTime = MediaLastUpdateTimes.get(this);
|
||||
if (!lastUpdateTime) throw logger.error("Missing last update time!");
|
||||
if (lastUpdateTime === undefined)
|
||||
throw logger.error("Missing last update time!");
|
||||
return lastUpdateTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user