Janus, mute/unmute

Current Development version likely to have breaking changes
Post Reply
IgorA100
Posts: 81
Joined: Sat Feb 03, 2024 11:55 am

Janus, mute/unmute

Post by IgorA100 »

I managed to get Janus to work, but I am terribly annoyed by the constant mute/unmute interruptions every 5-20 seconds :( Because of this, live viewing is not possible.
The communication channel consists of a managed switch to which the server and the cameras themselves are connected within 10 meters.
SNMP analysis of the communication channel does not find any problems in the communication channel, there is no packet loss.
I tried both TCP and UDP, there is no difference. I tried fiddling with the Janus settings, but it's no use :(
I don't know how to check the problem in Janus or in ZM :(
I'm sad.
I'm using Janus version: 1102 (1.1.2)
Maybe someone has dealt with this problem?
If it were possible to get rid of the constant mute/unmute it would be very cool!
IgorA100
Posts: 81
Joined: Sat Feb 03, 2024 11:55 am

Re: Janus, mute/unmute

Post by IgorA100 »

I could be very wrong, but... my reasoning:
  1. ZM receives RTSP stream from the camera.
  2. ZM streams to Janus
  3. Janus broadcasts the stream to the browser.
If so, then there is probably a problem somewhere in the flow transfer from ZM to Janus, because:
  1. RTSP stream from the camera can be read in VLC without any problems.
  2. In the Janus logs there are lines:

Code: Select all

[WARN] [17] 5s passed with no media, trying to reconnect the RTSP stream
[17] Reconnected to the RTSP server, streaming again
I tried to gradually increase the value of "Stream Replay Image Buffer" from 0 to 250 with the framerate of the camera stream = 10, but this did not affect the problem at all :(
IgorA100
Posts: 81
Joined: Sat Feb 03, 2024 11:55 am

Re: Janus, mute/unmute

Post by IgorA100 »

Does anyone have Janus somehow working with H265?
I can't do it :(
User avatar
iconnor
Posts: 2922
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Janus, mute/unmute

Post by iconnor »

Your browser cannot play h265. It will not work.
dougmccrary
Posts: 1245
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Janus, mute/unmute

Post by dougmccrary »

According to https://www.lambdatest.com/web-technologies/hevc
if you can get the Safari browser it should work.
IgorA100
Posts: 81
Joined: Sat Feb 03, 2024 11:55 am

Re: Janus, mute/unmute

Post by IgorA100 »

I think that constant mute/unmute is due to caching problems or lack of caching in ZM or Janus, because...
1. There are practically no problems when watching FullHD.
2. When watching 4K, the problems are quite strong.
3. When watching 4K in VLC directly from the camera, there are no problems at all. But there is default caching in 1s. If you remove caching, problems also appear in VLC.
IgorA100
Posts: 81
Joined: Sat Feb 03, 2024 11:55 am

Re: Janus, mute/unmute

Post by IgorA100 »

The mute/unmute problem is related to high bitrate.
At bitrates below 12Mbps the connection is relatively stable.
But the question arises, how can you view live video, for example, from 4 cameras transmitting a video stream with a bitrate of 12 * 4 = 48 Mbit/s with a channel of 30 Mbit/s?
You cannot lower the bitrate on the camera.
Post Reply