uk.co.caprica.vlcj.mrl
Class RtpMrl

java.lang.Object
  extended by 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".


Constructor Summary
RtpMrl()
           
 
Method Summary
 RtpMrl multicastAddress(java.lang.String multicastAddress)
           
 RtpMrl port(int port)
           
 java.lang.String value()
          Get the media resource locator value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtpMrl

public RtpMrl()
Method Detail

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

(C)2010 Caprica Software Limited