INNER CODE UNIT · Java

setDestinationPorts

fyhertz/libstreaming · src/net/majorkernelpanic/streaming/MediaStream.java:153

	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
	 * be specified with this method.
	 */ 
	public void setOutputStream(OutputStream stream, byte channelIdentifier) {
		mOutputStream = stream;
		mChannelIdentifier = channelIdentifier;
	}
	
	
	/**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…