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