uk.co.caprica.vlcj.mrl
Class RtpMrl
java.lang.Object
uk.co.caprica.vlcj.mrl.RtpMrl
- All Implemented Interfaces:
- Mrl
public class RtpMrl
- extends java.lang.Object
- implements Mrl
Implementation of a media resource locator for RTP streams.
This class provides a fluent API for initialising the MRL, e.g.
String mrl = new RtpMrl().multicastAddress("234.0.0.1")
.port(5401)
.value();
This will generate "rtp://@234.0.0.1:5401"
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtpMrl
public RtpMrl()
multicastAddress
public RtpMrl multicastAddress(java.lang.String multicastAddress)
port
public RtpMrl port(int port)
value
public java.lang.String value()
- Description copied from interface:
Mrl
- Get the media resource locator value
- Specified by:
value
in interface Mrl
- Returns:
- media resource locator