Skip to content

Commit ec69895

Browse files
authored
fix: Update colibri even when there are no new sources (to update the transport). (#1004)
1 parent 0dd1a78 commit ec69895

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,15 +1302,14 @@ private StanzaError onSessionAcceptInternal(
13021302
return StanzaError.from(StanzaError.Condition.bad_request, e.getMessage()).build();
13031303
}
13041304

1305+
getColibriSessionManager().updateParticipant(
1306+
participant.getEndpointId(),
1307+
getTransport(contents),
1308+
getSourcesForParticipant(participant));
1309+
13051310
if (!sourcesAccepted.isEmpty())
13061311
{
13071312
logger.info("Accepted initial sources from " + participantId + ": " + sourcesAccepted);
1308-
1309-
getColibriSessionManager().updateParticipant(
1310-
participant.getEndpointId(),
1311-
getTransport(contents),
1312-
getSourcesForParticipant(participant));
1313-
13141313
// Propagate [participant]'s sources to the other participants.
13151314
propagateNewSources(participant, sourcesAccepted);
13161315
}

0 commit comments

Comments
 (0)