WebRTC: NotsupportedError: video/mp4, codecs=undefined

Hi, after updating to 3.0 , i receive error:

NotsupportedError: Failed to execute ‘addSourceBuffer’ on 'MediaSource" : The type provided (video/mp4, codecs=undefined) is unsupported

I only receive this on HA Android companion app, clearing cache, restarting HA / APP doesnt work Chrome browser doesnt give any error,

i have a simple setup, like:

          - type: custom:webrtc-camera
            #entity: camera.buiten
            url: rtsp://xxxxx@192.168.0.14:554/Sms=18.unicast#backchannel=0

Before i used the entity camera card, but in other threads they speak about adding #backchannel=0 , but that doesnt help either

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 41 (14 by maintainers)

Most upvoted comments

ok, got it to work now, i was missing the “=” before the 3.0.0

  - url: /hacsfiles/webrtc/webrtc-camera.js?v=3.0.0
    type: module  

thnx for all help here!!

@pickonedev it seems to be a bug with the deletion of a stream that was added from the HA. I’ll fix it. Don’t worry, this list is not persistent. It will be cleared when you restart the integration/go2rtc Permanent list of streams only from config go2rtc.yaml.