-
Notifications
You must be signed in to change notification settings - Fork 20
/
config_example.xml
46 lines (39 loc) · 2.66 KB
/
config_example.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!-->
Instructions for using the config_example.xml file.
To use your own App Key and secret for this app:
MAKE A COPY of config_example.xml (recommended NOT to edit config_example.xml for app usage)
and give it a name not used in this directory (res/value/), e.g. config.xml.
Uncomment the xml elements in it.
In the Sample App, keys with Skylink Media Relay (SMR) enabled and those without
are kept in 2 separate categories.
If desired, you may provide below a default App key for each category.
If not, simply uncomment the xml elements without changing their values.
Note that an appropriate App key and its secret are required to connect to Skylink successfully.
Populate the boolean value for is_app_key_smr with whether the app should start by selecting
app_key_no_smr (false) or app_key_smr (true) as the App key to use.
Populate the values for app_key_no_smr and/or app_key_smr with the appropriate app keys.
Populate the values for app_key_secret_no_smr and/or app_key_secret_smr with the appropriate app secret.
Populate the values for app_key_desc_no_smr and/or app_key_desc_smr with the appropriate app description.
References:
For more information regarding the SMR, please see:
- https://temasys.freshdesk.com/support/solutions/articles/12000047799-what-is-mcu-sfu-skylink-media-relay-
- https://temasys.freshdesk.com/support/solutions/articles/12000050877-why-do-i-get-an-error-404-app-id-is-invalid-
<-->
<resources>
<!-- App Keys and secrets. -->
<!-- Uncomment the following in config.xml -->
<!-- <bool name="is_app_key_smr">false</bool> -->
<!-- Uncomment the following in config.xml -->
<!-- <string name="app_key_no_smr">If desired, enter app key with SMR disabled.</string> -->
<!-- <string name="app_key_secret_no_smr">If desired, enter corresponding app secret.</string> -->
<!-- <string name="app_key_desc_no_smr">If desired, enter corresponding key description.</string> -->
<!-- Uncomment the following in config.xml -->
<!-- <string name="app_key_smr">If desired, enter app key with SMR enabled.</string> -->
<!-- <string name="app_key_secret_smr">If desired, enter corresponding app secret.</string> -->
<!-- <string name="app_key_desc_smr">If desired, enter corresponding key description.</string> -->
<!-- Example only, do NOT uncomment the following in config.xml -->
<!-- <string name="app_key_smr">12345678-abc3-def6-7h8i-asdfhjkl8888.</string> -->
<!-- <string name="app_key_secret_smr">88s3cr3tda68</string> -->
<!-- <string name="app_key_desc_smr">This is a dummy SMR key that serves only as an example.</string> -->
</resources>