Add camera media source (#65977)

This commit is contained in:
Paulus Schoutsen 2022-02-08 14:32:02 -08:00 committed by GitHub
parent b216f6f448
commit 716a1e2a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 432 additions and 109 deletions

View file

@ -8,6 +8,7 @@ from unittest.mock import Mock
from homeassistant.components.camera.const import DATA_CAMERA_PREFS, PREF_PRELOAD_STREAM
EMPTY_8_6_JPEG = b"empty_8_6"
WEBRTC_ANSWER = "a=sendonly"
def mock_camera_prefs(hass, entity_id, prefs=None):