WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Does not install, does not work after manuall install

Open a-x- opened this issue 5 years ago • 31 comments

I got “Custom element doesn’t exist: ‘webrtc-camera’” on lovelace dashboard

no webrtc in custom_elements found after installation. “Add Integrations” search does not find webrtc camera ok, I copied it manually, restarted, and added integration, but no card at lovelace present now.

a-x- avatar Apr 12 '21 16:04 a-x-

type: picture-entity
entity: camera.ffmpeg
camera_image: camera.ffmpeg
camera_view: live
show_name: true
show_state: true

works

a-x- avatar Apr 12 '21 16:04 a-x-

HA on RPI 4, Browser: padOS

a-x- avatar Apr 12 '21 17:04 a-x-

Error log from HA:

Logger: custom_components.webrtc
Source: custom_components/webrtc/__init__.py:111 
Integration: WebRTC Camera (documentation, issues) 
First occurred: 20:00:45 (2 occurrences) 
Last logged: 20:00:53

Can't start stream: rtsp://192.168.1.18:554/1/h264major, because: 0, message='Attempt to decode JSON with unexpected mimetype: text/plain', url=URL('http://localhost:8083/stream')

a-x- avatar Apr 12 '21 17:04 a-x-

Ports are forwarded

a-x- avatar Apr 12 '21 17:04 a-x-

Hmm, I'm getting the same error "Attempt to decode JSON with unexpected mimetype"..

NylonDiamond avatar Apr 13 '21 05:04 NylonDiamond

I tried all the recent versions and v1.0.0 is the only one that works with my tablet. I'm using a Huawei M5 Lite. Any ideas why v1.0.0 would no show the error "Attempt to decode JSON with unexpected mimetype" and the newer versions all show that message?

NylonDiamond avatar Apr 13 '21 06:04 NylonDiamond

@NylonDiamond check v1.0.5

AlexxIT avatar Apr 13 '21 11:04 AlexxIT

V1.0.5 did the trick. Thanks, buddy! Great work 🎉️

NylonDiamond avatar Apr 13 '21 17:04 NylonDiamond

Thank you too! Ok, it’s better now. But it does not show a preview. I have to press play. Also it becomes full screen after I press. 3D0A931D-4247-42B7-8065-24D4B1560B79

iPhone 12 latest safari

a-x- avatar Apr 13 '21 18:04 a-x-

I expect it will update thumbnail preview apprx every 10s w/o any button pressing

a-x- avatar Apr 13 '21 18:04 a-x-

(In full screen it’s staring to work)

a-x- avatar Apr 13 '21 18:04 a-x-

Is any problem still actual?

AlexxIT avatar Apr 14 '21 18:04 AlexxIT

Hello Having a problem ... after installation via Hacs and integration custom card is not showing up ... I included debug ... only entry i could find was 👍 2021-04-20 21:27:10 DEBUG (webrtc) [custom_components.webrtc.utils] 2021/04/20 21:27:10 Server Start Awaiting Signal did i miss any point during installation ... any hint wellcome !

PeterKurth130265 avatar Apr 20 '21 19:04 PeterKurth130265

Hello Having a problem ... after installation via Hacs and integration custom card is not showing up ... I included debug ... only entry i could find was 👍 2021-04-20 21:27:10 DEBUG (webrtc) [custom_components.webrtc.utils] 2021/04/20 21:27:10 Server Start Awaiting Signal did i miss any point during installation ... any hint wellcome !

Solved ... my misstake was opening in edge ... which didnt work ... chrome works

PeterKurth130265 avatar Apr 21 '21 05:04 PeterKurth130265

image что не так то ? image все прописано и перезапущено. в логах ничего

exotsk avatar Apr 23 '21 12:04 exotsk

@exotsk так может компонент не установлен

AlexxIT avatar Apr 23 '21 13:04 AlexxIT

image через HACS. Остальные компоненты по этому пути работают.

exotsk avatar Apr 25 '21 04:04 exotsk

@exotsk изображение на скрине вообще не связано с компонентом

AlexxIT avatar Apr 25 '21 15:04 AlexxIT

I have installed Webrtc and can see it in integration, when I try to use it I get the error like in the screenshot below: Screenshot 2021-08-17 at 20 38 31 Can you please advise what I am doing wrong?

dukerider33 avatar Aug 17 '21 18:08 dukerider33

I have installed Webrtc and can see it in integration, when I try to use it I get the error like in the screenshot below: Screenshot 2021-08-17 at 20 38 31 Can you please advise what I am doing wrong?

I have same trouble :(

ondraandy avatar Aug 17 '21 20:08 ondraandy