1

我正在尝试使用 Connect SDK 1.4.1 在 LG 电视上播放 MP4 视频。我们有 Chromecast 和 Apple TV 的有效实施。

首次启动我们的应用程序时,我们能够成功连接到 LG 电视。第一次尝试播放我们自己的视频时,我们没有收到 Connect SDK 的响应,也看不到电视上的视频播放。在控制台输出中,电视似乎与应用程序断开连接。控制台输出可以在下面的控制台输出中看到。

但是,我们能够成功播放您演示中提供的Sintel视频。播放该视频后,以后任何尝试从我的应用程序播放视频都会导致播放 Sintel 视频。

我使用Charles将路径重定向到 Sintel 视频,到我的应用程序中使用的视频,发现视频播放正常。这似乎是应用程序和电视之间的通信问题导致了这种意外行为。

我做错了什么是 LG 平台特有的吗?我可以提供任何其他信息来解决此问题吗?

谢谢!

规格:ConnectSDK 1.4.1(使用 Cocoa Pods 安装)平台:iOS 8.1.2 (12B440) LG 电视型号:47LA6200(2014 年 1 月)流格式:MP4;H.264@1280x720;AAC 44100 Hz 立体声

控制台输出。

[DEBUG] Did open connection on socket 27
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Did open connection on socket 29
[DEBUG] Connection received 909 bytes on socket 29
[DEBUG] Connection received 350 bytes on socket 27
[DEBUG] Connection on socket 29 preflighting request "NOTIFY /RenderingControl/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 909 bytes body
[DEBUG] Connection on socket 29 processing request "NOTIFY /RenderingControl/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 909 bytes body
[DEBUG] Connection received 2379 bytes on socket 27
[DEBUG] Connection on socket 27 preflighting request "NOTIFY /ConnectionManager/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 2729 bytes body
[DEBUG] Connection on socket 27 processing request "NOTIFY /ConnectionManager/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 2729 bytes body
[DEBUG] Did open connection on socket 32
[DEBUG] Connection sent 122 bytes on socket 29
[DEBUG] Did close connection on socket 29
[VERBOSE] [192.168.1.121:49291] 192.168.1.144:38356 200 "NOTIFY /RenderingControl/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" (909 | 122)
[DEBUG] Connection received 1724 bytes on socket 32
[DEBUG] Connection on socket 32 preflighting request "NOTIFY /AVTransport/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 1724 bytes body
[DEBUG] Connection on socket 32 processing request "NOTIFY /AVTransport/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" with 1724 bytes body
[DEBUG] Connection sent 122 bytes on socket 27
[DEBUG] Did close connection on socket 27
[VERBOSE] [192.168.1.121:49291] 192.168.1.144:38355 200 "NOTIFY /ConnectionManager/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" (2729 | 122)
[DEBUG] Connection sent 122 bytes on socket 32
[DEBUG] Did close connection on socket 32
[VERBOSE] [192.168.1.121:49291] 192.168.1.144:38357 200 "NOTIFY /AVTransport/45d7f4f5-ebfc-4d0b-f5bd-79e51d2b2006/event.xml" (1724 | 122)
2015-01-13 16:47:32.843 Connect-Demo[1853:1424495] TeamStreamConnectVideo downloaded manifest...
[DEBUG] Did disconnect
[DEBUG] Did end background task
4

0 回答 0