LG TV没有使用ConnectSDK播放视频/播放错误的视频

时间:2015-01-13 22:11:24

标签: ios video television lg live-connect-sdk

我正在尝试使用Connect SDK 1.4.1在LG电视上播放MP4视频。我们在Chromecast和Apple TV上实施了一项工作。

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

但是,我们可以成功播放演示中提供的Sintel视频。播放该视频后,将来尝试从我的应用播放视频会导致播放Sintel视频。

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

我做错了LG平台特有的事吗?我可以提供任何其他信息来解决这个问题吗?

谢谢!

规格: ConnectSDK 1.4.1(使用Cocoa Pod安装) 平台: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

0 个答案:

没有答案