net.sf.fmj.media.datasink.rtp.ParsedRTPUrlElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package net.sf.fmj.media.datasink.rtp;
/**
* Single element of a ParsedRTPUrl.
*
* @author Ken Larson
*
*/
public class ParsedRTPUrlElement
{
// types:
public static final String AUDIO = "audio";
public static final String VIDEO = "video";
public String host;
public int port;
public String type;
public int ttl;
@Override
public String toString()
{
return host + ":" + port + "/" + type + "/" + ttl;
}
}