
RTMP no buffering?
The title says it all really. getbuffer gives a value of 0 all the time, suggesting jwplayer isnt creating a buffer...
Im using jwplayer to show a live audio+video stream via RTMP (red5).
It plays and works etc, but it buffers every few minutes, ruining playback for viewers.
I've obviously tried buffer sizes from 5 to 60 seconds but get the same issue.
I've tried setting duration to 0, -1 and 99999, thinking it may alter the buffering behaviour but it does not.
Using getbuffer var suggests that the buffer size is always 0?
Is this is a jwplayer bug or am i missing something?
Code is as below:
jwplayer('container').setup({
'flashplayer': 'xxxxxxx',
'allowscriptaccess': 'always',
'allowfullscreen': 'true',
'autostart': 'true',
'playerID': 'video1549067',
'image': 'xxxxxx',
'streamer': 'xxxxxxx',
'file': 'xxxxxxxx',
'duration': '0',
'bufferlength': '30',
'volume': '100',
'mute': 'false',
'controlbar': 'none',
'stretching': 'fill',
'icons': 'false',
'wmode': 'windowed',
'width': '360',
'height': '270',
'plugins': {
'gapro-2': {
'trackstarts': 'true',
'trackpercentage': 'false',
'trackseconds': 'true'
}
}
});