public void bind(boolean isLocal, int port) throws IOException {
		try {
			// Open this channel with UDP Manager on first available address
			this.selectionKey = udpManager.open(this);
			this.dataChannel = (DatagramChannel) this.selectionKey.channel();
		} catch (IOException e) {
			throw new SocketException(e.getMessage());
		}

		// activate media elements
		onBinding();

		// bind data channel
		this.udpManager.bind(this.dataChannel, port, isLocal);
		this.bound = true;
	}
public void bind ( boolean isLocal , int port ) throws IOException { try { this . selectionKey = udpManager . open ( this ) ; this . dataChannel = ( DatagramChannel ) this . selectionKey . channel ( ) ; } catch ( IOException e ) { throw new SocketException ( e . getMessage ( ) ) ; } onBinding ( ) ; this . udpManager . bind ( this . dataChannel , port , isLocal ) ; this . bound = true ; }
Binds the channel to an address and port

@param isLocal
whether the connection is local or not
@param port
The RTCP port. Usually the RTP channel gets the even port and
RTCP channel get the next port.
@throws IOException
When the channel cannot be openend or bound