mirror of https://github.com/OpenVidu/openvidu.git
Revert "openvidu-server: gatherCandidates after processAnswer on 2.18.0 SubscriberEndpoint"
This reverts commit e6808f987c
.
pull/630/head
parent
04dfaabb97
commit
845a088e69
|
@ -58,6 +58,7 @@ public class SubscriberEndpoint extends MediaEndpoint {
|
|||
offerOptions.setOfferToReceiveVideo(publisher.getMediaOptions().hasVideo());
|
||||
String sdpOffer = generateOffer(offerOptions);
|
||||
|
||||
gatherCandidates();
|
||||
return sdpOffer;
|
||||
}
|
||||
|
||||
|
@ -74,9 +75,7 @@ public class SubscriberEndpoint extends MediaEndpoint {
|
|||
return realSdpAnswer;
|
||||
} else {
|
||||
// 2.18.0
|
||||
processAnswer(sdpAnswer);
|
||||
gatherCandidates();
|
||||
return null;
|
||||
return processAnswer(sdpAnswer);
|
||||
}
|
||||
// END TODO
|
||||
|
||||
|
|
Loading…
Reference in New Issue