koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.95k stars 238 forks source link

Reolink Doorbell PoE 2-way audio stopped working after firmware update #1376

Closed hgregorian closed 4 months ago

hgregorian commented 4 months ago

Describe the bug Two-way audio no longer working (via HomeKit OR scrypted web interface) after updating doorbell FW from v3.0.0.2033_23041302 to v3.0.0.3215_2401262241. I've got 2 of these doorbells and both stopped working with two-way audio. Downgraded one, and two-way audio functionality has returned.

To Reproduce Steps to reproduce the behavior:

  1. Setup Reolink Doorbell in Scrypted
  2. Update Reolink Doorbell firmware to v3.0.0.3215_2401262241
  3. Attempt two-way audio via Scrypted web interface
  4. Hear no audio coming from doorbell camera's speaker

Expected behavior Sending audio to doorbell results in hearing audio at doorbell.

Screenshots n/a

Server (please complete the following information):

Hardware Model (please complete the following information):

Client (please complete the following information, if applicable):

Additional context Debug logs from doorbell with latest FW:

linux x64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01)
server version: 0.93.0
plugin version: @scrypted/reolink 0.0.61
full
########################
3/11/2024, 5:45:46 PM
########################
[Rebroadcast Plugin]: prebuffer sessions starting in 5 seconds
[Rebroadcast Plugin]: RTMP main.bcs prebuffer session started
[Rebroadcast Plugin]: RTMP main.bcs prebuffer session starting
[Rebroadcast Plugin]: stream RTMP ext.bcs is not enabled and will be rebroadcast on demand.
[Rebroadcast Plugin]: stream RTMP sub.bcs is not enabled and will be rebroadcast on demand.
[Rebroadcast Plugin]: stream RTSP h264Preview_01_main is not enabled and will be rebroadcast on demand.
[Rebroadcast Plugin]: stream RTSP h264Preview_01_sub is not enabled and will be rebroadcast on demand.
stream url rtmp://192.168.1.226:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=xxxx&password=xxxx
[Rebroadcast Plugin]: -hide_banner -fflags +genpts -i rtmp:[REDACTED] -rtsp_transport tcp -vcodec copy -acodec copy -f rtsp rtsp://127.0.0.1:41695/4a71f8501fb009d4
Camera supports WSPullPoint <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">irgEIRWgdPueZtZiYQRb37YntBc=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">ulXvXS8tM8KGV0Fd0XUodw==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.881Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tds:GetCapabilitiesResponse><tds:Capabilities><tt:Device><tt:XAddr>http://192.168.1.226:8000/onvif/device_service</tt:XAddr><tt:Network><tt:IPFilter>false</tt:IPFilter><tt:ZeroConfiguration>false</tt:ZeroConfiguration><tt:IPVersion6>false</tt:IPVersion6><tt:DynDNS>false</tt:DynDNS></tt:Network><tt:System><tt:DiscoveryResolve>true</tt:DiscoveryResolve><tt:DiscoveryBye>true</tt:DiscoveryBye><tt:RemoteDiscovery>false</tt:RemoteDiscovery><tt:SystemBackup>false</tt:SystemBackup><tt:SystemLogging>false</tt:SystemLogging><tt:FirmwareUpgrade>false</tt:FirmwareUpgrade><tt:SupportedVersions><tt:Major>21</tt:Major><tt:Minor>6</tt:Minor></tt:SupportedVersions></tt:System><tt:IO></tt:IO><tt:Security><tt:TLS1.1>false</tt:TLS1.1><tt:TLS1.2>false</tt:TLS1.2><tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration><tt:AccessPolicyConfig>false</tt:AccessPolicyConfig><tt:X.509Token>false</tt:X.509Token><tt:SAMLToken>false</tt:SAMLToken><tt:KerberosToken>false</tt:KerberosToken><tt:RELToken>false</tt:RELToken></tt:Security></tt:Device><tt:Events><tt:XAddr>http://192.168.1.226:8000/onvif/event_service</tt:XAddr><tt:WSSubscriptionPolicySupport>true</tt:WSSubscriptionPolicySupport><tt:WSPullPointSupport>true</tt:WSPullPointSupport><tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport></tt:Events><tt:Imaging><tt:XAddr>http://192.168.1.226:8000/onvif/imaging_service</tt:XAddr></tt:Imaging><tt:Media><tt:XAddr>http://192.168.1.226:8000/onvif/media_service</tt:XAddr><tt:StreamingCapabilities><tt:RTPMulticast>false</tt:RTPMulticast><tt:RTP_TCP>true</tt:RTP_TCP><tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP><tt:Extension></tt:Extension></tt:StreamingCapabilities><tt:Extension><tt:ProfileCapabilities><tt:MaximumNumberOfProfiles>10</tt:MaximumNumberOfProfiles></tt:ProfileCapabilities></tt:Extension></tt:Media><tt:Extension><tt:DeviceIO><tt:XAddr>http://192.168.1.226:8000/onvif/deviceIO_service</tt:XAddr><tt:VideoSources>1</tt:VideoSources><tt:VideoOutputs>0</tt:VideoOutputs><tt:AudioSources>1</tt:AudioSources><tt:AudioOutputs>1</tt:AudioOutputs><tt:RelayOutputs>0</tt:RelayOutputs></tt:DeviceIO></tt:Extension></tds:Capabilities></tds:GetCapabilitiesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

listening events
debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">xK3SB2wMwOOOPvKUqZrnvBs89FI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">kP5pWLff6lT6sgxweSuemA==</wsse:Nonce><wsu:Created>2024-03-12T00:45:47.990Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:48Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:48Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/CellMotionDetector/Motion</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="VideoSourceConfigurationToken" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="IsMotion" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/FaceDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/PeopleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/VehicleDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/DogCatDetect</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:VideoSource/MotionAlarm</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="000" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">SWjw45Hpgtf5AG9KzazPZkgGWDI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">7IYPuqBw7vNITSbqLUP9jw==</wsse:Nonce><wsu:Created>2024-03-12T00:45:48.111Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:49Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:49Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/Visitor</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/Package</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

debug event:
 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope                                     ><SOAP-ENV:Header><wsa5:To SOAP-ENV:mustUnderstand="1">http://192.168.1.226:8000/onvif/PullSubManager?Idx=337177503</wsa5:To><wsse:Security><wsse:UsernameToken><wsse:Username>xxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">SWjw45Hpgtf5AG9KzazPZkgGWDI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">7IYPuqBw7vNITSbqLUP9jw==</wsse:Nonce><wsu:Created>2024-03-12T00:45:48.111Z</wsu:Created></wsse:UsernameToken></wsse:Security></SOAP-ENV:Header><SOAP-ENV:Body><tev:PullMessagesResponse><tev:CurrentTime>2024-03-12T00:45:49Z</tev:CurrentTime><tev:TerminationTime>2024-03-12T00:47:49Z</tev:TerminationTime><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/Visitor</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage><wsnt:NotificationMessage><wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">tns1:RuleEngine/MyRuleDetector/Package</wsnt:Topic><wsnt:Message><tt:Message UtcTime="2024-03-12T00:45:48Z" PropertyOperation="Initialized"><tt:Source><tt:SimpleItem Name="Source" Value="VideoSourceToken" /></tt:Source><tt:Data><tt:SimpleItem Name="State" Value="false" /></tt:Data></tt:Message></wsnt:Message></wsnt:NotificationMessage></tev:PullMessagesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

[Rebroadcast Plugin]: Input #0, flv, from 'rtmp://xxxx:xxxx@192.168.1.226:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=xxxx&password=xxxx':
[Rebroadcast Plugin]:   Metadata:
[Rebroadcast Plugin]:     |RtmpSampleAccess: true
[Rebroadcast Plugin]:     displayWidth    : 2560
[Rebroadcast Plugin]:     displayHeight   : 1920
[Rebroadcast Plugin]:   Duration: 00:00:00.00, start: 337178.464000, bitrate: N/A
[Rebroadcast Plugin]:   Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, 19 fps, 20 tbr, 1k tbn
[Rebroadcast Plugin]: Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
[Rebroadcast Plugin]: Output #0, rtsp, to 'rtsp://127.0.0.1:41695/4a71f8501fb009d4':
[Rebroadcast Plugin]:   Metadata:
[Rebroadcast Plugin]:     |RtmpSampleAccess: true
[Rebroadcast Plugin]:     displayWidth    : 2560
[Rebroadcast Plugin]:     displayHeight   : 1920
[Rebroadcast Plugin]:     encoder         : Lavf58.76.100
[Rebroadcast Plugin]:   Stream #0:0: Video: h264 (High), yuv420p(progressive), 2560x1920, q=2-31, 19 fps, 20 tbr, 90k tbn, 1k tbc
[Rebroadcast Plugin]:   Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
[Rebroadcast Plugin]: Stream mapping:
[Rebroadcast Plugin]:   Stream #0:0 -> #0:0 (copy)
[Rebroadcast Plugin]:   Stream #0:1 -> #0:1 (copy)
[Rebroadcast Plugin]: Press [q] to stop, [?] for help
[Rebroadcast Plugin]: frame=    1 fps=0.0 q=-1.0 size=N/A time=00:00:00.00 bitrate=N/A speed=N/A
[Rebroadcast Plugin]: video/audio detected, discarding further input
[HomeKit]: HomeKit Connection 192.168.1.16
[HomeKit]: destination address 192.168.1.16 52373 49917
[HomeKit]: using address override 192.168.1.120
[HomeKit]: source address 192.168.1.120 44402 39953
[HomeKit]: handleStreamRequest {
[HomeKit]:   sessionID: 'a833840c-461d-475c-8e2c-b1f82cc6cdb9',
[HomeKit]:   type: 'start',
[HomeKit]:   video: {
[HomeKit]:     codec: 0,
[HomeKit]:     profile: 1,
[HomeKit]:     level: 2,
[HomeKit]:     packetizationMode: 0,
[HomeKit]:     cvoId: undefined,
[HomeKit]:     width: 1280,
[HomeKit]:     height: 720,
[HomeKit]:     fps: 30,
[HomeKit]:     pt: 99,
[HomeKit]:     ssrc: 897522818,
[HomeKit]:     max_bit_rate: 299,
[HomeKit]:     rtcp_interval: 0.5,
[HomeKit]:     mtu: 1378
[HomeKit]:   },
[HomeKit]:   audio: {
[HomeKit]:     codec: 'OPUS',
[HomeKit]:     channel: 1,
[HomeKit]:     bit_rate: 0,
[HomeKit]:     sample_rate: 24,
[HomeKit]:     packet_time: 20,
[HomeKit]:     pt: 110,
[HomeKit]:     ssrc: 3557378131,
[HomeKit]:     max_bit_rate: 24,
[HomeKit]:     rtcp_interval: 5,
[HomeKit]:     comfort_pt: 13,
[HomeKit]:     comfortNoiseEnabled: false
[HomeKit]:   }
[HomeKit]: }
[HomeKit]: Will wait for initial RTCP packet. { isHomeHub: undefined, isLowBandwidth: false, hasHomeHub: false }
[HomeKit]: { isLowBandwidth: false, isWatch: false, destination: 'local' }
[Rebroadcast Plugin]: Selected stream RTMP main.bcs
[Rebroadcast Plugin]: sending prebuffer 1992.75
[HomeKit]: { tool: undefined, rtpSender: 'Default' }
[HomeKit]: Waiting for video RTCP packet before sending video.
[HomeKit]: packet loss 1
[HomeKit]: Received first video RTCP packet.
[HomeKit]: rtsp/tcp h264
[HomeKit]: a/v h264 opus found h264 undefined
[HomeKit]: rtsp/tcp aac
[Rebroadcast Plugin]: RTMP main.bcs active rebroadcast clients: 1
[HomeKit]: -hide_banner -analyzeduration 0 -probesize 512 -i rtsp:[REDACTED] -acodec libopus -application lowdelay -frame_duration 20 -flags +global_header -ar 24k -b:a 24k -bufsize 96k -ac 1 -payload_type 110 -ssrc 11185513 -dn -sn -vn -f rtp rtp://127.0.0.1:54685?pkt_size=400 -sdp_file pipe:4
[Rebroadcast Plugin]: Found sync frame in rtsp prebuffer.
[HomeKit]: received first video packet
[HomeKit]: scanning for idr start found: 24 7 8
[HomeKit]: idr start found: 28 5
[HomeKit]: [rtsp @ 0x55be7709fa40] method SETUP failed: 461 Unsupported Transport
[HomeKit]: Input #0, rtsp, from 'rtsp://127.0.0.1:46867':
[HomeKit]:   Metadata:
[HomeKit]:     title           : No Name
[HomeKit]:   Duration: N/A, start: 0.000000, bitrate: N/A
[HomeKit]: Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp
[HomeKit]: Stream mapping:
[HomeKit]:   Stream #0:0 -> #0:0 (aac (native) -> opus (libopus))
[HomeKit]: Press [q] to stop, [?] for help
[HomeKit]: Output #0, rtp, to 'rtp://127.0.0.1:54685?pkt_size=400':
[HomeKit]:   Metadata:
[HomeKit]:     title           : No Name
[HomeKit]:     encoder         : Lavf58.76.100
[HomeKit]: video/audio detected, discarding further input
[HomeKit]: received first audio packet
rtsp outgoing message
 OPTIONS rtsp://192.168.1.226:554/ RTSP/1.0
CSeq: 0
User-Agent: Scrypted

rtsp incoming message
 RTSP/1.0 200 OK
CSeq: 0
Date: Tue, Mar 12 2024 00:46:07 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

rtsp outgoing message
 DESCRIBE rtsp://192.168.1.226:554/ RTSP/1.0
Require: www.onvif.org/ver20/backchannel
Accept: application/sdp
CSeq: 1
User-Agent: Scrypted

rtsp incoming message
 RTSP/1.0 401 Unauthorized
CSeq: 1
Date: Tue, Mar 12 2024 00:46:07 GMT
WWW-Authenticate: Digest realm="BC Streaming Media", nonce="47d554ee94471f792b8c2a85d1c6f39e"

rtsp outgoing message
 DESCRIBE rtsp://192.168.1.226:554/ RTSP/1.0
Require: www.onvif.org/ver20/backchannel
Accept: application/sdp
CSeq: 2
User-Agent: Scrypted
Authorization: Digest username="xxxx", realm="BC Streaming Media", nonce="47d554ee94471f792b8c2a85d1c6f39e", uri="rtsp://192.168.1.226:554/", algorithm="MD5", response="c1e0b274eba10eea7a256bc0e6e5bfb9"

rtsp incoming message
 RTSP/1.0 200 OK
CSeq: 2
Date: Tue, Mar 12 2024 00:46:07 GMT
Content-Base: rtsp://192.168.1.226//
Content-Type: application/sdp
Content-Length: 741

ONVIF Backchannel SDP:
v=0
o=- 1709867219583652 1 IN IP4 192.168.1.226
s=Session streamed by "preview"
t=0 0
a=tool:BC Streaming Media v202210012022.10.01
a=type:broadcast
a=control:*
a=range:npt=now-
a=x-qt-text-nam:Session streamed by "preview"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=640033;sprop-parameter-sets=Z2QAM6wVFKAoAPGQ,aO48sA==
a=recvonly
a=control:track1
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=recvonly
a=control:track2
m=audio 0 RTP/AVP 0
a=control:track3
a=rtpmap:0 PCMU/8000
a=sendonly
rtsp outgoing message
 SETUP rtsp://192.168.1.226:554/track3 RTSP/1.0
Require: www.onvif.org/ver20/backchannel
Transport: RTP/AVP;unicast;client_port=60301-60302
CSeq: 3
User-Agent: Scrypted
Authorization: Digest username="xxxx", realm="BC Streaming Media", nonce="47d554ee94471f792b8c2a85d1c6f39e", uri="rtsp://192.168.1.226:554/track3", algorithm="MD5", response="e0a7e8177336e2639925ab867ade270c"

rtsp incoming message
 RTSP/1.0 200 OK
CSeq: 3
Date: Tue, Mar 12 2024 00:46:08 GMT
Transport: RTP/AVP;unicast;destination=192.168.1.120;source=192.168.1.226;client_port=60301-60302;server_port=6978-6979
Session: 1D064D57;timeout=65

backchannel transport {
  'RTP/AVP': undefined,
  unicast: undefined,
  destination: '192.168.1.120',
  source: '192.168.1.226',
  client_port: '60301-60302',
  server_port: '6978-6979'
}
rtsp outgoing message
 PLAY rtsp://192.168.1.226:554/ RTSP/1.0
Require: www.onvif.org/ver20/backchannel
Range: npt=0.000-
CSeq: 4
User-Agent: Scrypted
Authorization: Digest username="xxxx", realm="BC Streaming Media", nonce="47d554ee94471f792b8c2a85d1c6f39e", uri="rtsp://192.168.1.226:554/", algorithm="MD5", response="6b4e4f0d8aa0cede47bb9a0b3065aca4"
Session: 1D064D57

rtsp incoming message
 RTSP/1.0 200 OK
CSeq: 4
Date: Tue, Mar 12 2024 00:46:08 GMT
Range: npt=0.000-
Session: 1D064D57
RTP-Info: url=rtsp://192.168.1.226//track1;seq=0;rtptime=0,url=rtsp://192.168.1.226//track2;seq=0;rtptime=0,url=rtsp://192.168.1.226//track3;seq=0;rtptime=0

video codec/container not matched, transcoding: undefined {"url":"rtsp://127.0.0.1:45137","inputArguments":["-acodec","libopus","-i","rtsp://127.0.0.1:45137"]}
-hide_banner -acodec libopus -i rtsp:[REDACTED] -acodec pcm_mulaw -ar 8000 -ac 1 -ssrc -804774905 -dn -sn -vn -f rtp rtp://127.0.0.1:55884?pkt_size=1024 -sdp_file pipe:4
intercom playing
[rtsp @ 0x556d1e4da840] method SETUP failed: 461 Unsupported Transport

Input #0, rtsp, from 'rtsp://127.0.0.1:45137':
  Metadata:
    title           : HomeKit Audio Talkback
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: opus, 48000 Hz, stereo, s16

Stream mapping:
  Stream #0:0 -> #0:0 (opus (libopus) -> pcm_mulaw (native))
Press [q] to stop, [?] for help

Output #0, rtp, to 'rtp://127.0.0.1:55884?pkt_size=1024':
  Metadata:
    title           : HomeKit Audio Talkback
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
    Metadata:
      encoder         : Lavc58.134.100 pcm_mulaw

video/audio detected, discarding further input
[HomeKit]: handleStreamRequest { sessionID: 'a833840c-461d-475c-8e2c-b1f82cc6cdb9', type: 'stop' }
[HomeKit]: streaming session killed, duration: 10s
[HomeKit]: Stopping intercom.
rtsp outgoing message
 TEARDOWN rtsp://192.168.1.226:554/ RTSP/1.0
CSeq: 5
User-Agent: Scrypted
Authorization: Digest username="xxxx", realm="BC Streaming Media", nonce="47d554ee94471f792b8c2a85d1c6f39e", uri="rtsp://192.168.1.226:554/", algorithm="MD5", response="82a74a30bab2497802ab96d1d71bd2a3"
Session: 1D064D57

[Rebroadcast Plugin]: RTMP main.bcs active rebroadcast clients: 0
[HomeKit]: ffmpeg exited
ffmpeg exited
koush commented 4 months ago

Downgraded one, and two-way audio functionality has returned.

Sounds like you have the fix

koush commented 4 months ago

cameras often have buggy firmware, dont upgrade unless you need to.

hgregorian commented 4 months ago

Sure, understood. I'm assuming it's not worth digging into some other debugging methods? I'm happy to collect additional information as you need it. Surely, some Reolink Doorbell user in the future will have this FW installed by default and then complain they can't get the intercom to work via Scrypted! 😀

Intercom of course continues to function without issue in Reolink's app.

cameras often have buggy firmware, dont upgrade unless you need to.

hgregorian commented 4 months ago

Forgot to mention an additional data point. Same issue if using ONVIF.

cena-scott commented 1 month ago

I just got the new released White version of Reolink doorbell POE, it comes pre-installed with firmware version v3.0.0.3215_2401272070, with hardware No. DB_566128M5MP_P_W. The W at the end of the hardware No refer to the White version.

I have the same issue, 2 way audio not working, I can hear from homekit but the speaker on the doorbell itself not actived, no blue LED turn on around the doorbell button, tried Reolink plugin and ONVIF, both not working, I can't install the older firmware from the Black version it gives error not recognized.

Any idea anyone can help please? I am thinking to return it since I still have time for return policy but before I return it I want to make sure it doesn't work on White version, I have seen many people says downgrade to older firmware on Black doorbell works, but can't do the same for the White version, I choose this white version because it has taller camera view 3:4 head-to-toe as they say.

KumarMudedla commented 1 week ago

@koush Downgrading V2 Reolink Doorbell POE to this old version bricking the Camera, tried on two of them and its the same issue. Please beware. I would update documentation and recommend not buy Reolink Doorbell expecting 2 way Audio

KumarMudedla commented 6 days ago

@hgregorian Could you please confirm if you are using V1 or V2 Doorbell ? V2 getting bricked with this old version. Tried with 2 different Doorbells, after downgrade camera keep restarting. so Could not connect to it at all. Already tried Hard Reset etc..

hgregorian commented 5 days ago

@hgregorian Could you please confirm if you are using V1 or V2 Doorbell ? V2 getting bricked with this old version. Tried with 2 different Doorbells, after downgrade camera keep restarting. so Could not connect to it at all. Already tried Hard Reset etc..

I've got the black poe doorbells, or what you're calling V1.

KumarMudedla commented 5 days ago

@hgregorian Could you please confirm if you are using V1 or V2 Doorbell ? V2 getting bricked with this old version. Tried with 2 different Doorbells, after downgrade camera keep restarting. so Could not connect to it at all. Already tried Hard Reset etc..

I've got the black poe doorbells, or what you're calling V1.

If its a v2 you will see the v2 branding . Mine is Black POE as well but its very latest v2. Frigate community confirmed, old Firmware version bricking the V2 POE Doorbell.

KumarMudedla commented 1 day ago

adding for any one coming here.. Reolink Support Sent me Newer version '3308_2407041199' that resolving the 2 way audio issue on V2 and also Chime still works with the version