2008-10-21, 20:16
Can anyone explain how/where the buffer size is set when playing an internet stream in dvdplayer? From a quick test (on Windows), the System:Cache settings don't seem to have an effect. I don't see anywhere obvious in the dvdplayer code that deals with it... however I've probably overlooked something.
I'd like to improve the rtmp playback:
1) currently the XBOX codestream doesn't have any pre-caching at all, so an rtmp stream starts playback then rebuffers after a few seconds. The linuxport code has a pre-buffer dialog but the size doesn't seem to be configurable.
2) the DvdInputStreamRTMP code doesn't correctly declare it's buffer size to the rtmp server, which makes playback unnecessarily slow to start (data is only sent at the playback rate, if it knew our buffer size that much data would be sent as fast as possible).
I'd like to improve the rtmp playback:
1) currently the XBOX codestream doesn't have any pre-caching at all, so an rtmp stream starts playback then rebuffers after a few seconds. The linuxport code has a pre-buffer dialog but the size doesn't seem to be configurable.
2) the DvdInputStreamRTMP code doesn't correctly declare it's buffer size to the rtmp server, which makes playback unnecessarily slow to start (data is only sent at the playback rate, if it knew our buffer size that much data would be sent as fast as possible).