Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Try without the workaround

Manav Rathif45902e29018
diff --git a/web/apps/cast/src/services/pair.ts b/web/apps/cast/src/services/pair.ts
index 0364cf4916..e7318e4395 100644
--- a/web/apps/cast/src/services/pair.ts
+++ b/web/apps/cast/src/services/pair.ts
@@ -119,10 +119,10 @@ export const advertiseCode = (
// We don't use the media features of the Cast SDK.
options.skipPlayersLoad = true;
// TODO:Is this required? The docs say "(The default type of a message bus
- // is JSON; if not provided here)."
- options.customNamespaces = Object.assign({});
- options.customNamespaces[namespace] =
- cast.framework.system.MessageType.JSON;
+ // // is JSON; if not provided here)."
+ // options.customNamespaces = Object.assign({});
+ // options.customNamespaces[namespace] =
+ // cast.framework.system.MessageType.JSON;
// Do not stop the casting if the receiver is unreachable. A user should be
// able to start a cast on their phone and then put it away, leaving the
// cast running on their big screen.