Package io.aether.api.clientserverapi
Class WebRtcSession
- java.lang.Object
-
- io.aether.api.clientserverapi.WebRtcSession
-
- All Implemented Interfaces:
io.aether.utils.ToString
public class WebRtcSession extends java.lang.Object implements io.aether.utils.ToString
-
-
Field Summary
Fields Modifier and Type Field Description protected IceCandidate[]candidatesstatic io.aether.net.fastMeta.FastMetaType<WebRtcSession>METAstatic io.aether.net.fastMeta.FastMetaType<WebRtcSession>META_BODYprotected byte[]sdp
-
Constructor Summary
Constructors Constructor Description WebRtcSession(byte[] sdp, IceCandidate[] candidates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancandidatesContains(IceCandidate el)booleanequals(java.lang.Object o)IceCandidate[]getCandidates()byte[]getSdp()inthashCode()booleansdpContains(byte el)io.aether.utils.AStringtoAString(io.aether.utils.AString sb)java.lang.StringtoString()
-
-
-
Field Detail
-
META_BODY
public static final io.aether.net.fastMeta.FastMetaType<WebRtcSession> META_BODY
-
META
public static final io.aether.net.fastMeta.FastMetaType<WebRtcSession> META
-
sdp
protected final byte[] sdp
-
candidates
protected final IceCandidate[] candidates
-
-
Constructor Detail
-
WebRtcSession
public WebRtcSession(byte[] sdp, IceCandidate[] candidates)
-
-
Method Detail
-
getSdp
public byte[] getSdp()
-
sdpContains
public boolean sdpContains(byte el)
-
getCandidates
public IceCandidate[] getCandidates()
-
candidatesContains
public boolean candidatesContains(IceCandidate el)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toAString
public io.aether.utils.AString toAString(io.aether.utils.AString sb)
- Specified by:
toAStringin interfaceio.aether.utils.ToString
-
-