We want to stream a RTSP camera via WebRTC. We need to use a transcoder because Chrome does not work with H.264 set with profile high. In order to save CPU resources on the server, we would like to disable the transcoding while there aren’t clients connected. Or in other words, the transcoding should start only when the first client connects to the wowza stream and should stop when the last client disconnects.
What’s the simplest way to achieve this?
Background (long story):
we want to stream a RTSP camera via WebRTC. We are trying this guide:
https://www.wowza.com/docs/how-to-use-webrtc-with-wowza-streaming-engine
and this example:
https://www.wowza.com/downloads/webrtc/webrtcexamplepages.zip
Unfortunately, setting the camera to H.264 profile high does not allow to view the stream on Chrome. For this reason, we need to use a transcoder.
Already with four cameras, this uses a lot of CPU.