Open kiddyfurby opened 1 month ago
There is a type with G711 that I need to fix. Try with AAC and let me know if it works.
It's already set to AAC.
This is my output:
{
"producers": [
{
"id": 2,
"format_name": "rtsp",
"protocol": "rtsp+tcp",
"remote_addr": "192.168.0.245:554",
"url": "rtsp://192.168.0.245/ch0_0.h264",
"sdp": "...",
"user_agent": "go2rtc/1.9.4",
"medias": [
"video, recvonly, H264",
"audio, recvonly, PCMU/8000",
"audio, sendonly, MPEG4-GENERIC/16000"
],
...
Check the configuration. Are you using the last version of the hack?
Yes I am on 0.3.2
Firmware Version | 0.3.2
Base Version | 9.0.09.06_202103291039
Model Suffix | y29ga
I noticed that you're on go2rtc 1.9.4 so I upgraded just to make sure, now my json is like this:
{
"producers": [
{
"id": 43,
"format_name": "rtsp",
"protocol": "rtsp+tcp",
"remote_addr": "192.168.19.24:554",
"url": "rtsp://192.168.19.24/ch0_0.h264",
"sdp": "...",
"user_agent": "go2rtc/1.9.4",
"medias": [
"video, recvonly, H264",
"audio, recvonly, MPEG4-GENERIC/16000",
"audio, recvonly, MPEG4-GENERIC/16000"
],
I have non-alt rtsp server, onvif on, rtsp audio set to aac, onvif discovery on, onvif high, backchannel aac
Better, but the 3rd media should be sendonly.
Do you have another cam that works with go2rtc? I need to check the messages between the cam and the software. Check this issue too: https://github.com/roleoroleo/onvif_simple_server/issues/10#issuecomment-2249893385
my other camera (not a allwinner-v2) that has a backchannel looks like this:
{
"producers": [
{
"id": 5822,
"format_name": "rtsp",
"protocol": "rtsp+tcp",
"remote_addr": "192.168.1.42:554",
"url": "rtsp://192.168.1.42/Preview_01_sub",
"sdp": "...",
"user_agent": "go2rtc/1.9.4",
"medias": [
"video, recvonly, H264",
"audio, recvonly, MPEG4-GENERIC/16000",
"audio, sendonly, PCMU/8000"
]
Apart from the codec, it's the same ouput I receive from my rtsp.
Was try to get backchannel working with go2rtc, noticed that the camera doesn't advertise that capability. in go2rtc 1.9.2, the info link shows the following json for yi-hack-allwinner-v2
My other camera which has backchannel support has an additional entry
audio, sendonly, PCMU/8000
in producers.medias