Настройка пересылки SDP оффера при Renegotiation
This commit is contained in:
@@ -138,6 +138,14 @@ public class ForwardUnitService {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
connection.setOfferConsumer(arg0 -> {
|
||||
try{
|
||||
onSdpOffer(arg0);
|
||||
}catch(ProtocolException e){
|
||||
this.logger.error(Color.RED + "Failed to retranslate SDP offer from SFU server: " + address + ", error: " + e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
this.sfuConnections.add(connection);
|
||||
this.logger.info(Color.GREEN + "Successfully connected to SFU server: " + address);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user