Closed CMJack510 closed 2 years ago
Hi @CMJack510 are you able to turn on debug mode and send some more logs from around when the error happens?
Hey there! Sorry for the late response. Actually haven’t even had internet the last few days since this bug occurred. I believe I actually got it fixed, however. I reinstalled the FFmpeg, and all of a sudden it started working with no issues whatsoever.
@CMJack510: That's great!
Well…we had a power outage, and now that I have the docker container with Homebridge back up and running, it’s giving the same error with no response camera again. Is there a way to manually uninstall ffmpeg so that I can install it again and hopefully fix the issue?
@CMJack510: I'm not sure the details of your specific docker container so I can't say for sure. It might be helpful to get some debug logs when the error occurs so we can know what exactly is failing.
[4/12/2022, 11:28:36 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/12/2022, 11:28:39 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/12/2022, 11:28:39 PM] [homebridge-google-nest-sdm] Video stream requested: 1280 x 720, 30 fps, 299 kbps Oreo Doorbell [4/12/2022, 11:28:39 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/12/2022, 11:28:40 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/12/2022, 11:28:40 PM] [homebridge-google-nest-sdm] Executing command sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream with parameters {"offerSdp":"v=0\r\no=- 16961593 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:42b6\r\na=ice-pwd:49499328352b57755ed7b6\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4E:DB:42:D8:7A:E5:2E:D2:6C:B2:D2:CA:2E:AD:E8:59:BA:1F:2F:19:2E:4C:B2:EC:F5:26:EB:FB:B8:41:A7:04\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:266ca0b8-4d88-40fe-ab0d-ef0ad2326c27 2effdeda-ec99-41d3-9eae-efd8b51f4f6f\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1918746367 cname:4655e20b-ae11-4cb6-ab41-b1fed64b3221\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:42b6\r\na=ice-pwd:49499328352b57755ed7b6\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4E:DB:42:D8:7A:E5:2E:D2:6C:B2:D2:CA:2E:AD:E8:59:BA:1F:2F:19:2E:4C:B2:EC:F5:26:EB:FB:B8:41:A7:04\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:006fbb48-4b41-42c6-b032-edcf09520693 938c81c0-2191-46b0-8b5e-41a4df56bbbf\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1613172488 cname:4655e20b-ae11-4cb6-ab41-b1fed64b3221\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:42b6\r\na=ice-pwd:49499328352b57755ed7b6\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4E:DB:42:D8:7A:E5:2E:D2:6C:B2:D2:CA:2E:AD:E8:59:BA:1F:2F:19:2E:4C:B2:EC:F5:26:EB:FB:B8:41:A7:04\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n"} Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Execution of command sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream returned {"answerSdp":"v=0\r\no=- 0 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 2 1\r\na=msid-semantic: WMS 10299336647107571224/2476023549 virtual-6666\r\na=ice-lite\r\nm=audio 19305 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 173.194.219.127\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=candidate: 1 udp 2113939711 2607:f8b0:4002:c03::7f 19305 typ host generation 0\r\na=candidate: 1 tcp 2113939710 2607:f8b0:4002:c03::7f 19305 typ host tcptype passive generation 0\r\na=candidate: 1 ssltcp 2113939709 2607:f8b0:4002:c03::7f 443 typ host generation 0\r\na=candidate: 1 udp 2113932031 173.194.219.127 19305 typ host generation 0\r\na=candidate: 1 tcp 2113932030 173.194.219.127 19305 typ host tcptype passive generation 0\r\na=candidate: 1 ssltcp 2113932029 173.194.219.127 443 typ host generation 0\r\na=ice-ufrag:A8S2NJA9WTITH9ZB\r\na=ice-pwd:FBVOMUOXCAHJXXO6XTB775UE\r\na=fingerprint:sha-256 86:E3:9D:01:8A:2A:FA:D5:91:7C:36:88:6B:77:92:8D:05:D1:3B:8C:AA:E2:F3:77:2F:CE:64:E5:26:84:8F:44\r\na=setup:passive\r\na=mid:0\r\na=sendrecv\r\na=msid:virtual-6666 virtual-6666\r\na=rtcp-mux\r\na=rtpmap:96 opus/48000/2\r\na=fmtp:96 minptime=10;useinbandfec=1\r\na=ssrc:6666 cname:6666\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:A8S2NJA9WTITH9ZB\r\na=ice-pwd:FBVOMUOXCAHJXXO6XTB775UE\r\na=fingerprint:sha-256 86:E3:9D:01:8A:2A:FA:D5:91:7C:36:88:6B:77:92:8D:05:D1:3B:8C:AA:E2:F3:77:2F:CE:64:E5:26:84:8F:44\r\na=setup:passive\r\na=mid:1\r\na=sendrecv\r\na=msid:10299336647107571224/2476023549 10299336647107571224/2476023549\r\na=rtcp-mux\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:2476023549 cname:2476023549\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:A8S2NJA9WTITH9ZB\r\na=ice-pwd:FBVOMUOXCAHJXXO6XTB775UE\r\na=fingerprint:sha-256 86:E3:9D:01:8A:2A:FA:D5:91:7C:36:88:6B:77:92:8D:05:D1:3B:8C:AA:E2:F3:77:2F:CE:64:E5:26:84:8F:44\r\na=setup:passive\r\na=mid:2\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","expiresAt":"2022-04-12T23:33:50.389340Z","mediaSessionId":"CiQyNTIyZDFiMS0wODE0LTQwNTMtOGI1NC1mNzY5NTNiNGIwZjEQARgF"} Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Stream command: /usr/local/lib/node_modules/homebridge-google-nest-sdm/node_modules/ffmpeg-for-homebridge/ffmpeg -protocol_whitelist file,crypto,udp,rtp -i /usr/local/lib/node_modules/homebridge-google-nest-sdm/dist/res/ffmpeg.sdp -an -sn -dn -codec:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -color_range mpeg -bf 0 -r 30 -b:v 1196k -bufsize 1196k -maxrate 2392k -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)2:trunc(ih/2)*2 -payload_type 99 -ssrc 1502231 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params yB3IjyaqicKVROKRmEdjXO0ta0WTUz/C0SuJd1lS srtp://192.168.254.96:54498?rtcpport=54498&pkt_size=1378 -vn -sn -dn -codec:a libfdk_aac -profile:a aac_eld -flags +global_header -ar 16k -b:a 24k -ac 1 -payload_type 110 -ssrc 13706821 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params EsBNuI/HdbPjwcepoNutwcgIMn38MhwDDiT8VCEY srtp://192.168.254.96:62493?rtcpport=62493&pkt_size=188 -loglevel level+verbose Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] ffmpeg version 5.0 Copyright (c) 2000-2022 the FFmpeg developers Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-indev=alsa --enable-outdev=alsa Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libavutil 57. 17.100 / 57. 17.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libavcodec 59. 18.100 / 59. 18.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libavformat 59. 16.100 / 59. 16.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libavdevice 59. 4.100 / 59. 4.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libavfilter 8. 24.100 / 8. 24.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libswscale 6. 4.100 / 6. 4.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libswresample 4. 3.100 / 4. 3.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [info] libpostproc 56. 3.100 / 56. 3.100 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [sdp @ 0x55583bddb300] [verbose] setting jitter buffer size to 500 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] [sdp @ 0x55583bddb300] [verbose] setting jitter buffer size to 500 Oreo Doorbell [4/12/2022, 11:28:45 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [sdp @ 0x55583bddb300] [warning] Could not find codec parameters for stream 1 (Video: h264, 1 reference frame, none): unspecified size Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Input #0, sdp, from '/usr/local/lib/node_modules/homebridge-google-nest-sdm/dist/res/ffmpeg.sdp': Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Metadata: Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] title : - Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Duration: N/A, bitrate: N/A Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Stream #0:1: Video: h264, 1 reference frame, none, 90k tbr, 90k tbn Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [info] Output #0, rtp, to 'srtp://192.168.254.96:54498?rtcpport=54498&pkt_size=1378': Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [error] Output file #0 does not contain any stream Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [AVIOContext @ 0x55583bde4040] [verbose] Statistics: 398 bytes read, 0 seeks Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] FFmpeg exited with code: 1 and signal: null (Error) Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Executing command sdm.devices.commands.CameraLiveStream.StopWebRtcStream with parameters {"mediaSessionId":"CiQyNTIyZDFiMS0wODE0LTQwNTMtOGI1NC1mNzY5NTNiNGIwZjEQARgF"} Oreo Doorbell [4/12/2022, 11:28:57 PM] [homebridge-google-nest-sdm] Execution of command sdm.devices.commands.CameraLiveStream.StopWebRtcStream returned undefined Oreo Doorbell [4/12/2022, 11:28:57 PM] [homebridge-google-nest-sdm] Stopped video stream. Oreo Doorbell
This is everything it says from the time I try to open the stream on my phone.
@CMJack510: Is audio disabled on the camera?
No it's definitely enabled. That's one of the first things I looked at when going through the FAQs
@CMJack510 : Try the latest version 1.0.26
Alright I’ll try that when I get home. Curiously enough, after sitting for about 12-14 hours, it started working out of the blue. Even got a motion detection alert through the Apple Home app.
Interesting, the problem was likely these lines:
[4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] [sdp @ 0x55583bddb300] [warning] Could not find codec parameters for stream 1 (Video: h264, 1 reference frame, none): unspecified size Oreo Doorbell [4/12/2022, 11:28:55 PM] [homebridge-google-nest-sdm] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Oreo Doorbell
I followed the advice of the second line.
I've never actually gotten motion detection to work on my second generation camera. It would be great if you could install the 1.1.0 beta version and check if HomeKit Secure Video works.
I can try that this evening when I get home from work. As far as the motion detection, did you have motion detection turned on in the Google Home app? I have mine set up to give me person motion detection whenever I’m not home, and I get the notification through both the Apple and Google home apps.
Also, how do I go about updating to 1.0.26 ? Do I need to do a complete uninstall and then install the latest package?
Just login to Homebridge and you should see something like this:
That will update you to 1.0.26.
"did you have motion detection turned on in the Google Home app"
Oh my God. That was the problem... I'm an idiot. I don't actually use the Google Home app so I had the notifications turned off.
Hahaha isn’t that great? What I’ve personally done is go into the Apple settings, notifications, and turned off notifications for the google home app. That way they are still “on” but I only get the notification through the Apple Home app!
Well now I've upgraded to the 1.0.26 (latest) version, and after a quick reboot I am getting the same FFmpeg error again. However, after the error I'm seeing something new.
[4/14/2022, 8:49:46 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/14/2022, 8:49:46 PM] [homebridge-google-nest-sdm] Executing command sdm.devices.commands.CameraLiveStream.StopWebRtcStream with parameters {"mediaSessionId":"CiQwMWEwNjJkNS05OWFhLTRjMWYtYmExNC00YTVkYTk4NWI2NjIQARgF"} Oreo Doorbell [4/14/2022, 8:50:01 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbell [4/14/2022, 8:51:01 PM] [homebridge-google-nest-sdm] Request for trait sdm.devices.traits.CameraLiveStream had value {"maxVideoResolution":{"width":640,"height":480},"videoCodecs":["H264"],"audioCodecs":["AAC"],"supportedProtocols":["WEB_RTC"]} Oreo Doorbel
Update with a new error:
[4/14/2022, 9:08:04 PM] [homebridge-google-nest-sdm] Could not execute device command: {"response":{"config":{"url":"https://smartdevicemanagement.googleapis.com/v1/enterprises/01dad920-5bf1-4189-a27d-3e72aa7be2c0/devices/AVPHwEuwLQ4i-Hyog28HXoNWrg5hPSJvY58maKT0hHUuSPti_Un_bTionLrdH7ErlBbFIb9hn1sEaYy_JF7vmLbREpFblQ:executeCommand","method":"POST","userAgentDirectives":[{"product":"google-api-nodejs-client","version":"5.1.0","comment":"gzip"}],"data":{"command":"sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream","params":{"offerSdp":"v=0\r\no=- 10948529 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:49d348f3-d694-4aaf-8ae9-54ba5fcefbb4 3f0acf97-0eda-4c9f-be28-1aba31960995\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:3993319190 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:6b054925-ea10-4f05-9207-03d04b2a85d7 3082cb1c-5a38-4cef-b22e-9f0ea093efd6\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1104434759 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n"}},"headers":{"x-goog-api-client":"gdcl/5.1.0 gl-node/16.14.2 auth/7.14.1","Accept-Encoding":"gzip","User-Agent":"google-api-nodejs-client/5.1.0 (gzip)","Authorization":"Bearer ya29.A0ARrdaM_yKWPZQR8ey36-6U0xmnQCRueYZXqdvgm4Woq8kwGyjvGs9By5XYhsmQcYlcmIddiAhjn-HdL41NW8EP8C8SQgiqKTbPCT6_GPe0qXdyJVqqZxznm0sLALa09d2NpDMgumRh5z22Oa_nCfIwkuJSfQ","Content-Type":"application/json","Accept":"application/json"},"params":{},"retry":true,"body":"{\"command\":\"sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream\",\"params\":{\"offerSdp\":\"v=0\r\no=- 10948529 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:49d348f3-d694-4aaf-8ae9-54ba5fcefbb4 3f0acf97-0eda-4c9f-be28-1aba31960995\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:3993319190 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:6b054925-ea10-4f05-9207-03d04b2a85d7 3082cb1c-5a38-4cef-b22e-9f0ea093efd6\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1104434759 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n\"}}","responseType":"json","retryConfig":{"currentRetryAttempt":0,"retry":3,"httpMethodsToRetry":["GET","HEAD","PUT","OPTIONS","DELETE"],"noResponseRetries":2,"statusCodesToRetry":[[100,199],[429,429],[500,599]]}},"data":{"error":{"code":401,"message":"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","errors":[{"message":"Invalid Credentials","domain":"global","reason":"authError","location":"Authorization","locationType":"header"}],"status":"UNAUTHENTICATED"}},"headers":{"alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","cache-control":"private","connection":"close","content-encoding":"gzip","content-type":"application/json; charset=UTF-8","date":"Fri, 15 Apr 2022 02:08:04 GMT","server":"ESF","transfer-encoding":"chunked","vary":"Origin, X-Origin, Referer","www-authenticate":"Bearer realm=\"https://accounts.google.com/\", error=\"invalid_token\"","x-content-type-options":"nosniff","x-frame-options":"SAMEORIGIN","x-xss-protection":"0"},"status":401,"statusText":"Unauthorized","request":{"responseURL":"https://smartdevicemanagement.googleapis.com/v1/enterprises/01dad920-5bf1-4189-a27d-3e72aa7be2c0/devices/AVPHwEuwLQ4i-Hyog28HXoNWrg5hPSJvY58maKT0hHUuSPti_Un_bTionLrdH7ErlBbFIb9hn1sEaYy_JF7vmLbREpFblQ:executeCommand"}},"config":{"url":"https://smartdevicemanagement.googleapis.com/v1/enterprises/01dad920-5bf1-4189-a27d-3e72aa7be2c0/devices/AVPHwEuwLQ4i-Hyog28HXoNWrg5hPSJvY58maKT0hHUuSPti_Un_bTionLrdH7ErlBbFIb9hn1sEaYy_JF7vmLbREpFblQ:executeCommand","method":"POST","userAgentDirectives":[{"product":"google-api-nodejs-client","version":"5.1.0","comment":"gzip"}],"data":{"command":"sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream","params":{"offerSdp":"v=0\r\no=- 10948529 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:49d348f3-d694-4aaf-8ae9-54ba5fcefbb4 3f0acf97-0eda-4c9f-be28-1aba31960995\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:3993319190 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:6b054925-ea10-4f05-9207-03d04b2a85d7 3082cb1c-5a38-4cef-b22e-9f0ea093efd6\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1104434759 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n"}},"headers":{"x-goog-api-client":"gdcl/5.1.0 gl-node/16.14.2 auth/7.14.1","Accept-Encoding":"gzip","User-Agent":"google-api-nodejs-client/5.1.0 (gzip)","Authorization":"Bearer ya29.A0ARrdaM_yKWPZQR8ey36-6U0xmnQCRueYZXqdvgm4Woq8kwGyjvGs9By5XYhsmQcYlcmIddiAhjn-HdL41NW8EP8C8SQgiqKTbPCT6_GPe0qXdyJVqqZxznm0sLALa09d2NpDMgumRh5z22Oa_nCfIwkuJSfQ","Content-Type":"application/json","Accept":"application/json"},"params":{},"retry":true,"body":"{\"command\":\"sdm.devices.commands.CameraLiveStream.GenerateWebRtcStream\",\"params\":{\"offerSdp\":\"v=0\r\no=- 10948529 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic:WMS \r\nm=audio 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:0\r\na=msid:49d348f3-d694-4aaf-8ae9-54ba5fcefbb4 3f0acf97-0eda-4c9f-be28-1aba31960995\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:3993319190 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:96 opus/48000/2\r\nm=video 9 UDP/TLS/RTP/SAVPF 97\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=recvonly\r\na=mid:1\r\na=msid:6b054925-ea10-4f05-9207-03d04b2a85d7 3082cb1c-5a38-4cef-b22e-9f0ea093efd6\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-mux\r\na=ssrc:1104434759 cname:ce49f859-f6e8-4c24-93ee-1d793c38acf8\r\na=rtpmap:97 H264/90000\r\na=rtcp-fb:97 transport-cc\r\na=rtcp-fb:97 ccm fir\r\na=rtcp-fb:97 nack\r\na=rtcp-fb:97 nack pli\r\na=rtcp-fb:97 goog-remb\r\na=fmtp:97 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5408\r\na=ice-pwd:dd13e15c450dfaca28df96\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BF:01:82:6A:10:92:93:59:F7:6E:62:17:A8:3A:A7:A8:23:0B:8C:32:C6:53:C1:89:C4:66:F0:63:85:CE:52:36\r\na=setup:actpass\r\na=mid:2\r\na=sctp-port:5000\r\na=max-message-size:65536\r\n\"}}","responseType":"json","retryConfig":{"currentRetryAttempt":0,"retry":3,"httpMethodsToRetry":["GET","HEAD","PUT","OPTIONS","DELETE"],"noResponseRetries":2,"statusCodesToRetry":[[100,199],[429,429],[500,599]]}},"code":401,"errors":[{"message":"Invalid Credentials","domain":"global","reason":"authError","location":"Authorization","locationType":"header"}]} Oreo Doorbell
[4/14/2022, 9:08:04 PM] [homebridge-google-nest-sdm] TypeError: Cannot read properties of undefined (reading 'mediaSessionId')
at WebRtcNestStreamer.initialize (/usr/local/lib/node_modules/homebridge-google-nest-sdm/src/NestStreamer.ts:94:33)
at runMicrotasks (
This is something completely different, you are no longer authenticated to Google. Try restarting Homebridge, if that doesn't fix the problem check the config settings are still valid.
Interestingly enough, without touching anything I got a notification on my phone through the Apple Home app saying "A bridge on your network has been reconnected." This was about 1 in the morning, so about 8 hours after the update to 1.0.26 and reboot of the docker. And now camera is working fine...
First of all, the entire experience up until this point has been great. I'm getting an interesting error that I haven't seen mentioned. I am connecting to the new Google Nest Doorbell (battery, named Oreo Doorbell), and getting the following error:
[4/8/2022, 11:09:12 PM] [homebridge-google-nest-sdm] Error terminating SDM stream: TypeError: Cannot read properties of undefined (reading 'streamer') Oreo Doorbell [4/8/2022, 11:09:29 PM] [homebridge-google-nest-sdm] FFmpeg exited with code: 1 and signal: null (Error) Oreo Doorbell
Any help would be greatly appreciated!