Skip to content

Commit 8650779

Browse files
author
lastpeony
committed
fix network thread related crash, improve conference reconnection logic
1 parent 25af8d6 commit 8650779

File tree

4 files changed

+219
-46
lines changed

4 files changed

+219
-46
lines changed

webrtc-android-framework/src/main/java/io/antmedia/webrtcandroidframework/api/DefaultConferenceWebRTCListener.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public void onPublishStarted(String streamId) {
5151
if (publishReconnecting) {
5252
publishReconnecting = false;
5353
}
54-
else if (!playStarted) {
55-
webRTCClient.play(roomId);
56-
}
54+
55+
webRTCClient.play(roomId);
56+
5757
}
5858

5959
@Override

0 commit comments

Comments
 (0)