luisiam / homebridge-foscamcamera

Foscam Plugin for HomeBridge (API 2.1): https://github.com/nfarina/homebridge
Apache License 2.0
42 stars 6 forks source link

C1 live video issues #66

Open Olepir opened 5 years ago

Olepir commented 5 years ago

This is what I get with "source": “-re -i rtsp://login:password@IP_Address:554/videoMain”,

EventedHTTPServer [::ffff:192.168.0.39] HTTP request: /characteristics?id=1.23,1.16 +8s HAPServer [5D:D7:DD:68:E7:AE] HAP Request: GET /characteristics?id=1.23,1.16 +1ms Accessory [Foscam C1] Getting value for Characteristic "Streaming Status" +1ms Accessory [Foscam C1] Got Characteristic "Streaming Status" value: AQEA +1ms Accessory [Foscam C1] Getting value for Characteristic "Streaming Status" +1ms Accessory [Foscam C1] Got Characteristic "Streaming Status" value: AQEA +0ms EventedHTTPServer [::ffff:192.168.0.39] HTTP Response is finished +2ms EventedHTTPServer [::ffff:192.168.0.39] HTTP request: /characteristics +30ms HAPServer [5D:D7:DD:68:E7:AE] HAP Request: PUT /characteristics +1ms Accessory [Foscam C1] Processing characteristic set: [{"aid":1,"iid":24,"value":"ARA1GYMdxoxFMqS83E6NaDUTAxkBAQACDDE5Mi4xNjguMC4zOQMCx8sEAr/kBCUCEGbzPUazz6JWJ66Q8OLOEvsDDtL02IDF+5dmI6v6KzuOAQEABSUCEB3gcXR2YP/R46YmmJ/WlyUDDudMOwI9DgUa9xHPEIE9AQEA"}] +1ms Accessory [Foscam C1] Setting Characteristic "Setup Endpoints" to value ARA1GYMdxoxFMqS83E6NaDUTAxkBAQACDDE5Mi4xNjguMC4zOQMCx8sEAr/kBCUCEGbzPUazz6JWJ66Q8OLOEvsDDtL02IDF+5dmI6v6KzuOAQEABSUCEB3gcXR2YP/R46YmmJ/WlyUDDudMOwI9DgUa9xHPEIE9AQEA +1ms StreamController StreamController Session: <Buffer 35 19 83 1d c6 8c 45 32 a4 bc dc 4e 8d 68 35 13> ControllerAddress: 192.168.0.39 VideoPort: 52167 AudioPort: 58559 Video Crypto: 0 Video Master Key: <Buffer 66 f3 3d 46 b3 cf a2 56 27 ae 90 f0 e2 ce 12 fb> Video Master Salt: <Buffer d2 f4 d8 80 c5 fb 97 66 23 ab fa 2b 3b 8e> Audio Crypto: 0 Audio Master Key: <Buffer 1d e0 71 74 76 60 ff d1 e3 a6 26 98 9f d6 97 25> Audio Master Salt: <Buffer e7 4c 3b 02 3d 0e 05 1a f7 11 cf 10 81 3d> +2ms EventedHTTPServer [::ffff:192.168.0.39] HTTP Response is finished +8ms EventedHTTPServer [::ffff:192.168.0.39] HTTP request: /characteristics?id=1.24 +10ms HAPServer [5D:D7:DD:68:E7:AE] HAP Request: GET /characteristics?id=1.24 +1ms Accessory [Foscam C1] Getting value for Characteristic "Setup Endpoints" +1ms StreamController Setup Read +1ms Accessory [Foscam C1] Got Characteristic "Setup Endpoints" value: ARA1GYMdxoxFMqS83E6NaDUTAgEAAxkBAQACDDE5Mi4xNjguMC40NgMCx8sEAr/kBCUBAQACEGbzPUazz6JWJ66Q8OLOEvsDDtL02IDF+5dmI6v6KzuOBSUBAQACEB3gcXR2YP/R46YmmJ/WlyUDDudMOwI9DgUa9xHPEIE9BgSI1VkABwSXR9YA +0ms EventedHTTPServer [::ffff:192.168.0.39] HTTP Response is finished +2ms EventedHTTPServer [::ffff:192.168.0.39] HTTP request: /characteristics +42ms HAPServer [5D:D7:DD:68:E7:AE] HAP Request: PUT /characteristics +1ms Accessory [Foscam C1] Processing characteristic set: [{"aid":1,"iid":22,"value":"ARUCAQEBEDUZgx3GjEUypLzcTo1oNRMCNAEBAAIJAQECAgECAwEAAwsBAgAFAgLQAgMBHgQXAQFjAgTC2H8fAwIrAQQEAAAAPwUCYgUDLAEBAgIMAQEBAgEAAwEBBAEeAxYBAW4CBOYlb6IDAhgABAQAAKBABgENBAEA"}] +1ms Accessory [Foscam C1] Setting Characteristic "Selected RTP Stream Configuration" to value ARUCAQEBEDUZgx3GjEUypLzcTo1oNRMCNAEBAAIJAQECAgECAwEAAwsBAgAFAgLQAgMBHgQXAQFjAgTC2H8fAwIrAQQEAAAAPwUCYgUDLAEBAgIMAQEBAgEAAwEBBAEeAxYBAW4CBOYlb6IDAhgABAQAAKBABgENBAEA +1ms StreamController Write SelectedStreamConfiguration +0ms [3/3/2019, 7:37:56 PM] [Foscam] Start streaming video from C1 with 1280x720@299kBit EventedHTTPServer [::ffff:192.168.0.39] HTTP Response is finished +29ms [3/3/2019, 7:37:56 PM] [Foscam] ERROR: FFmpeg exited with code 1