feat: Rework casting profile and documentation (#1602)

* feat: Rework casting profile and documentation

* Apply suggestions from code review

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

* Some other minor details

* Update docs/usage/casting.md

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

* Improve const.ts

* Some other small changes

* Update docs/usage/casting.md

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>

---------

Co-authored-by: Dermot Duffy <dermot.duffy@gmail.com>
This commit is contained in:
Felipe Santos
2024-10-02 19:45:16 -07:00
committed by GitHub
co-authored by Dermot Duffy
parent eccf50252f
commit 9098eb3483
4 changed files with 144 additions and 52 deletions
+6
View File
@@ -7,11 +7,17 @@ import { CASTING_PROFILE } from '../../../src/config/profiles/casting';
it('should contain expected defaults', () => {
expect(CASTING_PROFILE).toEqual({
'cameras_global.image.refresh_seconds': 1,
'dimensions.aspect_ratio_mode': 'static',
'dimensions.aspect_ratio': '16:9',
'live.auto_unmute': ['selected', 'visible'],
'live.controls.builtin': false,
'live.show_image_during_load': true,
'media_viewer.controls.builtin': false,
'menu.buttons.fullscreen.enabled': false,
'menu.buttons.media_player.enabled': false,
'menu.buttons.mute.enabled': true,
'menu.buttons.play.enabled': true,
'menu.style': 'none',
});
});