mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Replace StatusManager
This commit is contained in:
@@ -5,7 +5,7 @@ import options from "../../lib/options";
|
||||
import cast, { ensureInit } from "../../shim/export";
|
||||
|
||||
import { Message } from "../../messaging";
|
||||
import { Receiver } from "../../types";
|
||||
import { ReceiverDevice } from "../../types";
|
||||
|
||||
|
||||
function startMediaServer(filePath: string, port: number)
|
||||
@@ -343,7 +343,7 @@ async function registerMediaElementListeners() {
|
||||
|
||||
interface InitOptions {
|
||||
mediaUrl: string;
|
||||
receiver: Receiver;
|
||||
receiver: ReceiverDevice;
|
||||
targetElementId?: number;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@ import options from "../lib/options";
|
||||
import cast, { ensureInit } from "../shim/export";
|
||||
|
||||
import { ReceiverSelectorMediaType } from "../background/receiverSelector";
|
||||
import { Receiver } from "../types";
|
||||
import { ReceiverDevice } from "../types";
|
||||
|
||||
|
||||
// Variables passed from background
|
||||
const { selectedMedia
|
||||
, selectedReceiver }
|
||||
: { selectedMedia: ReceiverSelectorMediaType
|
||||
, selectedReceiver: Receiver } = (window as any);
|
||||
, selectedReceiver: ReceiverDevice } = (window as any);
|
||||
|
||||
|
||||
const FX_CAST_RECEIVER_APP_NAMESPACE = "urn:x-cast:fx_cast";
|
||||
|
||||
Reference in New Issue
Block a user