public class RtpMrl extends Object implements Mrl
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 and Description |
|---|
RtpMrl() |
| Modifier and Type | Method and Description |
|---|---|
RtpMrl |
multicastAddress(String multicastAddress)
Set the multicast address.
|
RtpMrl |
port(int port)
Set the port number.
|
String |
value()
Get the media resource locator value
|
Copyright © 2009–2015 Caprica Software Limited. All rights reserved.