Questions tagged [buffering]

Buffering is a process of temporarily storing data while it is being moved from one place to another.

Buffering is a process of temporarily storing data while it is being moved from one place to another. A buffer often adjusts timing by implementing a queue (or FIFO) algorithm in memory, simultaneously writing data into the queue at one rate and reading it at another rate.

Use this tag for programming questions related to data buffer and the process of buffering.

Source: Wikipedia

493 questions
0
votes
1 answer

Prevent FLV Buffering (AS FLVPlayback component)

I have a client who is insisting on having a 65Mb FLV on her home page. I talked her down off of the auto-play ledge but I am concerned about wasting bandwidth on a movie that one in 30 visitors might play. In looking at the docs for the…
jerrygarciuh
  • 21,158
  • 26
  • 82
  • 139
0
votes
2 answers

How to write info to the file from bash script and see the result immediately?

I need help. I can't understand how I can write information to the file from bash script and see the result immediately. For example: #!/usr/bin/env bash PID=$$ echo "PID is $PID" echo $PID > my_script.pid echo "Sleeping..." sleep 5 echo…
Alexander
  • 1
  • 1
0
votes
1 answer

output buffering a function parameter

I have two simple PHP functions: I want the second function to store data and use it later whenever I want but when I try to…
Joseph
  • 20
  • 3
0
votes
0 answers

Netty 4.0.26-FINAL client to send multiple small messages and sync

I have a client that needs to send alot of small messages to a server (< 8k each messages), now a single thread can push about 1.2 million of messages one after the other without delay in between the reception of those messages. How would I…
DarkRift
  • 224
  • 2
  • 11
0
votes
1 answer

I/O classes buffering

I know that since Java 1.5 PrintWriter preforms internal buffering even if it created with PrintWriter(String fileName) constructor. So i don't need tedious decoration like this: PrintWriter out = new PrintWriter(new BufferedWriter(new…
Dmytro
  • 1,850
  • 3
  • 14
  • 20
0
votes
1 answer

Images not showing in imagebox

I am trying this method of double image buffering, it is a for each loop which loops through the whole array and if the int is an even number it will add it to the end string variable and then display that image in StarImage however if it is an odd…
Jermain Defo
  • 189
  • 1
  • 1
  • 11
0
votes
1 answer

Android "Can't playthis video" while buffering

I have a VideoView and sometimes, depending on network performance, it displays the "Can't play this video" alert even if the video was already playing. The impression I have is that, if the network performance is poor and the buffer runs out, it…
ascallonisi
  • 871
  • 1
  • 11
  • 20
0
votes
1 answer

NetStream: dual threshold buffering, and seeking beyond buffer

This was a helpful article about dual threshold buffering. It explains that you can listen for the NetStream.Buffer.Full and NetStream.Buffer.Empty events on a NetStream and adjust the NetStream's buffer time accordingly to make the best use of…
Rob Allsopp
  • 3,309
  • 5
  • 34
  • 53
0
votes
1 answer

Strategies for playing (long) audio files from disk

I wanted to start a thread on this. A lot of people are wondering how to do it in a specific context or with a specific language, but I was wondering what's the best strategy in general I see two main practices : load small chunks (like 2048…
0
votes
1 answer

What is the difference when using Output Buffer on PHP?

I am new at PHP, and I have a question about Output Buffering.I have this code I found on the net: ob_start(); system('ipconfig /all'); $contents = ob_get_contents(); ob_end_clean(); …
Daniel
  • 13
  • 4
0
votes
1 answer

How can you buffer two online videos alternately while playing one of them?

On my website, I want my user to be able to launch video 2 at any point in the middle of video 1 without waiting or refreshing the window. How can I buffer the two videos such that I buffer video 1 enough to let it start playing, and then buffer…
0
votes
0 answers

How to buffering fast of audio files in ios application?

I am trying to buffer a audio file which i am trying to load from server URL.The audio file length is 3 to 4 minutes.Whenever i am using AvAudioPlayer or AvPlayer it is taking so much time to load the audio file.I have tried to implement third…
user2182231
  • 111
  • 1
  • 1
  • 10
0
votes
1 answer

Reducing buffer length in Win 8 MediaElement

I'm working on implementing a streaming client that takes audio and video streamed from a server on the user's local network and renders it in real-time. I've been using a MediaElement to handle receiving the stream:
blastron
  • 13
  • 4
0
votes
1 answer

How to check if something was echoed in php?

I'm working on a project based on some custom CMS wherein display blocks are returned by CMS's module when I call it. These blocks are drawn using custom functions I've defined across different files. Certainly, ob_start() is used already in CMS…
Sayed
  • 601
  • 6
  • 21
0
votes
2 answers

VideoView onBufferingUpdate() not getting called?

I want to allow only 20% of the video to be buffered. But for some reason my onBufferingUpdate() is not getting called. Any reason? I am trying to play .m3u8 on VideoView. The video gets played but onBufferingUpdate() is not getting called. This is…
user2234
  • 1,282
  • 1
  • 21
  • 44