Skip to content

Commit

Permalink
refactor: page scope chromecast session
Browse files Browse the repository at this point in the history
closes #345
  • Loading branch information
trueChazza committed Apr 17, 2023
1 parent be6295d commit 83d753d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/media_server_web/templates/watch/watch.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
if (isAvailable) {
cast.framework.CastContext.getInstance().setOptions({
receiverApplicationId: 'B7C82081',
autoJoinPolicy: chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED
autoJoinPolicy: chrome.cast.AutoJoinPolicy.PAGE_SCOPED
});
cast.framework.CastContext.getInstance().addEventListener(cast.framework.CastContextEventType.CAST_STATE_CHANGED, function({ castState }) {
Expand Down

0 comments on commit 83d753d

Please sign in to comment.