org.lastbamboo.common.ice.sdp
Interface IceCandidateSdpDecoder

All Known Implementing Classes:
IceCandidateSdpDecoderImpl

public interface IceCandidateSdpDecoder

Factory for generating ICE candidate classes from SDP.


Method Summary
 Collection<IceCandidate> decode(org.littleshoot.mina.common.ByteBuffer buf, boolean controlling)
          Creates a new Collection of IceCandidate classes from the specified SDP data.
 

Method Detail

decode

Collection<IceCandidate> decode(org.littleshoot.mina.common.ByteBuffer buf,
                                boolean controlling)
                                throws IOException
Creates a new Collection of IceCandidate classes from the specified SDP data.

Parameters:
buf - The SDP data to create ICE candidates from.
controlling - Whether or not to generate controlling candidates.
Returns:
A new Collection of ICE candidates.
Throws:
IOException - If there's an error parsing out a candidate from the SDP.


Copyright © 2013 LittleShoot. All Rights Reserved.