Merge branch 'live_fixbug' of http://gitlab.zhidaoauto.com/ITC/Apps/MoGoAiCloudSdk into live_fixbug

This commit is contained in:
zhongchao
2021-03-29 17:08:52 +08:00
7 changed files with 49 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ public class MainActivity extends AppCompatActivity {
* 初始化令牌信息
*/
private void initPassportInfo() {
tvAppKey.setText("AppKey" + MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getThirdPartyDeviceId());
tvAppKey.setText("AppKey" + MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getThirdPartyAppKey());
tvDevicesId.setText("DevicesId" + MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getThirdPartyDeviceId());
String sn = MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn();

View File

@@ -43,11 +43,12 @@ public class MoGoApplication extends MultiDexApplication {
MoGoAiCloudClientConfig clientConfig = MoGoAiCloudClientConfig.getInstance();
// 设置网络环境HTTP_DNS_ENV_QA、HTTP_DNS_ENV_RELEASE、HTTP_DNS_ENV_DEV
clientConfig.setNetMode(MogoHttpDnsConfig.HTTP_DNS_ENV_QA);
// 设置是否是第三APP登录false自有车机 true外部三方车机
clientConfig.setThirdLogin(true);
// 设置是否输出日志
clientConfig.setShowDebugLog(true);
// 设置是否是直播推流的主播
clientConfig.setAnchor(false);
// 设置从蘑菇AI开放平台获取的APPKey
clientConfig.setThirdPartyAppKey("wbvpzgar");
// 设置AI云平台分配给三方应用的签名密钥需要从AI云平台申请

View File

@@ -104,7 +104,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="请输入要查看的车机SN"
android:text="F803EB2046PZD00149"
android:text="F803BB2037EZD00007"
android:textColor="#FFFF"
app:layout_constraintBottom_toTopOf="@+id/liveToggleBtn"
app:layout_constraintEnd_toEndOf="parent"