org.lastbamboo.common.ice
Interface IceMediaStreamFactory

All Known Implementing Classes:
IceMediaStreamFactoryImpl

public interface IceMediaStreamFactory

Factory for creating specialized media streams, such as for RTP, file transfer, etc.


Method Summary
 IceMediaStream newStream(IceAgent iceAgent, org.lastbamboo.common.offer.answer.IceMediaStreamDesc streamDesc)
          Creates a new ICE media stream class.
 

Method Detail

newStream

IceMediaStream newStream(IceAgent iceAgent,
                         org.lastbamboo.common.offer.answer.IceMediaStreamDesc streamDesc)
                         throws IceUdpConnectException
Creates a new ICE media stream class.

Parameters:
iceAgent - The ICE agent.
tcp - The TCP ICE candidates.
Returns:
The new ICE media stream.
Throws:
IceUdpConnectException - If there's an error connecting the ICE UDP peer.


Copyright © 2013 LittleShoot. All Rights Reserved.