Comments (16)
HI, Can you give me more info about video format (like bitrate, frame resolution), please?
You may get such data from the info view or from the output log.
Thanks.
from kxmovie.
A few seconds and lag rtmp://aragontvlivefs.fplive.net/aragontvlive-live/stream_normal_abt
& more rtmp://ucaster.eu:1935/live/definst/discoverylacajatv
from kxmovie.
Yes, sometimes it lags due to network latency.
The fast and crude way to fix it's to change NETWORK_BUFFERED_DURATION parameter.
Set it to 3.0 or 4.0.
The right way it's to change the buffering algorithm for remote files.
I have this issue in my TODO list, but I can't say anything about timeline.
Best wishes.
from kxmovie.
Ok, thanks, I'll try
from kxmovie.
I have been trying to change the NETWORK_BUFFERED_DURATION but does not fix the lag and does not work
Wait your updates.
Thanks
from kxmovie.
iPhone 4s and iPhone 5 is ok for me :)
from kxmovie.
I've tried these two directions* .... with an ipad2, iphone4 and iphone5 and works much lag, stutters.
rtmp://aragontvlivefs.fplive.net/aragontvlive-live/stream_normal_abt
rtmp://ucaster.eu:1935/live/definst/discoverylacajatv
You have changed anything?
from kxmovie.
Hi,
I tried your streams:
rtmp://ucaster.eu:1935/live/definst/discoverylacajatv
it's OK ok for me.
I think you first try on your PC to confirm you internet connection is fast enough
from kxmovie.
Could anyone try this stream: http://livecdn.megatv.vn/live/VTV3_Cluster_out
The first 15sec is very smooth, after then, lag & stutter : (
My definition
#define NETWORK_BUFFERED_DURATION 4.0
from kxmovie.
http://livecdn.megatv.vn/live/VTV3_Cluster_out is ok for me , I have watched half an hour :P
from kxmovie.
Cool! May be internet speed issue, like what @nokai had :-D
from kxmovie.
By the way, what is your NETWORK_BUFFERED_DURATION value?
from kxmovie.
I didn't modify anything , I think you can ping your server to check network is ok.
#define DEFAULT_DECODE_DURATION 0.1
#define NETWORK_BUFFERED_DURATION 2.0
To @kolyvan
I hope one feature : It will be good to add reload url api for KxMovieViewController, so I can reload the url to replay if there are some errors when live streaming
from kxmovie.
The problem is with ffmpeg
I try with rtmp://ucaster.eu:1935/live/definst/discoverylacajatv
#define DEFAULT_DECODE_DURATION 0.1
#define NETWORK_BUFFERED_DURATION 4.0
in simulator and works well.
but on the iphone 4 with wifi, the same connection (very good). lag imagen & audio
2012-12-27 16:32:39.099 KxMovieExample[3483:6503] desync audio (lags) skip 2.0520 0.0260
in iphone 5
2012-12-27 16:39:38.055 KxMovieExample[3231:6903] desync audio (lags) skip 73.7990 71.7890
:(
from kxmovie.
I think it's buffering issue, not ffmpeg : ) @kolyvan may give us some ideas how to solve
from kxmovie.
Hi All,
I pushed the commit 0ba37a3 to new branch 'network'.
There are small improvements of buffering network-based streams.
Certainly it cannot solve bandwidth issue, but buffering process will a little more clear for user.
Thanks all for feedback.
from kxmovie.
Related Issues (20)
- 编译失败,原因如下,bitcode设置为NO后有别的库报错。有没有包含bitcode的库呢?
- 如何设置kxmovie打开视频的宽高比?以16:9或者4:3打开
- iphone5, iOS 10.3.2 can't play
- FFMpeg读取内存数据NSData用了AVIOContext * avio_in =avio_alloc_context(inbuffer,32768*20,0,NULL,read_buffer,NULL,NULL)
- Cannot make project run HOT 5
- 不支持 rtp 吗,如果支持的话,怎么设置sdp文件呢 HOT 9
- Bult failed HOT 1
- 支持h265么?硬解怎么设置??
- 'libavutil/avconfig.h' file not found HOT 1
- 编译起来到处报错........................... HOT 7
- How to customise kxmovie player
- 支持h265吗?
- rake failed HOT 1
- rake fail HOT 1
- 声音卡顿问题 播放卡顿
- add filter
- Suggestion
- 你好,我的场景是:iOS需要播放加密的m3u8文件,后台把每个ts地址进行加密,客户端进行解密后播放,请问支持吗?现在解密每个ts已实现,该怎么播放?希望得到您的帮助。 HOT 1
- 关于版权
- Need to feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kxmovie.