WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

"muted: true" not applied, sound still comes from all cameras

Open klugev303 opened this issue 1 year ago • 9 comments

v.3.1.1 "muted: true" not applied, sound still comes from all cameras Previously, before updating the version, this parameter worked correctly!

my config:

type: custom:webrtc-camera
url: rtsp://rtsp:password*@10.168.15.100:554/Streaming/Channels/402
ui: true
muted: true
mode: mse

klugev303 avatar Jul 03 '23 06:07 klugev303

Can't confirm this problem

AlexxIT avatar Jul 06 '23 12:07 AlexxIT

I'm having the opposite issue, I have muted: false in my config (also tried removing the line to use defaults) and the icon always starts as muted. Have to click the icon to get sound

stplatt avatar Jul 13 '23 15:07 stplatt

Some browsers not allowed autoplay for video with audio. So player autoenable mute in this situation.

AlexxIT avatar Jul 13 '23 15:07 AlexxIT

I'm seeing it in chrome and android webview. It works ok with version 3.1.1, the issue started with 3.2.1. I downgraded to 3.1.1 and it's working as expected again

stplatt avatar Jul 13 '23 15:07 stplatt

Here's my card:

type: custom:webrtc-camera
url: camera.evies_room_go2rtc
ui: true
muted: false
digital_ptz:
  mouse_drag_pan: true
  mouse_wheel_zoom: false
  mouse_double_click_zoom: true
  touch_pinch_zoom: true
  touch_drag_pan: true
  touch_tap_drag_zoom: true
ptz:
  opacity: 0.5
  service: amcrest.ptz_control
  data_left:
    entity_id: camera.evies_room
    movement: left
  data_right:
    entity_id: camera.evies_room
    movement: right
  data_up:
    entity_id: camera.evies_room
    movement: up
  data_down:
    entity_id: camera.evies_room
    movement: down
  data_zoom_in:
    entity_id: camera.evies_room
    movement: zoom_in
  data_zoom_out:
    entity_id: camera.evies_room
    movement: zoom_out
shortcuts:
  - name: Full room
    icon: mdi:application-brackets-outline
    service: amcrest.goto_preset
    service_data:
      entity_id: camera.evies_room
      preset: 1
  - name: Closet
    icon: mdi:hanger
    service: amcrest.goto_preset
    service_data:
      entity_id: camera.evies_room
      preset: 3
  - name: Bed
    icon: mdi:cradle
    service: amcrest.goto_preset
    service_data:
      entity_id: camera.evies_room
      preset: 2
style: >-
  .header {top: 6px; right: 5px} .mode {position: absolute; top: 0px; right:
  5px} .shortcuts {left: 6px: top: 6px; right: unset; display: flex;
  flex-direction: row; gap: 10px; opacity: 0.7; background: rgba(0, 0, 0, 0.25);
  border-radius: 5px}

stplatt avatar Jul 13 '23 16:07 stplatt

I'm having the opposite issue, I have muted: false in my config (also tried removing the line to use defaults) and the icon always starts as muted. Have to click the icon to get sound

I have the same issue, I'm using a cam as babymonitor that i cast as lovelace to a tv so i can't unmute. Worked in the previous version so I'll downgrade for now.

jahpster avatar Jul 15 '23 19:07 jahpster

Can confirm this same issue. Cards remain muted upon load and can only be manually unmuted. muted: parameter seems to be non-functional.

tested on: Chrome, brave, edge, firefox

TheDescender avatar Aug 03 '23 08:08 TheDescender

been a while, having same issue. anyone updates on this?

hankfic avatar Feb 19 '24 15:02 hankfic