Forum

hey i am using SLDP player to show a live stream. the live stream sometimes ( not always) pause for no reason. have you ever seen this problem ?

or 2021-10-28 07:18:41 UTC in WMSPanel functionality

in adddition, ive been trying to debug the problem but im not sure where to put the callback funtions. the code is below:

const player = SLDP.init({
container: playerId,
stream_url: url,
// initial_resolution: '240p',
autoplay: playing,
//occupies 100% of parent element's width / height
width: 'parent',
height: 'parent',
controls: controls,
muted: true,
reconnects: 16,
buffering: 3000,
onpause() {
console.log('pausee');
},
onplay() {
console.log('play');
},
onPause(data: any) {
console.log(url);
console.log(playing);
console.log(data);
},
onError(error: any) {
console.log('error');
console.log(error);
},
onLowBuffer() {
console.log('low buffer');
},
});

thanks!

Sergei 2021-10-28 09:13:11 UTC 

Hello.

We actually never have such an issue with the stable source streams.
You may want to open a ticket for HTML5 SDK, please ask your question at wmspanel.com/help

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.