org.lastbamboo.common.ice.IceMediaStreamFactory Maven / Gradle / Ivy
package org.lastbamboo.common.ice;
import org.lastbamboo.common.offer.answer.IceMediaStreamDesc;
/**
* Factory for creating specialized media streams, such as for RTP, file
* transfer, etc.
*/
public interface IceMediaStreamFactory
{
/**
* Creates a new ICE media stream class.
*
* @param iceAgent The ICE agent.
* @param tcp The TCP ICE candidates.
* @return The new ICE media stream.
* @throws IceUdpConnectException If there's an error connecting the ICE
* UDP peer.
*/
IceMediaStream newStream(IceAgent iceAgent, IceMediaStreamDesc streamDesc)
throws IceUdpConnectException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy