Hi all,
i'm sorry if i'm asking something obvious for you.
I've a linux box with Janus for showing with webrtc a couple of ip cams (a bosch and a dahua).
I'm new to Webrtc, Janus, Sdp, etc.
If a direct help to my problems is not possible i'll appreciate a lot also some suggestions on books, ebooks, etc for letting me to solve myself these problems.
I've tried also reading logs on the admin panel, but with my actual knowledge i cannot understand what's wrong and what's fine.
I'm using latest stable versione of Janus (v0.9.2), Firefox (75), Chrome (81).
I've tried also the latest Janus master version on github with the same results.
Actually i've 2 problems:
- Bosch stream is working only on Firefox 75.0 on mac osx. On Chrome 81 i've some errors. (see screenshot)
- Dahua stream isn't working at all
I've tried also Safari and Vivaldi obtaining the same result of Chrome (but on Safari different error).
This is the main part of my janus.plugin.streaming.jcfg:
TC1: {
type = "rtsp"
id = 103
description = "TC1"
audio = false
video = true
url = "rtsp://......./rtsp_tunnel?profile=1&inst=2&h26x=4"
rtsp_user = "user"
rtsp_pwd = "pwd"
videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}
I've omitted the dahua (TC2) config since it's identical to the TC1.
On Janus start i've:
[ERR] [plugins/janus_streaming.c:janus_streaming_rtsp_connect_to_server:5769] Couldn't send DESCRIBE request: Timeout was reached
[ERR] [plugins/janus_streaming.c:janus_streaming_init:1888] Error creating 'rtsp' mountpoint 'TC2'...
I've tried also on capturing the Dahua stream with ffmpeg and redirecting it to a Janus RTP port (after proper config on the plugin cfg) with no success.
TC2-rtp: {
type = "rtp"
id = 104
description = "TC2-rtp"
audio = false
video = true
videoport = 8004
videopt = 126
videortpmap = "H264/90000"
videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}
When ffmpeg starts on Janus console i see:
[TC2-rtp] New video stream! (ssrc=336439608, index 0)
The video is not showing on Firefox and on console i see a periodic "slowlink" event but ffmpeg and janus are on the same machine and the IP cam is on the same net.
Thank you in advance at who will help me.
Bye.
Fabio