mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Call initialize success callback before receiver listener
This commit is contained in:
@@ -106,13 +106,13 @@ export function initialize (
|
|||||||
, data: { appId: apiConfig.sessionRequest.appId }
|
, data: { appId: apiConfig.sessionRequest.appId }
|
||||||
});
|
});
|
||||||
|
|
||||||
apiConfig.receiverListener(receiverList.length
|
|
||||||
? ReceiverAvailability.AVAILABLE
|
|
||||||
: ReceiverAvailability.UNAVAILABLE);
|
|
||||||
|
|
||||||
if (successCallback) {
|
if (successCallback) {
|
||||||
successCallback();
|
successCallback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apiConfig.receiverListener(receiverList.length
|
||||||
|
? ReceiverAvailability.AVAILABLE
|
||||||
|
: ReceiverAvailability.UNAVAILABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function logMessage (message: string): void {
|
export function logMessage (message: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user