Improve SDK log message format

This commit is contained in:
hensm
2022-09-01 07:28:39 +01:00
parent 715f645850
commit f50c8937e4
3 changed files with 9 additions and 5 deletions

View File

@@ -3,8 +3,6 @@
import { v4 as uuid } from "uuid";
import { Logger } from "../../../lib/logger";
const logger = new Logger("fx_cast [sdk :: cast.Media]");
import { getEstimatedTime } from "../../utils";
import type { SenderMediaMessage } from "../types";
@@ -34,6 +32,8 @@ import {
} from "./classes";
import { PlayerState, RepeatMode } from "./enums";
const logger = new Logger("fx_cast [sdk :: cast.Media]");
export const NS_MEDIA = "urn:x-cast:com.google.cast.media";
type MediaMessageCallback = (