Your Digital Media Has Never Looked So Good

 
User avatar
24i
Topic Author
Posts: 21
Joined: Wed Feb 15, 2017 7:22 am

Rendering issue with images on top of a playing video

Thu Jul 13, 2017 1:46 am

Hi,

We are running into a rendering issue when we try to loading images on top of a playing video.
The images are side-loaded from an API of our customer. 
If the image is received and rendered before the video starts playing everything is fine, but if the video started playing before the images are received/rendered the 'loadStatus' of the Poster node returns 'failed' and the image is therefore not shown. If we keep retrying to load/render the image from the same url, eventually it will render but takes a lot of time/retries...

Anyone else having this problem or knows a way to solve this? 
We can't wait for the images to be loaded and then start the video as we can't really do that check in the architecture that we have...
 
Veeta
Posts: 121
Joined: Tue Aug 12, 2014 4:44 am
Location: http://www.veeta.tv
Contact:

Re: Rendering issue with images on top of a playing video

Thu Jul 13, 2017 10:16 am

Once issue I have run in to is loading too many remote items at the same time.  There seems to be an upper limit on the number of HTTP requests happening simultaneously.  It could be that they are used up by the video player when it starts.  Another way I've experienced this is loading too many poster nodes at the same time, a number of them will fail.  One way around it is to preload the images to tmp:/ using AsyncGetToFile, otherwise your retry solution is probably the best.
 
User avatar
Tyler Smith
Posts: 74
Joined: Thu Apr 14, 2016 10:51 am
Location: Nova Scotia, Canada
Contact:

Re: Rendering issue with images on top of a playing video

Thu Jul 13, 2017 11:01 pm

How big are the file sizes of your images?  Sounds to me like you're using up too much memory.
Tyler Smith
Senior Developer, REDspace
redspace.com
 
User avatar
24i
Topic Author
Posts: 21
Joined: Wed Feb 15, 2017 7:22 am

Re: Rendering issue with images on top of a playing video

Fri Jul 14, 2017 8:11 am

@Veeta
Doesn't seem like the problem as it also happens when loading just 1 image, for instance a channel logo or something.
We could try the "preload the images to tmp:/ using AsyncGetToFile" but probably won't work (see below the comment from Roku)

@Tyler Smith 
The file sizes are very low, so that can't be the problem.

So we contacted Roku themselves about this and this seems to be an issue on most devices:

You'll find that this type of functionality is not supported by the following devices:
- Giga 
- Jackson
- Tyler
- Paolo
- Sugarland
Otherwise, you'll have to wait for images to load before beginning video playback.
 
User avatar
RokuNB
Posts: 183
Joined: Fri Mar 31, 2017 2:22 pm

Re: Rendering issue with images on top of a playing video

Mon Jul 17, 2017 5:10 pm

24i wrote:
So we contacted Roku themselves about this and this seems to be an issue on most devices:

You'll find that this type of functionality is not supported by the following devices:
- Giga 
- Jackson
- Tyler
- Paolo
- Sugarland
Otherwise, you'll have to wait for images to load before beginning video playback.

Don't take that as a gospel - i asked around and the tech.person answering meant "not recommended because of performance concerns" (with such-and-such devices) which changed to "not supported" by whomever communicated it.

It's possible there is a bug that manifests only on low-end devices but can be addressed. Can you write some "minimal example" code that demonstrates this, to use as a basis for an issue? Also if you can report firmware#, player model#

Who is online

Users browsing this forum: No registered users and 8 guests