【发布时间】:2020-10-28 12:21:00
【问题描述】:
我正在尝试在第一次连接中(在加载任何流之前)从Chromecast 接收方获取发送方应用程序语言以显示欢迎消息。
我的发件人代码中有此设置选项:
cast.framework.CastContext.getInstance().setOptions({
receiverApplicationId: castReceiverId,
autoJoinPolicy: chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,
language: languageService.getCurrentLanguage().iso6393,
resumeSavedSession: true,
});
有没有办法在接收器代码中恢复这些参数?
【问题讨论】:
标签: chromecast google-cast google-cast-sdk