How can i detect when there is no data to play in http stream mode?
Posted: 23 Aug 2015 10:16
I am using libvlc to play video with http over network. When data is not available, player stops playing and hangs at http access Read function. How can i detect this hangs? When this happened i need to show some info. I know i can simply write some wrapper around standart http access, BUT, when input thread hangs at access->Read player can still play some demuxed data, how to detect when player is not playing and waiting for data from network? sorry for my english.