AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.35k stars 161 forks source link

sonoff GK-200MP2-B can't ptz! Help! #221

Closed Joynaruto2nd closed 2 years ago

Joynaruto2nd commented 2 years ago

problem: can't ptz stream video: ok steam voice: ok

My card config: type: custom:webrtc-camera url: rtsp://account:key@192.168.x.x:xxx/av_stream/ch0 title: xxx muted: false background: true poster: https://xxx.jpg ptz: opacity: 0.4 service: sonoff.send_command data_left: device: 'my 6 digital id' cmd: left data_right: device: 'my 6 digital id' cmd: right data_up: device: 'my 6 digital id' cmd: up data_down: device: 'my 6 digital id‘ cmd: down -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- my configuration.yaml:

sonoff: username: +00xxx password: xxx reload: always

script: left: sequence:

Joynaruto2nd commented 2 years ago

My fault. The cam id was the problem.