INNER CODE UNIT · Java
mRtcpPort
fyhertz/libstreaming · src/net/majorkernelpanic/streaming/MediaStream.java:144
mRtcpPort = dport+1;
}
}
/**
* Sets the destination ports of the stream.
* @param rtpPort Destination port that will be used for RTP
* @param rtcpPort Destination port that will be used for RTCP
*/
public void setDestinationPorts(int rtpPort, int rtcpPort) {
mRtpPort = rtpPort;
mRtcpPort = rtcpPort;
mOutputStream = null;
}
/**
* If a TCP is used as the transport protocol for the RTP session,
* the output stream to which RTP packets will be written to must