Jump to content

Buffer (or delay to buffer) a VideoTexture


Fuentes
 Share

Recommended Posts

Hi everyone:

I want to know how to add a delay to the VideoTexture object to buffering.

I develop a very demanding app that uses multiple videos at once. I wrote a similar app in C using gstreamer, and the performance is the same with the gain of simplicity of Bjs, but sometimes the videos stutters because the lack of buffering. This problem also it showed in the other app, but using the "delay" property of the GLVideoMixer element the problem was solved.

Anyone knows how to set this?

PS: All the videos are live feeds (from capture cards) in raw Planar YUV format.

Link to comment
Share on other sites

http://babylonjs-playground.com/#XWA7H#1


http://babylonjs-playground.com/#XWA7H#3


make a playground:
videotexture(dot)video and then (open a new tab) chose a search engine of your choice and type
html video buffering

you will get something like
https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_and_video_delivery/buffering_seeking_time_ranges

my playground from above has a limited browser support, make sure you read enough about video and html, it's a bit tricky, sometimes.

Good Luck

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...