janus: no iceServers defined

Current Development version likely to have breaking changes
Post Reply
pygr
Posts: 48
Joined: Fri Apr 21, 2023 11:49 pm

janus: no iceServers defined

Post by pygr »

Debian 12 Armbian 23.05.1 bookworm
ZoneMinder 1.37.41 (custom build -- modified zm_monitor.cpp)
Janus 1.1.2

In the Developer Tools Console on Firefox two errors show up when Monitor Live View is brought up on the ZoneMinder WebUI: "No iceServers found" and "465 Error processing SDP". It could be the second one is a direct consequence of the first one. Instead of a live view, the video window is blank.

The Janus log shows

Code: Select all

[janus] [Sat Jul 29 08:45:36 2023] [1] New video stream! (#0, ssrc=947064502, index 0)
[janus] [Sat Jul 29 08:45:48 2023] Creating new session: 5884984185976280; 0xffff78004ba0
[janus] [Sat Jul 29 08:45:48 2023] Creating new handle in session 5884984185976280: 2834341282063775; 0xffff78004ba0 0xffff780054a0
[janus] [Sat Jul 29 08:45:48 2023] [2834341282063775] Creating ICE agent (ICE Full mode, controlling)
[janus] [Sat Jul 29 08:45:48 2023] [ERR] [sdp.c:janus_sdp_process_remote:391] [2834341282063775] SDP missing mandatory information
[janus] [Sat Jul 29 08:45:48 2023] [ERR] [sdp.c:janus_sdp_process_remote:392] [2834341282063775] (nil), (nil), 0xffff1800bce0, 0xffff1800aa20
[janus] [Sat Jul 29 08:45:48 2023] [ERR] [janus.c:janus_process_incoming_request:1521] Error processing SDP
In the nat section of /etc/janus/janus.jcfg "ignore_unreachable_ice_server = true'. ZoneMinder will only be accessed from devices on my LAN.

Is there a way to get Janus to work on a LAN without ICE?
IgorA100
Posts: 83
Joined: Sat Feb 03, 2024 11:55 am

Re: janus: no iceServers defined

Post by IgorA100 »

I was able to get Janus to work using this video: https://www.youtube.com/watch?v=otAVgAMSUB8
But I had to create a symlink of the JS libraries, otherwise the http://IP/javascript/janus/janus.js script was not available, perhaps there were some problems with Apache2 after a number of ZM updates.
ADD:
I completely forgot that curl 7.81.0 has an authorization problem.
I had to install curl 8.2.1 and there are no problems with it!

But when watching any streams, I get a constant channel break.
Remote track muted: ...
Remote track flowing again: ...
I'm using Janus version: 1102 (1.1.2). More recent ones are not available in the Ubuntu PPA, and building from source requires a huge number of dependencies.
If anyone knows how to defeat muted/unmuted, I'll be grateful.
And yes, the message “Error: No iceServers defined” is also displayed for me.
Post Reply