0
Discuss & Vote

Unwanted behaviour when viewing MJPEG media tiles with MacOS/Safari - Probably Apple's Fault

k0jdd 4 years ago in Media Tiles / Video Camera Feeds updated by Alex (ActionTiles) (Co-Founder) 4 years ago 1

Environment

I am using MacOS 10.13.6 (High Sierra)  and Safari 13.1 on an older (2011) iMac

I am using VLC to transcode RTSP streams into MJPEG per this thread https://support.actiontiles.com/communities/12/topics/3033-using-vlc-transcode-video-rtsp-stream-to-mjpeg using an in-home Debian 10 server

(FYI - Two of my three cameras are WYZE PanCam with the RTSP firmware loaded - so far so good...)


ActionTiles

I have three panels linked together and ONE of the panels has three camera feeds on it.

When I navigate to that panel the camera feeds begin rendering, WOO HOO!

Issue

When I navigate AWAY from the panel with the camera feeds Safari keeps rendering the MJPEG streams in the background. BOO!

I can observe this in the network tab in Safari's developer tools and with the Activity Monitor program which is similar to the linix/unix 'top' command. 

Firefox 76.x and Chrome 81.0.4044.138 on the same machine do not exhibit this behavior. They stop rendering panels that are not visible

OPINION

As the title says, this is probably a Safari bug, or Apple just being Apple, but I wanted to post for informational purposes at a minimum.


My work-around solution is to avoid using Safari for this particular use-case.


Mac
+1
Discuss & Vote

This is probably a Safari bug, I haven't heard of this before...


All Panel resources are unloaded when you navigate to a different Panel. It seems that Safari is not closing connections.

You may want to try to enable periodic app reloads in App Settings. This makes a hard reboot of the app and should definitely kill off rouge connection.