Files
rosetta-wss/src/main/java/io/g365sfu/webrtc/ICECandidate.java

35 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package io.g365sfu.webrtc;
/**
* Этот класс представляет собой ICE-кандидат,
* который используется для обмена информацией о сетевых маршрутах между участниками звонка через сервер SFU.
*
* Содержит информацию о комнате, участнике и самом кандидате, которая необходима для правильной маршрутизации данных между участниками звонка через сервер SFU.
*/
public class ICECandidate {
private String roomId;
private String participantId;
private String candidate;
public ICECandidate(String roomId, String participantId, String candidate) {
this.roomId = roomId;
this.participantId = participantId;
this.candidate = candidate;
}
public String getRoomId() {
return roomId;
}
public String getParticipantId() {
return participantId;
}
public String getCandidate() {
return candidate;
}
}