|
33 | 33 |
|
34 | 34 | _SETTINGS_FILE_PATH = env.abs_path_in_home_dir('settings.yml') |
35 | 35 |
|
36 | | -# To create a new EDID: |
37 | | -# 1. Convert the existing EDID to binary using "edid2bin". |
38 | | -# 2. Edit the binary using "AW EDID Editor v.02.00.13". |
39 | | -# 3. Save the new EDID in binary format. |
40 | | -# 4. Convert the binary EDID to a hex EDID using "make-edid". |
41 | | -# - Use the "--yaml" option if required. |
42 | | - |
43 | | -# Note: You may need to perform a few extra steps in order for the EDID |
44 | | -# to conform to edid-decode's check - but only if the "Display Range Limits" |
45 | | -# block changes. This is due to a bug in AW EDID Editor v.02.00.13 that doesn't |
46 | | -# set the correct bytes. |
47 | | -# To work around this: |
48 | | -# 1. Open the new EDID in "AW EDID Editor v.3.0.10". |
49 | | -# 2. Save the EDID to set correct bytes in the "Display Range Limits" block |
50 | | -# 3. Re-open the EDID in "AW EDID Editor v.02.00.13" and re-set |
51 | | -# the screen size dimensions to 0 (both vertical and horizontal) |
52 | | -_DEFAULT_TC358743_EDID = """ |
53 | | -00ffffffffffff005262769800888888 |
54 | | -2d1e0103800000781aee91a3544c9926 |
55 | | -0f50547fef8081c08140810081809500 |
56 | | -a9c081406140271f80f07138164038c0 |
57 | | -350000000000001eec2c80a070381a40 |
58 | | -3020350000000000001e000000fc0054 |
59 | | -696e7950696c6f740a202020000000fd |
60 | | -00185a125010000a20202020202001aa |
61 | | -02031ef14b010204131f2021223c3d3e |
62 | | -2309070766030c00300080e2007f0000 |
63 | | -00000000000000000000000000000000 |
64 | | -00000000000000000000000000000000 |
65 | | -00000000000000000000000000000000 |
66 | | -00000000000000000000000000000000 |
67 | | -00000000000000000000000000000000 |
68 | | -0000000000000000000000000000008e |
69 | | -""".strip() |
70 | | - |
71 | 36 | # Define default values for user-configurable TinyPilot settings. The YAML data |
72 | 37 | # in _SETTINGS_FILE_PATH take precedence over these defaults. |
73 | 38 | _DEFAULTS = { |
|
77 | 42 | # settings file if they want to provide their own TLS keys. |
78 | 43 | 'tinypilot_manage_tls_keys': True, |
79 | 44 | 'ustreamer_desired_fps': video_service.DEFAULT_MJPEG_FRAME_RATE, |
80 | | - 'ustreamer_edid': _DEFAULT_TC358743_EDID, |
| 45 | + 'ustreamer_edid': video_service.DEFAULT_EDID, |
81 | 46 | 'ustreamer_quality': video_service.DEFAULT_MJPEG_QUALITY, |
82 | 47 | 'ustreamer_h264_bitrate': video_service.DEFAULT_H264_BITRATE, |
83 | 48 | 'janus_stun_server': video_service.DEFAULT_H264_STUN_SERVER, |
|
0 commit comments