Code Monkey home page Code Monkey logo

Comments (7)

xqq avatar xqq commented on September 22, 2024

Any error/warning logcat in Console?

from flv.js.

myhu avatar myhu commented on September 22, 2024

no, any error on Console

from flv.js.

myhu avatar myhu commented on September 22, 2024

and, forget to mention it was a live flv stream

var element = document.getElementsByName('videoElement')[0];
<------><------>var mediaDataSource = {
<------><------><------><------><------>"type" : "flv",
<------><------><------><------><------>"isLive" : true,
<------><------><------><------><------>"url" : "http://uri:1935/origin/Pubteszt02.flv"
<------><------><------><------><------>}
<------><------>player = flvjs.createPlayer(mediaDataSource, {
enableWorker: false,
lazyLoadMaxDuration: 3 * 60,
seekType: 'range',
});
player.attachMediaElement(element);
player.load();

from flv.js.

xqq avatar xqq commented on September 22, 2024

wow.
Because of the missing of fetch+stream API,
http flv live stream playback is currently unavailable on Safari.

See https://github.com/Bilibili/flv.js/blob/master/docs/livestream.md

from flv.js.

myhu avatar myhu commented on September 22, 2024

oooo, sorry, totally forget

is it possible to use fetch library import to flv.js?
https://github.com/github/fetch

from flv.js.

xqq avatar xqq commented on September 22, 2024

No. polyfill cannot emulate stream I/O without browser support.
See https://github.com/Bilibili/flv.js/blob/master/src/io/fetch-stream-loader.js

If some feature can be implemented through polyfill, it can be implemented directly by the underlying API.
But unfortunately fetch+stream CAN NOT.

from flv.js.

myhu avatar myhu commented on September 22, 2024

ooo, what a pity...

Your stuff is amazing, by the way...go on
I appreciate of your quick answer, and help...thx really

from flv.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.