Skip to content

Commit 2f66f74

Browse files
lastpeonylastpeony
andauthored
improve reconnection for conference (#77)
* improve reconnection for conference * minor unittest fix * simplfy code * fix network thread related crash, improve conference reconnection logic --------- Co-authored-by: lastpeony <[email protected]>
1 parent e4e9924 commit 2f66f74

File tree

4 files changed

+365
-176
lines changed

4 files changed

+365
-176
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)