mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
spelling: components/camera (#64242)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
4bf0510b78
commit
ab73d7c347
@ -869,7 +869,7 @@ async def ws_camera_web_rtc_offer(
|
||||
"""Handle the signal path for a WebRTC stream.
|
||||
|
||||
This signal path is used to route the offer created by the client to the
|
||||
camera device through the integration for negitioation on initial setup,
|
||||
camera device through the integration for negotiation on initial setup,
|
||||
which returns an answer. The actual streaming is handled entirely between
|
||||
the client and camera device.
|
||||
|
||||
|
@ -713,7 +713,7 @@ async def test_stream_unavailable(hass, hass_ws_client, mock_camera, mock_stream
|
||||
await client.receive_json()
|
||||
assert mock_update_callback.called
|
||||
|
||||
# Simluate the stream going unavailable
|
||||
# Simulate the stream going unavailable
|
||||
callback = mock_update_callback.call_args.args[0]
|
||||
with patch(
|
||||
"homeassistant.components.camera.Stream.available", new_callable=lambda: False
|
||||
|
Loading…
x
Reference in New Issue
Block a user