Languages

Menu
Sites
Language
Smart TV: HTTP video stream hangs

Hello everyone.

I'm trying to make HTTP video stream play on Samsung Smart TV (Tizen platform). It starts playing, plays for 3-4 minutes, then begins to freeze occasionally. Sound may stop for a while, picture freezes. And after all platform completely hangs.

TV responds on PING, but debug connection hangs, and in Tizen Studio I'm unable to reconnect to device. This reproduces on at least three different TVs - UE32J5500, UE32K5500AW and UE40KU6000UXRU.

I'm trying to use both HTML5 and AVPlay API - and no difference at all. AVPlay API error handler does not report any errors to the console. Debug shows that buffering before freeze is stuck on the same value (onbufferingprogress event is fired with the same argument).

Code used for playing is bare PlayerAVPlay from https://github.com/SamsungDForum/PlayerAVPlay repository, with only added function to get HTTP stream address from stream provider.

I have no idea how to fix platform freezes. Can anyone suggest something to fix the problem?

 

PS I can provide test URL for the stream.

PPS VideoLan VLC player on the desktop runs this stream flawlessly.

 

Responses

12 Replies
John Ixion

The github repo is probably obsolete, I would recommend video.js: https://github.com/videojs/video.js/

John Ixion
Zlygin

Thanks for response. The first one is using HTML5 that on Tizen TV is unable to show DASH and HLS streams (according to official documentation). Second one is not relevant. I'm trying to use AVPlay API for the first place (here is document - http://developer.samsung.com/tv/develop/guides/multimedia/media-playback/using-avplay).

Zlygin

I already have player that supports everything that I need. It uses AVplay API and according to Samsung dev site I have to use this API to support DASH, and HLS, and HTTP natively. HTML5 <video> tag on Tizen TV supports only HTTP.

Then, a problem is that I need all three protocols to  be supported in the app at the same time - HLS, DASH, HTTP. I already have a problem with DASH on some TVs, it just don't work - okay, buggy firmware, new (H265) codec.

But - I also have a stream source (HTTP/H.264) that makes TV hang completely. TVs (numerous devices) after several minutes stops, displays frame from the video, no sound, doesn't react on Home, Exit, short Power (!) button presses. Only long press to power button or switching off electricity on TV helps to run TV again.

So, the question is simple - how to avoid this bug in the TV firmware?

GEUNSOO KIM

Could you share the streaming source URL?

Zlygin

Here it is: http://217.19.222.11:8015/001/1507613200

Link requires no authorization, shows russian tv channel. For now hangs after 3-4 to 15 minutes of playing.

I can also share (by mail) demo player with inlined login and password (auth-based stream).

Zlygin

Here is the link to full dump of TCP stream when TV hangs: https://drive.google.com/file/d/0B3ZoF2KGF3O4eWRLZWRrMFBNQVU (654Mb), and shorter version is here: https://drive.google.com/open?id=0B3ZoF2KGF3O4akphM09KVUR2VUk (less than 1Mb).

In the full dump TV hangs near 471 second of the dump.

GEUNSOO KIM

I have tested the streaming source on simple HTML5 video tag.

tv model was M5300 and I have played the stream about 30 minutes, but there was no hang or problem at all.

 

Zlygin

Hangs are reproduced even using HTML5 tag. Here is the link to demo application I used for testing: https://github.com/JSmith01/demoTV (second stream should be selected with arrows).

Test stream made TV hang after 5 minutes of playback. I'm using UE40KU6000 model with firmware 1201 installed (T-JZL6DEUC-1201.6)

 

Zlygin

Also reproduced on UE32K5500AW, software T-HKMFKDEUC-1201.6