-
public class MediaInfoCreated by dhima on 8/21/2017.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MediaInfo(SIPProvider sProvider, CallParameters callParameters)
-
Method Summary
Modifier and Type Method Description booleangetSendHoldFlag()voidsetSendHoldFlag(boolean flag)voidcloseMedia()voidSDPMessage(ByteArray content, boolean isHold, boolean okMessage)ByteArraygetCodecALines(Array<CallConstants.AudioCodecs> codecs)static voidgetMediaIPAndPort(String callId, ByteArray signalRecvBuffer)voidreCreateMediaAddress()voidincomingChannelAlreadyCreated(SocketAddress addr)voidsendKeepAlivePacketToMedia()voidsendChannelOpeningPacketForIncomingMedia()intgetOpusFramePerPacket(int framePerPacket)-
-
Constructor Detail
-
MediaInfo
MediaInfo(SIPProvider sProvider, CallParameters callParameters)
-
-
Method Detail
-
getSendHoldFlag
boolean getSendHoldFlag()
-
setSendHoldFlag
void setSendHoldFlag(boolean flag)
-
closeMedia
void closeMedia()
-
SDPMessage
void SDPMessage(ByteArray content, boolean isHold, boolean okMessage)
-
getCodecALines
ByteArray getCodecALines(Array<CallConstants.AudioCodecs> codecs)
-
getMediaIPAndPort
static void getMediaIPAndPort(String callId, ByteArray signalRecvBuffer)
-
reCreateMediaAddress
void reCreateMediaAddress()
-
incomingChannelAlreadyCreated
void incomingChannelAlreadyCreated(SocketAddress addr)
-
sendKeepAlivePacketToMedia
void sendKeepAlivePacketToMedia()
-
sendChannelOpeningPacketForIncomingMedia
void sendChannelOpeningPacketForIncomingMedia()
-
getOpusFramePerPacket
int getOpusFramePerPacket(int framePerPacket)
-
-
-
-