How to use this repo?
- User
How to use this repo?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
How to use this repo?
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To use the WebRTC Camera repository, follow these steps based on the documentation provided:
This repository provides a Home Assistant custom component for real-time camera streaming using WebRTC. It supports low-latency streaming from various camera protocols and integrates with Home Assistant as a custom Lovelace card and services.
webrtc folder from the latest release.webrtc folder to your Home Assistant's /config/custom_components directory.go2rtc.yaml file in the Home Assistant configuration folder. Read more about go2rtc here.Add the custom card to your Lovelace dashboard with the following configurations:
type: 'custom:webrtc-camera'
url: 'rtsp://rtsp:[Redacted PhoneNumber]@[Redacted IPAddress]:554/av_stream/ch0'
type: 'custom:webrtc-camera'
entity: camera.generic_stream
type: 'custom:webrtc-camera'
url: 'rtsp://camera-url'
muted: true
ui: true
title: My Camera
poster: https://example.com/snapshot.jpg
type: 'custom:webrtc-camera'
streams:
- url: stream_hd
name: [Redacted Person]
mode: webrtc
- url: stream_sd
name: SD
mode: mse
Enable two-way audio for supported cameras by adding the media parameter:
type: 'custom:webrtc-camera'
streams:
- url: camera_stream
- url: camera_stream
mode: webrtc
media: video,audio,microphone
Example:
ptz:
service: notify.persistent_notification
data_left:
message: Left button clicked
data_right:
message: Right button clicked
To rotate video:
style: 'video {transform: rotate(90deg); aspect-ratio: 1}'
Enable debug logging for this component by adding this to your configuration.yaml:
[Redacted Person]:
default: warning
logs:
custom_components.webrtc: debug
By following these steps, you can install, configure, and utilize this repository to enable real-time camera streaming with Home Assistant.