public class RTPInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
Integer |
durationPacket |
boolean |
enableBye |
boolean |
enableRtcp |
Long |
lastRtcpTime |
InetAddress |
localIp |
Integer |
localPort |
String |
reason |
InetAddress |
remoteIp |
Integer |
remotePort |
LinkedList<RTCPPacket> |
rtcpTemplate |
RTPSession |
rtpSession |
String |
sipSession |
Long |
timeInterval |
Integer |
timeout |
| Constructor and Description |
|---|
RTPInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendRtcpPacket(RTPListener rtpListener,
byte[] data) |
void |
sendRtpPacket(RTPListener rtpListener,
byte[] data)
Send a RTP packet.
|
public InetAddress localIp
public Integer localPort
public InetAddress remoteIp
public Integer remotePort
public String sipSession
public RTPSession rtpSession
public boolean enableRtcp
public boolean enableBye
public Integer timeout
public Integer durationPacket
public String reason
public Long timeInterval
public LinkedList<RTCPPacket> rtcpTemplate
public Long lastRtcpTime
public void sendRtcpPacket(RTPListener rtpListener, byte[] data)
public void sendRtpPacket(RTPListener rtpListener, byte[] data)
data - : the packet.remoteAddress - : InetAddress of the remote client.remotePort - : the port of the remote client.localPort - : the port on which the packet is sent.Copyright © 2020 OW2. All Rights Reserved.