Giter Club home page Giter Club logo

odd.js's People

Contributors

oddengine avatar spencelau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odd.js's Issues

buffer is full

谷歌浏览器76,8路视频回直播流,播放大约2个小时,视频就断了,buffer is full.请问这个怎么解决

直播报错

"websocket-loader" initialized.
playease.js:313 media source open
playease.js:313 onMetaData: {"width":1280,"height":960,"framerate":25,"videocodecid":7}
playease.js:313 Mime type: audio/mp4; codecs="undefined".
playease.js:313 [ERROR] Mime type is not surpported: audio/mp4; codecs="undefined".
playease.js:313 Mime type: video/mp4; codecs="avc1.420020".
playease.js:313 [ERROR] MediaSource is closed while appending init segment.
playease.js:313 media source close
playease.js:313 Loader error: 1006

No buffering

I'm trying your video player.

I noticed that after a few minutes the streaming accumulates a delay of a few seconds due to my connection, that is correct, but the behavior I would like is that, in case of problems, streaming should align with the current vision without buffering.

How can I have this behavior?

thanks in advance for your reply and for your support.

Thoughts and issues

Hello,

I've been experiencing this player for WS:// purposes, and I've not been disappointed in it for this use ;)

But there are a few let downs that I'd like to pass to you :

1 - Following the docs, I've tried to add mulitple sources and even though it loads, it doesn't seem to work.. Basically, I've created 5 ws:// streams, added them to the playlist and changing the label to be sure of the ones I pick, and the first works perfectly, the other doesn't load and an error message appear.

2 - The other types of streams : I've been trying to play http://.../.../stream.flv, and it shows me an error message, same with a rtmp://..../.../stream, following the docs, and it doesn't work too. The m3u8 and dash are showing the same message.. so I'm quite disappointed from this point of view but maybe I did it wrong ?

On the other side :

1 - The player is easy and ready to use, it works well with ONE ws:// file and can be modified, that I appreciate !

2 - I've found myself with a full width/height player by changing some of the css, and the player goes itself fullscreen when first played, and it's responsive to the window height and width, I like that too !


Here were my thoughts about this player, I really like it, I just feel sad that all the functionalities don't seem to work :/

Thanks for your hard work !

Here is the bit of code I've been using as an example :

sources: [{
file: 'http://127.0.0.1/live/sample.flv',
type: 'flv',
label: 'HTTP-FLV'
}, {
file: 'ws://127.0.0.1/live/sample.flv',
type: 'flv',
label: 'WS-FLV'
}, {
file: 'ws://127.0.0.1/live/sample',
type: 'rtmpmate',
label: 'WS-RTMPMATE'
}, {
file: 'ws://127.0.0.1/live/sample',
type: 'wss',
label: 'WS-fMP4'
}, {
file: 'http://127.0.0.1/live/sample/manifest.mpd',
type: 'dash',
label: 'MPEG-DASH'
}, {
file: 'rtmp://127.0.0.1/live/sample',
type: 'flash',
label: 'RTMP-STREAM'
}, {
file: 'http://127.0.0.1/live/sample/index.m3u8',
type: 'def'
}],*/
mode: 'live',
controls: true,
autoplay: false,
loader: {
name: 'xhr-chunked-loader',
chunkSize: 2 * 1024 * 1024,
mode: 'cors'
},
bulletscreen: {
enable: true,
visible: true
},
fullpage: {
visible: false
},
render: {
name: 'flv',
bufferLength: 4 * 1024 * 1024,
swf: '../swf/playease.swf'
}

Basically, I've just set my rtmp/ws/http.. like in this example, and tried leaving xhr-chunked-loader and flv, and tried deleting it too .. but either way, only the first source of the playlist and WS:// only, seem to work :/

(I'm a rookie, just starting dev.. don't mind my comment ^^)

需求/意见征集 - 2.0

v1.2.xx将不再更新新功能,可以在该分支下获取源码。
现即将开始重构推出v2.0,除了底层优化外,将:

  • 采用SDK/Skin分离的方式,让自定义皮肤更方便
  • 针对直播业务,增加动态释放内存功能,以支持7x24直播
  • 针对点播功能,新增快进/快退功能
  • 针对直播业务,增加低延迟模式,以消除网络波动造成的TCP累积延迟
  • 动态流(平滑切换分辨率/码率等,需视频源支持)
  • iOS低延迟播放(CMAF/WebRTC,需使用我们的服务器)

另外,收到的需求有:

  • H265
  • iOS软解

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.