Lokonli wrote: Friday 18 January 2019 18:45
Is it the image on the button that is refreshed and start to play, or is it the stream that starts to play (like you pressed the button)?
Can you post the definition of the button from your CONFIG.js here?
There are two refresh parameters you can play with:
refresh and refreshiframe
You can add them to your button definition. They indicate the refresh period of the image in the button and of the linked iframe, in msec.
This might trigger the stream to autoplay. Default is 60000 (=60s). Just make the two parameters very big.
It is the stream that starts to play as if I pressed the button and that is the case for both camera's. My buttons are defined as follows:
buttons.juul = {key:'Juul',width:12, isimage:true, refreshimage:100000, image: '
http://192.168.2.12:88/cgi-bin/CGIProxy ... >pwd=<pass>', url:"rtsp://<user>:<pass>@192.168.2.12:88/videoMain"}
buttons.david = {key:'David',width:12, isimage:true, refreshimage:100000, image: '
http://192.168.2.15:85//cgi-bin/CGIProx ... &pwd=<Pass>', url:"rtsp://<user>:<pass>@192.168.2.15/videoMain"}
I don't have refreshiframe defined, only refreshimage, and that refreshrate is not matching the aprox 50 sec after which the streams are triggered. Does this make sense to you?