See if that helps

This commit is contained in:
Manav Rathi 2024-05-09 17:02:14 +05:30
parent 3e4f88338e
commit 211b41680b
No known key found for this signature in database

View file

@ -116,6 +116,8 @@ const advertiseCode = (cast: Cast) => {
const namespace = "urn:x-cast:pair-request";
const options = new cast.framework.CastReceiverOptions();
// Do not automatically close the connection when the sender disconnects.
options.maxInactivity = 3600; /* 1 hour */
// We don't use the media features of the Cast SDK.
options.skipPlayersLoad = true;
// Do not stop the casting if the receiver is unreachable. A user should be