buffering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

My doubt is more towards programming.
I want to stream a video file from a server to a client and
play it using real player. Since, real player doesn't read
from a pipe, I have to write to a file and give that file as
input to the real player, so that it can start playing the
video file even before the download is complete. Now, in C, the function fwrite doesn't write to the file unless the file
pointer is closed. This makes streaming impossible.


Is there any way to get around this ?

**
Quote for thought:

Speak when you are angry and you will make the best speech you will ever regret.

- Dinil Divakaran
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux