-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconsts.js
160 lines (158 loc) · 4.92 KB
/
consts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
"use strict";
const consts = {
skyway: {
mode: [
{ label: "P2P", value: "p2p" },
{ label: "MESH", value: "mesh" },
{ label: "SFU", value: "sfu" },
]
},
video: {
codec: [
{ label: "default", value: null },
{ label: "VP8", value: "VP8" },
{ label: "VP9", value: "VP9" },
{ label: "H.264", value: "H264" },
],
size: [
{ label: "3840 x 2160", value: { width: 3840, height: 2160 } },
{ label: "1920 x 1080", value: { width: 1920, height: 1080 } },
{ label: "1280 x 720", value: { width: 1280, height: 720 } },
{ label: " 640 x 480", value: { width: 640, height: 480 } },
],
fps: [
{ label: "60 fps", value: 60 },
{ label: "30 fps", value: 30 },
{ label: "15 fps", value: 15 },
],
bandwidth: [
{ label: "default", value: null },
{ label: "4096 kbps", value: 4096 },
{ label: "2048 kbps", value: 2048 },
{ label: "1024 kbps", value: 1024 },
{ label: "512 kbps", value: 512 },
{ label: "256 kbps", value: 256 },
{ label: "128 kbps", value: 128 },
],
},
audio: {
codec: [
{ label: "default", value: null },
{ label: "Opus", value: "opus" },
{ label: "iSAC", value: "ISAC" },
{ label: "G.722", value: "G722" },
{ label: "PCMU(G.711 u-law)", value: "PCMU" },
{ label: "PCMA(G.711 a-law)", value: "PCMA" }
],
bandwidth: [
{ label: "default", value: null },
{ label: "128 kbps", value: 128 },
{ label: "64 kbps", value: 64 },
{ label: "32 kbps", value: 32 },
{ label: "16 kbps", value: 16 },
{ label: "8 kbps", value: 8 },
],
},
speaker: {
volume: [
{ label: "1.0", value: 1.0 },
{ label: "0.9", value: 0.9 },
{ label: "0.8", value: 0.8 },
{ label: "0.7", value: 0.7 },
{ label: "0.6", value: 0.6 },
{ label: "0.5", value: 0.5 },
{ label: "0.4", value: 0.4 },
{ label: "0.3", value: 0.3 },
{ label: "0.2", value: 0.2 },
{ label: "0.1", value: 0.1 }
]
},
renderer: [
{ label: "Cover", value: "cover" },
{ label: "Normal", value: "normal" },
],
layout: [
{ label: "Auto", value: "auto" },
{ label: "PinP", value: "pinp" },
{ label: "Grid", value: "grid" },
],
localize: {
text: {
ja : {
"welcome": "ようこそ",
"mode": "モード",
"p2p": "ピア・ツー・ピア(1対1)",
"mesh": "フルメッシュ(複数人)",
"sfu": "SFUサーバ(複数人)",
"role": "接続方法",
"send_recv": "送受信",
"send" : "送信のみ",
"recv" : "受信のみ",
"camera": "カメラ",
"microphone": "マイク",
"speaker": "スピーカー",
"volume": "ボリューム",
"mute": "ミュート",
"mute_colabora": "ミュート(キーボード押下中)",
"layout": "レイアウト",
"auto": "自動(デフォルト)",
"pinp": "ピクチャー・イン・ピクチャー",
"grid": "グリッド",
"cover": "画面に合わせて拡大",
"normal": "元のサイズで表示",
"fullscreen": "フルスクリーン表示",
"share": "画面共有",
"share_start": "共有を開始",
"share_finish": "共有を終了",
"experimental": "実験機能",
"voice_recognition": "音声認識",
"join": "入室",
"leave": "退室",
"call": "呼び出し",
"input_room": "ルーム名を入力",
"input_peer": "PeerIDを入力",
"OverconstrainedError" : "カメラが指定のフォーマットに対応していません",
"colabora" : "コラボラ",
"settings" : "設定",
},
en : {
"welcome": "Welcome",
"mode": "Mode",
"p2p": "Peer to Peer",
"mesh": "Full Mesh",
"sfu": "SFU",
"role": "Role",
"send_recv": "Send and Recv",
"send" : "Send Only",
"recv" : "Recv Only",
"camera": "Camera",
"microphone": "Microphone",
"speaker": "Speaker",
"volume": "Volume",
"mute": "Mute",
"mute_colabora": "Mute (at Key Press)",
"layout": "Layout",
"auto": "Auto(default)",
"pinp": "Picture in Picture",
"grid": "Grid",
"cover": "Auto Resize",
"normal": "Normal",
"fullscreen": "Full Screen",
"share": "Screen Share",
"share_start": "Start",
"share_finish": "Finish",
"experimental": "Experimental",
"voice_recognition": "Voice Recognition",
"join": "Join",
"leave": "Leave",
"call": "Call",
"input_room": "Input Room Name",
"input_peer": "Input Peer ID",
"OverconstrainedError" : "The camera does not support the specified format",
"colabora" : "Colabora",
"settings" : "Settings",
}
}
}
}
// done