Option to select what video source Axis camera should use (#45268)
* Fully working proposal of config option to select what video source camera entity should use * Bump dependency to v43 Reflect dependency changes in how image sources is now a dict * Fix bdracos comment
This commit is contained in:
parent
68e7ecb74b
commit
03fb73c0ae
9 changed files with 99 additions and 34 deletions
|
@ -64,7 +64,7 @@ async def test_camera_with_stream_profile(hass):
|
|||
assert camera_entity.image_source == "http://1.2.3.4:80/axis-cgi/jpg/image.cgi"
|
||||
assert (
|
||||
camera_entity.mjpeg_source
|
||||
== "http://1.2.3.4:80/axis-cgi/mjpg/video.cgi?&streamprofile=profile_1"
|
||||
== "http://1.2.3.4:80/axis-cgi/mjpg/video.cgi?streamprofile=profile_1"
|
||||
)
|
||||
assert (
|
||||
await camera_entity.stream_source()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue