WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

CPU Spike with RTSP protocol

Open GeuntaBuwono opened this issue 5 months ago • 5 comments

I got CPU spike, but it's solved when i restart the HaaS, I've connect RTSP to my NVR Dahua Imou N14P

my entity config

type: custom:webrtc-camera
streams:
  - url: >-
      rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=0&unicast=true&proto=Onvif
    name: HD
Image Image

my version of WebRTC Camera v3.6.0

GeuntaBuwono avatar Jul 05 '25 11:07 GeuntaBuwono

It is difficult to understand the cause of the problem from this data.

AlexxIT avatar Jul 07 '25 03:07 AlexxIT

looks like it's related with this issue as well https://github.com/AlexxIT/WebRTC/issues/64

GeuntaBuwono avatar Jul 07 '25 14:07 GeuntaBuwono

No. It's very old issue about old backend. It not used anymore. There is another issue about H265 + Safari + WebRTC. If you have this "bingo", it's an answer.

AlexxIT avatar Jul 07 '25 14:07 AlexxIT

im using h264 encoded on my nvr, brave browser and WebRTC

GeuntaBuwono avatar Jul 07 '25 16:07 GeuntaBuwono

It is ideal, of course, to check whether this problem is repeated on the new version of go2rtc. Because the old one is built into the integration.

AlexxIT avatar Jul 07 '25 16:07 AlexxIT