-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to fully disable buffering? #68
Comments
If you want to disable them permanently, just remove/restore buffering related macro and code no in original ffplay.c |
Ok, thanks for your reply, I'll try it asap and if I got it working I'll close this issue. |
I'm not sure if my issue is related to this issue or not but the problem is our server streams flv/h264 at 256kbs rate and the server speed is stable and high, if i play the stream using linux ffplay or mplayer everything is ok and smooth without interruption. The problem is when we use ijkplayer on android, most of the time ijkplayer starts getting the stream and play the stream and buffering at the same time but after like 10 seconds or more it stops buffering and countinue plays like 10 seconds more(no data is received in while it plays from buffer) and then playing stops, what do you suggest now? can you tell me how can I make ijkplayer buffer all the time or disable buffering ? and which file should I change? |
ijkplayer does buffer all the time, but if buffered duration/size is not enough, it pauses and waits for enough data to be filled, to avoid frequent buffering. Have a look at ffp_check_buffering_l() in ff_ffplay.c, and macros in ff_ffplay_def.h
|
@AbelCS were you able to solve this issue? |
Hi, What's the better way to fully turn off stream buffering?
I've found the XX_HIGH_WATER_MARK_XX, MIN_FRAMES and MAX_QUEUE_SIZE but I don't know whats the purpose of them beyond the comment that explains START and NEXT. Can you explain it to me or give me any reference to documentation?
I have tried different values and always noticed at least 2 seconds delay compared to ffplay when consuming the same stream simultaneously.
I'm trying with this values now:
Thanks a lot.
Best regards.
The text was updated successfully, but these errors were encountered: