Linux 可以用于 Chrome cast (chrome) 开发吗?
Can Linux be used for Chrome cast (chrome) development?
我是 Chrome 演员的新手。我问这个问题是因为我无法获得 helloText 示例应用程序 运行。
我在静态本地 IP 地址上托管接收器。发送者和接收者都是从 Google cast 的示例应用存储库中克隆的。然而,同一个应用 运行 在 Mac 上成功。在 Linux 它 return 一个 'session_error'。
我的应用已在 Google Cast SDK 中注册,并且所有选项均已按照说明进行标记。
来自 Ali Nadaff 的 SESSION_ERROR means a session could not be created, or a session was invalid. This answer 可能有帮助:
Make sure you have registered your chromecast device on the developer
console. Double check the serial number since sometimes it is hard to
read it. During the chromecast setup, there was a box stating
something like "Send the serial number ..", make sure that is checked
Wait 1/2 hour or so and reboot your chromecast Check whether you can
access http://:9222 from a chrome browser on the same
wifi network; if you can, then your device is ready for development
上面提供的答案是正确的。我遇到的具体情况是在 linux 上使用的 https server
必须作为例外添加(因为我使用的是本地服务器)。这无法在 chrome 演员表上进行管理,因此接收者无法 located/launched。我之前曾在 Mac 上使用过 http server
,并且在进行此更改后它也能正常工作。由于无法找到接收器,因此发生了 SESSION_ERROR
。
我是 Chrome 演员的新手。我问这个问题是因为我无法获得 helloText 示例应用程序 运行。 我在静态本地 IP 地址上托管接收器。发送者和接收者都是从 Google cast 的示例应用存储库中克隆的。然而,同一个应用 运行 在 Mac 上成功。在 Linux 它 return 一个 'session_error'。 我的应用已在 Google Cast SDK 中注册,并且所有选项均已按照说明进行标记。
SESSION_ERROR means a session could not be created, or a session was invalid. This answer 可能有帮助:
Make sure you have registered your chromecast device on the developer console. Double check the serial number since sometimes it is hard to read it. During the chromecast setup, there was a box stating something like "Send the serial number ..", make sure that is checked Wait 1/2 hour or so and reboot your chromecast Check whether you can access http://:9222 from a chrome browser on the same wifi network; if you can, then your device is ready for development
上面提供的答案是正确的。我遇到的具体情况是在 linux 上使用的 https server
必须作为例外添加(因为我使用的是本地服务器)。这无法在 chrome 演员表上进行管理,因此接收者无法 located/launched。我之前曾在 Mac 上使用过 http server
,并且在进行此更改后它也能正常工作。由于无法找到接收器,因此发生了 SESSION_ERROR
。