What is the SMR Functionality?

The SMR functionality on your App Key ID is a Pro feature which can be enabled under APP: SETTINGS on the Temasys console. You may wish to refer to our guide on how you can enable/ disable Skylink Media Relay for your App.



In the Sample App, keys with Skylink Media Relay enabled and those without are kept in 2 separate categories.  You may provide a default App Key ID for each category. 


In your config.xml file:


  1. If you're using an App key ID without Skylink Media Relay (MCU) (i.e "is_app_key_smr" is false), you can enter the App key ID details here: app_key_no_smr/ app_key_secret_no_smr.
  2. If you're using an App key ID with Skylink Media Relay (MCU) (i.e "is_app_key_smr" is true), you can enter the App key ID details here: app_key_smr/ app_key_secret_smr.
  3. If you wish to switch between a key with Skylink Media Relay (MCU) set to ON and a key with Skylink Media Relay (MCU) set to OFF, you can enter key details of both keys.



How to enter your App Key Details


Case 1: Where you have a single App Key ID: 12345678-abc2-abc3-abc4-abc5abc6abc7 with Skylink Media Relay (MCU) set to OFF with the corresponding secret: 123456789123.

<!--Uncomment in config.xml-->
<bool name="is_app_key_smr">false</bool>

<!--Uncomment in config.xml-->
<!--Enter your App Key Details Below-->
<string name="app_key_no_smr">12345678-abc2-abc3-abc4-abc5abc6abc7</string>
string name="app_key_secret_no_smr">123456789123</string>
<string name="app_key_desc_no_smr">Non SMR Key for my awesome application</string>

<!--Uncomment in config.xml-->
<!--You need not make any changes to the below-->
<string name="app_key_smr">Any string.</string>
<string name="app_key_secret_smr">Any string</string>
<string name="app_key_desc_smr">Any string</string>
Case 2: Where you have a single App Key ID: 87654321-abc2-abc3-abc4-abc5abc6abc7 with Skylink Media Relay (MCU) set to ON with the corresponding secret: 432156789123. 

<!--Uncomment in config.xml-->
<bool name="is_app_key_smr">true</bool>

<!--Uncomment in config.xml-->
<!--You need not make any changes to the below-->
<string name="app_key_no_smr">Any string</string>
string name="app_key_secret_no_smr">Any string</string>
<string name="app_key_desc_no_smr">Any string</string>

<!--Uncomment in config.xml-->
<!--Enter your App Key Details below-->
<string name="app_key_smr">87654321-abc2-abc3-abc4-abc5abc6abc7</string>
<string name="app_key_secret_smr">432156789123</string>
<string name="app_key_desc_smr">SMR Key for my awesome application</string>
Case 3: Where you are toggling between 2 App Key IDs:
App Key ID 1: 87654321-abc2-abc3-abc4-abc5abc6abc7 with Skylink Media Relay (MCU) set to ON with the corresponding secret: 432156789123 and
App Key ID 2: 12345678-abc2-abc3-abc4-abc5abc6abc7 with Skylink Media Relay (MCU) set to OFF with the corresponding secret: 123456789123. 


<!--Uncomment in config.xml-->
<bool name="is_app_key_smr">true</bool>

<!--Uncomment in config.xml-->
<!--Enter your App Key Details below-->
<string name="app_key_no_smr">12345678-abc2-abc3-abc4-abc5abc6abc7</string>
string name="app_key_secret_no_smr">123456789123</string>
<string name="app_key_desc_no_smr">Non SMR Key for my awesome application</string>

<!--Uncomment in config.xml-->
<!--Enter your App Key Details below-->
<string name="app_key_smr">87654321-abc2-abc3-abc4-abc5abc6abc7</string>
<string name="app_key_secret_smr">432156789123</string>
<string name="app_key_desc_smr">SMR Key for my awesome application</string>

 

How to select your preferred App Key ID


On the Sample App, check your Key configuration by clicking on the vertical ellipsis (3 dots) and selecting the APP KEYS tab. 


If you have entered an smr key as well as a non smr key, you can switch between them here. Ensure that you select your key by clicking on the radio button annotated in red as 'Click to select' in the illustration below. 


Your selected key should now appear under Current selected Key. 

 



 

In the case that you continue to observe this error message even after checking all 4 of the above mentioned check points, please contact Customer Support by creating a ticket on our Support Portal or by emailing us at userhelp@temasys.io.


Other articles you may be interested in: Error: 403 on loading the application| Troubleshooting Black Stream| Troubleshooting no audio on call| Can I make my Skylink Mobile and Web applications join the same room?