Now that "newSessions" only contains remote participants it is no longer needed to check if the participant is an MCU publisher or not, as it will never be. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@@ -1707,7 +1707,7 @@ public class CallController extends BaseController {
}
for (String sessionId : newSessions) {
- getPeerConnectionWrapperForSessionIdAndType(sessionId, "video", hasMCU && sessionId.equals(webSocketClient.getSessionId()));
+ getPeerConnectionWrapperForSessionIdAndType(sessionId, "video", false);
if (newSessions.size() > 0 && !currentCallStatus.equals(CallStatus.IN_CONVERSATION)) {