openvidu-server: gatherCandidates after processAnswer on 2.18.0 SubscriberEndpoint
This commit is contained in:
parent
09342806f2
commit
e6808f987c
@ -58,7 +58,6 @@ public class SubscriberEndpoint extends MediaEndpoint {
|
||||
offerOptions.setOfferToReceiveVideo(publisher.getMediaOptions().hasVideo());
|
||||
String sdpOffer = generateOffer(offerOptions);
|
||||
|
||||
gatherCandidates();
|
||||
return sdpOffer;
|
||||
}
|
||||
|
||||
@ -75,7 +74,9 @@ public class SubscriberEndpoint extends MediaEndpoint {
|
||||
return realSdpAnswer;
|
||||
} else {
|
||||
// 2.18.0
|
||||
return processAnswer(sdpAnswer);
|
||||
processAnswer(sdpAnswer);
|
||||
gatherCandidates();
|
||||
return null;
|
||||
}
|
||||
// END TODO
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user