增加了日志
This commit is contained in:
@@ -10,6 +10,7 @@ import com.mogo.cloud.live.manager.LiveStreamManagerImpl;
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
|
||||
import com.mogo.cloud.trafficlive.api.ITrafficLiveCallBack;
|
||||
import com.mogo.cloud.trafficlive.api.MoGoAiCloudTrafficLive;
|
||||
import com.mogo.cloud.utils.logger.Logger;
|
||||
import com.mogo.cloud.wifi.IWifiStateListener;
|
||||
import com.mogo.cloud.wifi.WifiStateManager;
|
||||
|
||||
@@ -18,7 +19,7 @@ import com.mogo.cloud.wifi.WifiStateManager;
|
||||
* 推流和拉流页面
|
||||
*/
|
||||
public class LivePlayAndPushActivity extends BaseLiveActivity implements ITrafficLiveCallBack, IWifiStateListener {
|
||||
public static final String TAG = "PushActivity";
|
||||
public static final String TAG = "LivePlayAndPushActivity";
|
||||
|
||||
private String liveSn;
|
||||
|
||||
@@ -106,17 +107,17 @@ public class LivePlayAndPushActivity extends BaseLiveActivity implements ITraffi
|
||||
|
||||
@Override
|
||||
public void onLive() {
|
||||
Log.d(TAG, "开始直播 onLive");
|
||||
Logger.d(TAG, "开始直播 onLive");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisConnect() {
|
||||
Log.d(TAG, "失去连接 onDisConnect");
|
||||
Logger.d(TAG, "失去连接 onDisConnect");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(String errorMsg) {
|
||||
Log.d(TAG, "发生错误 onError msg: " + errorMsg);
|
||||
Logger.d(TAG, "发生错误 onError msg: " + errorMsg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="请输入要查看的车机SN"
|
||||
android:text="F803BB2037EZD00048"
|
||||
android:text="F803EB2046PZD00149"
|
||||
android:textColor="#FFFF"
|
||||
app:layout_constraintBottom_toTopOf="@+id/liveToggleBtn"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
||||
@@ -349,6 +349,8 @@ public class MoGoLiveManager {
|
||||
* 初始化自定义采集
|
||||
*/
|
||||
private void initCustomVideoCapture() {
|
||||
Logger.i(TAG, "initCustomVideoCapture 初始化引擎");
|
||||
|
||||
// 创建 enging 对象, appID, appSign 为开发者在 ZEGO 管理控制台申请的凭证信息,
|
||||
// 未上线的开发者 isTestEnvironment 为 true, application 为安卓应用的上下文
|
||||
mExpressEngine = ZegoExpressEngine.createEngine(
|
||||
|
||||
Reference in New Issue
Block a user