@@ -11,17 +11,17 @@ defmodule LiveExWebRTC.Publisher do
11
11
< summary class = "font-bold text-[#0d0d0d] py-2.5 " > Devices</ summary >
12
12
< div class = "text-[#606060] flex flex-col gap-6 py-2.5 " >
13
13
< div class = "flex gap-2.5 items-center " >
14
- < label for = "audioDevices " class = "font-medium " > Audio Device</ label >
14
+ < label for = "lex-audio-devices " class = "font-medium " > Audio Device</ label >
15
15
< select
16
- id = "audioDevices "
16
+ id = "lex-audio-devices "
17
17
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
18
18
>
19
19
</ select >
20
20
</ div >
21
21
< div class = "flex gap-2.5 items-center " >
22
- < label for = "videoDevices " class = "" > Video Device</ label >
22
+ < label for = "lex-video-devices " class = "" > Video Device</ label >
23
23
< select
24
- id = "videoDevices "
24
+ id = "lex-video-devices "
25
25
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
26
26
>
27
27
</ select >
@@ -32,91 +32,91 @@ defmodule LiveExWebRTC.Publisher do
32
32
< summary class = "font-bold text-[#0d0d0d] py-2.5 " > Audio Settings</ summary >
33
33
< div class = "text-[#606060] flex flex-col gap-6 py-2.5 " >
34
34
< div class = "flex gap-2.5 items-center " >
35
- < label for = "echoCancellation " > Echo Cancellation</ label >
36
- < input type = "checkbox " id = "echoCancellation " class = "rounded-full " checked />
35
+ < label for = "lex-echo-cancellation " > Echo Cancellation</ label >
36
+ < input type = "checkbox " id = "lex-echo-cancellation " class = "rounded-full " checked />
37
37
</ div >
38
38
< div class = "flex gap-2.5 items-center " >
39
- < label for = "autoGainControl " > Auto Gain Control</ label >
40
- < input type = "checkbox " id = "autoGainControl " class = "rounded-full " checked />
39
+ < label for = "lex-auto-gain-control " > Auto Gain Control</ label >
40
+ < input type = "checkbox " id = "lex-auto-gain-control " class = "rounded-full " checked />
41
41
</ div >
42
42
< div class = "flex gap-2.5 items-center " >
43
- < label for = "noiseSuppression " > Noise Suppression</ label >
44
- < input type = "checkbox " id = "noiseSuppression " class = "rounded-full " checked />
43
+ < label for = "lex-noise-suppression " > Noise Suppression</ label >
44
+ < input type = "checkbox " id = "lex-noise-suppression " class = "rounded-full " checked />
45
45
</ div >
46
46
</ div >
47
- < button id = "audioApplyButton " class = "rounded-lg px-10 py-2.5 bg-brand disabled:bg-brand/50 hover:bg-brand/90 text-white font-bold " disabled > Apply</ button >
47
+ < button id = "lex-audio-apply-button " class = "rounded-lg px-10 py-2.5 bg-brand disabled:bg-brand/50 hover:bg-brand/90 text-white font-bold " disabled > Apply</ button >
48
48
</ details >
49
49
< details >
50
50
< summary class = "font-bold text-[#0d0d0d] py-2.5 " > Video Settings</ summary >
51
51
< div class = "text-[#606060] flex flex-col gap-6 py-2.5 " >
52
- < div id = "resolution " class = "flex gap-2.5 items-center " >
53
- < label for = "width " > Width</ label >
52
+ < div id = "lex- resolution " class = "flex gap-2.5 items-center " >
53
+ < label for = "lex- width " > Width</ label >
54
54
< input
55
55
type = "text "
56
- id = "width "
56
+ id = "lex- width "
57
57
value = "1280 "
58
58
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
59
59
/>
60
- < label for = "height " > Height</ label >
60
+ < label for = "lex- height " > Height</ label >
61
61
< input
62
62
type = "text "
63
- id = "height "
63
+ id = "lex- height "
64
64
value = "720 "
65
65
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
66
66
/>
67
67
</ div >
68
68
< div class = "flex gap-2.5 items-center " >
69
- < label for = "fps " > FPS</ label >
69
+ < label for = "lex- fps " > FPS</ label >
70
70
< input
71
71
type = "text "
72
- id = "fps "
72
+ id = "lex- fps "
73
73
value = "24 "
74
74
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
75
75
/>
76
76
</ div >
77
77
< div class = "flex gap-2.5 items-center " >
78
- < label for = "bitrate " > Max Bitrate (kbps)</ label >
78
+ < label for = "lex- bitrate " > Max Bitrate (kbps)</ label >
79
79
< input
80
80
type = "text "
81
- id = "bitrate "
81
+ id = "lex- bitrate "
82
82
value = "1500 "
83
83
class = "rounded-lg disabled:text-gray-400 disabled:border-gray-400 focus:border-brand focus:outline-none focus:ring-0 "
84
84
/>
85
85
</ div >
86
86
</ div >
87
- < button id = "videoApplyButton " class = "rounded-lg px-10 py-2.5 bg-brand disabled:bg-brand/50 hover:bg-brand/90 text-white font-bold " disabled > Apply</ button >
87
+ < button id = "lex-video-apply-button " class = "rounded-lg px-10 py-2.5 bg-brand disabled:bg-brand/50 hover:bg-brand/90 text-white font-bold " disabled > Apply</ button >
88
88
</ details >
89
- < div id = "videoplayer-wrapper " class = "flex flex-1 flex-col min-h-0 pt-2.5 " >
90
- < video id = "previewPlayer " class = "m-auto rounded-lg bg-black h-full " autoplay controls muted >
89
+ < div id = "lex- videoplayer-wrapper " class = "flex flex-1 flex-col min-h-0 pt-2.5 " >
90
+ < video id = "lex-preview-player " class = "m-auto rounded-lg bg-black h-full " autoplay controls muted >
91
91
</ video >
92
92
</ div >
93
- < div id = "stats " , class = "flex justify-between w-full text-[#606060] " >
93
+ < div id = "lex- stats " , class = "flex justify-between w-full text-[#606060] " >
94
94
< div class = "flex p-1 gap-4 " >
95
95
< div class = "flex flex-col " >
96
- < label for = "audio-bitrate " > Audio Bitrate (kbps): </ label >
97
- < span id = "audio-bitrate " > 0</ span >
96
+ < label for = "lex- audio-bitrate " > Audio Bitrate (kbps): </ label >
97
+ < span id = "lex- audio-bitrate " > 0</ span >
98
98
</ div >
99
99
< div class = "flex flex-col " >
100
- < label for = "video-bitrate " > Video Bitrate (kbps): </ label >
101
- < span id = "video-bitrate " > 0</ span >
100
+ < label for = "lex- video-bitrate " > Video Bitrate (kbps): </ label >
101
+ < span id = "lex- video-bitrate " > 0</ span >
102
102
</ div >
103
103
< div class = "flex flex-col " >
104
- < label for = "packet-loss " > Packet loss (%): </ label >
105
- < span id = "packet-loss " > 0</ span >
104
+ < label for = "lex- packet-loss " > Packet loss (%): </ label >
105
+ < span id = "lex- packet-loss " > 0</ span >
106
106
</ div >
107
107
< div class = "flex flex-col " >
108
- < label for = "time " > Time: </ label >
109
- < span id = "time " > 00:00:00</ span >
108
+ < label for = "lex- time " > Time: </ label >
109
+ < span id = "lex- time " > 00:00:00</ span >
110
110
</ div >
111
111
</ div >
112
112
< div class = "p-1 flex items-center " >
113
- < div id = "status " class = "w-3 h-3 rounded-full bg-red-500 " >
113
+ < div id = "lex- status " class = "w-3 h-3 rounded-full bg-red-500 " >
114
114
</ div >
115
115
</ div >
116
116
</ div >
117
117
< div class = "py-2.5 " >
118
118
< button
119
- id = "button "
119
+ id = "lex- button "
120
120
class = "rounded-lg w-full px-2.5 py-2.5 bg-brand/100 disabled:bg-brand/50 hover:bg-brand/90 text-white font-bold "
121
121
disabled
122
122
>
0 commit comments