Quote:
Originally Posted by Luminal
...
As for the js note, how would you determine when the broadcaster goes private/log off?
I've known about the refreshing page (I actually just close the window) but it is kind of an issue when using it on multiple streams. There's like 5-7 second window between the stream closing and rtmp crashing so it a bit hard when multitasking and not actually watching the stream
|
certainly, manually monitoring a broadcast for state changes is impractical. that's why it's better to automate the process.
unfortunately, there is no universal solution. each site has a different way of flagging state changes. sometimes there will be a function that gets called to update a page with state changes, that can be subclassed in order to effect a reload. other times state changes are signalled through a messaging system that can be monitored. it just depends on the site.
i realize that such generalizations are not very helpful. but if i get too specific, potential targets will know how to frustrate the efforts of private add-on writers.