/** * Finds an <tt>Endpoint</tt> of this <tt>Conference</tt> which sends an RTP stream with a * specific SSRC and with a specific <tt>MediaType</tt>. * * @param receiveSSRC the SSRC of an RTP stream received by this <tt>Conference</tt> whose sending * <tt>Endpoint</tt> is to be found * @param mediaType the <tt>MediaType</tt> of the RTP stream identified by the specified * <tt>ssrc</tt> * @return <tt>Endpoint</tt> of this <tt>Conference</tt> which sends an RTP stream with the * specified <tt>ssrc</tt> and with the specified <tt>mediaType</tt>; otherwise, <tt>null</tt> */ Endpoint findEndpointByReceiveSSRC(long receiveSSRC, MediaType mediaType) { Channel channel = findChannelByReceiveSSRC(receiveSSRC, mediaType); return (channel == null) ? null : channel.getEndpoint(); }