[Fix] 处理
1003070 描述:推流函数调用失败。 可能原因:多房间模式下,调用的推流函数有误。 处理建议:调用带有参数 [ZegoPublisherConfig] 的推流函数。
This commit is contained in:
26
.idea/deploymentTargetDropDown.xml
generated
26
.idea/deploymentTargetDropDown.xml
generated
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<multipleDevicesSelectedInDropDown value="true" />
|
||||
<runningDeviceTargetsSelectedWithDialog>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="SERIAL_NUMBER" />
|
||||
<value value="JAM6R20C10001418" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="SERIAL_NUMBER" />
|
||||
<value value="HA1DGRAS" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</runningDeviceTargetsSelectedWithDialog>
|
||||
</component>
|
||||
</project>
|
||||
@@ -58,7 +58,7 @@ public class MoGoApplication extends MultiDexApplication {
|
||||
// 设置AI云平台分配给三方应用的签名密钥,需要从AI云平台申请
|
||||
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
|
||||
// TODO 这里使用的是测试的sn
|
||||
clientConfig.setThirdPartyDeviceId("1234567899876543214");
|
||||
clientConfig.setThirdPartyDeviceId("123456789987654321");
|
||||
// 设置应用服务AppId 长链、鉴权 //todo 需要卸载智慧驾驶、行车记录仪
|
||||
clientConfig.setServiceAppId("com.mogo.launcher");
|
||||
// 设置循环检测间隔时间
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="请输入要查看的车机SN"
|
||||
android:text="F803EB2046PZD00274"
|
||||
android:text="F803EB2046PZD00212"
|
||||
android:textColor="#000"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
||||
@@ -52,6 +52,7 @@ import im.zego.zegoexpress.entity.ZegoCustomVideoCaptureConfig;
|
||||
import im.zego.zegoexpress.entity.ZegoEngineConfig;
|
||||
import im.zego.zegoexpress.entity.ZegoEngineProfile;
|
||||
import im.zego.zegoexpress.entity.ZegoPlayerConfig;
|
||||
import im.zego.zegoexpress.entity.ZegoPublisherConfig;
|
||||
import im.zego.zegoexpress.entity.ZegoRoomConfig;
|
||||
import im.zego.zegoexpress.entity.ZegoUser;
|
||||
import im.zego.zegoexpress.entity.ZegoVideoConfig;
|
||||
@@ -666,7 +667,9 @@ public class MoGoLiveManager {
|
||||
*/
|
||||
public void startPublish() {
|
||||
Log.i(TAG, "开始推流到ZeGo startPublish currentStreamId : " + mLiveStatusModel.getCurrentStreamId());
|
||||
mExpressEngine.startPublishingStream(mLiveStatusModel.getCurrentStreamId());
|
||||
ZegoPublisherConfig config = new ZegoPublisherConfig();
|
||||
config.roomID = mLiveStatusModel.getCurrentRoomId();
|
||||
mExpressEngine.startPublishingStream(mLiveStatusModel.getCurrentStreamId(), config, ZegoPublishChannel.MAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,22 +30,22 @@ PASSWORD=xintai2018
|
||||
RELEASE=true
|
||||
# AI CLOUD 云平台
|
||||
# 工具类
|
||||
MOGO_UTILS_VERSION=1.1.63
|
||||
MOGO_UTILS_VERSION=1.1.64
|
||||
# 网络请求
|
||||
MOGO_NETWORK_VERSION=1.1.63
|
||||
MOGO_NETWORK_VERSION=1.1.64
|
||||
# 网络DNS
|
||||
MOGO_HTTPDNS_VERSION=1.1.63
|
||||
MOGO_HTTPDNS_VERSION=1.1.64
|
||||
# 鉴权
|
||||
MOGO_PASSPORT_VERSION=1.1.63
|
||||
MOGO_PASSPORT_VERSION=1.1.64
|
||||
# 常链接
|
||||
MOGO_SOCKET_VERSION=1.1.63
|
||||
MOGO_SOCKET_VERSION=1.1.64
|
||||
# 数据采集
|
||||
MOGO_REALTIME_VERSION=1.1.63
|
||||
MOGO_REALTIME_VERSION=1.1.64
|
||||
# 探路,道路事件发布,获取
|
||||
MOGO_TANLU_VERSION=1.1.63
|
||||
MOGO_TANLU_VERSION=1.1.64
|
||||
# 直播推流
|
||||
MOGO_LIVE_VERSION=1.1.63
|
||||
MOGO_LIVE_VERSION=1.1.64
|
||||
# 直播拉流
|
||||
MOGO_TRAFFICLIVE_VERSION=1.1.63
|
||||
MOGO_TRAFFICLIVE_VERSION=1.1.64
|
||||
# 定位服务
|
||||
MOGO_LOCATION_VERSION=1.1.63
|
||||
MOGO_LOCATION_VERSION=1.1.64
|
||||
|
||||
Reference in New Issue
Block a user