INNER CODE UNIT · Java
getDestinationPorts
fyhertz/libstreaming · src/net/majorkernelpanic/streaming/MediaStream.java:183
public int[] getDestinationPorts() {
return new int[] {
mRtpPort,
mRtcpPort
};
}
/**
* Returns a pair of source ports, the first one is the
* one used for RTP and the second one is used for RTCP.
**/
public int[] getLocalPorts() {
return mPacketizer.getRtpSocket().getLocalPorts();
}
/**
* Sets the streaming method that will be used.
*