Giter Club home page Giter Club logo

react-flv-player's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-flv-player's Issues

Audio Distortion in live streaming

In live streaming videos (Flv), on 80% of the videos, there is huge distortion in the audio of the video. The video plays seamless but the audio is completely distorted. We have tried all the given setting parameters in the library. But nothing seems to be working.
Although if you play the same video after downloading it, then it plays fine, but when the video is streamed live, the audio is completely broken.

Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source.

I am trying to stream a live flv link using react-flv-player. But I am getting the error in chrome debug console.

"Uncaught (in promise) DOMException: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source."

I am using the code below.

<ReactFlvPlayer url='http://103.104.141.124:10006/live?port=1935&app=live&stream=353376110052799' heigh='800px' width='800px' isMuted={false} isLive={true} // stashInitialSize={'128kb'} handleError={err => { switch (err) { case 'NetworkError': // todo console.log('network error') break case 'MediaError': console.log('network error') break default: console.log('other error') } }} /> </div>

Can anyone tell me how can i make it work?

Getting Uncaught TypeError

I am using this player for live streaming in my react application but it is giving me an error Uncaught TypeError: Cannot read property 'currentURL' of null. Here is a screenshot of an error, how can i resolve it?

image

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.