I’m using Janus via http from my node js application.
i’m using janus gateway via http. when there is only one client or session, i got this.
Sep 16 07:30:48 150-95-31-206 janus[274381]: Creating new session: 1085050698338160; 0x7fcf4c026b80
Sep 16 07:30:48 150-95-31-206 janus[274381]: Creating new handle in session 1085050698338160: 5152540164784764; 0x7fcf4c026b80 0x7fcfb800bf40
Sep 16 07:30:48 150-95-31-206 janus[274381]: [5152540164784764] Creating ICE agent (ICE Full mode, controlled)
Sep 16 07:30:48 150-95-31-206 janus[274381]: [WARN] [5152540164784764] Failed to add some remote candidates (added 0, expected 1)
Sep 16 07:30:48 150-95-31-206 janus[274381]: [5152540164784764] The DTLS handshake has been completed
Sep 16 07:30:48 150-95-31-206 janus[274381]: [janus.plugin.recordplay-0x7fcfb800d6d0] WebRTC media is now available
But when there are two clients or sessions, it’s stuck at Creating ICE agent...
line and there is not dtls handshake has been completed
line or any other.
Sep 16 07:22:15 150-95-31-206 janus[274381]: Creating new session: 7454395750019125; 0x7fcf4c034480
Sep 16 07:22:15 150-95-31-206 janus[274381]: Creating new handle in session 7454395750019125: 2064339866510630; 0x7fcf4c034480 0x7fcfb800ab40
Sep 16 07:22:15 150-95-31-206 janus[274381]: [2064339866510630] Creating ICE agent (ICE Full mode, controlled)
Sep 16 07:22:15 150-95-31-206 janus[274381]: Creating new session: 2865711570508330; 0x7fcf4c00b620
Sep 16 07:22:15 150-95-31-206 janus[274381]: Creating new handle in session 2865711570508330: 8797284658137442; 0x7fcf4c00b620 0x7fcfb800bf40
Sep 16 07:22:15 150-95-31-206 janus[274381]: [8797284658137442] Creating ICE agent (ICE Full mode, controlled)
Sep 16 07:22:16 150-95-31-206 janus[274381]: [8797284658137442] The DTLS handshake has been completed
Sep 16 07:22:16 150-95-31-206 janus[274381]: [janus.plugin.recordplay-0x7fcfb8005f60] WebRTC media is now available
Sep 16 07:24:41 150-95-31-206 janus[274381]: File is 8 bytes: call_68c9102145d989a54320d307_a8a99606-dc9d-4e12-bcbf-9a62cf5ce55c-audio.mjr
Sep 16 07:24:41 150-95-31-206 janus[274381]: Closed audio recording call_68c9102145d989a54320d307_a8a99606-dc9d-4e12-bcbf-9a62cf5ce55c-audio.mjr
Sep 16 07:24:41 150-95-31-206 janus[274381]: [janus.plugin.recordplay-0x7fcfb8005f60] No WebRTC media anymore
Sep 16 07:24:41 150-95-31-206 janus[274381]: Detaching handle from JANUS Record&Play plugin; 0x7fcfb800bf40 0x7fcfb8005f60 0x7fcfb800bf40 0x7fcfb8009b00
Sep 16 07:24:41 150-95-31-206 janus[274381]: Detaching handle from JANUS Record&Play plugin; 0x7fcfb800ab40 0x7fcfb8009900 0x7fcfb800ab40 0x7fcfb8006bf0
Sep 16 07:24:41 150-95-31-206 janus[274381]: [2064339866510630] WebRTC resources freed; 0x7fcfb800ab40 0x7fcf4c034480
Sep 16 07:24:41 150-95-31-206 janus[274381]: [ERR] [ice.c:janus_plugin_session_is_alive:726] Invalid plugin session (0x7fcfb8005f60)
Sep 16 07:24:41 150-95-31-206 janus[274381]: File is 702829 bytes: call_68c9102145d989a54320d307_ee039b3b-8e71-40e9-9431-fa30be721914-audio.mjr
Sep 16 07:24:41 150-95-31-206 janus[274381]: Closed audio recording call_68c9102145d989a54320d307_ee039b3b-8e71-40e9-9431-fa30be721914-audio.mjr
Sep 16 07:24:41 150-95-31-206 janus[274381]: Destroying session 2865711570508330; 0x7fcf4c00b620
Sep 16 07:24:41 150-95-31-206 janus[274381]: Destroying session 7454395750019125; 0x7fcf4c034480
Sep 16 07:24:41 150-95-31-206 janus[274381]: [WARN] Got a stop but missing recorder/recording! .nfo file may not have been generated...
Sep 16 07:24:41 150-95-31-206 janus[274381]: [8797284658137442] WebRTC resources freed; 0x7fcfb800bf40 0x7fcf4c00b620
Sep 16 07:24:41 150-95-31-206 janus[274381]: [WARN] Got a stop but missing recorder/recording! .nfo file may not have been generated...
Sep 16 07:24:43 150-95-31-206 janus[274381]: [2064339866510630] Handle and related resources freed; 0x7fcfb800ab40 0x7fcf4c034480
Sep 16 07:24:43 150-95-31-206 janus[274381]: [8797284658137442] Handle and related resources freed; 0x7fcfb800bf40 0x7fcf4c00b620
As you can see when there are sessions, the first one stuck at the Creating ICE agent ...
line.
What’s is happening? Can you please help me? What can I do?