public enum MediaProfile extends Enum<MediaProfile>
RFC4566 registers three values:
RFC4585 registers two values:
| Enum Constant and Description |
|---|
RTP_AVP |
RTP_AVPF |
RTP_SAVP |
RTP_SAVPF |
UDP |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsProfile(String profile) |
static MediaProfile |
fromProfile(String profile) |
String |
getProfile() |
static MediaProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaProfile UDP
public static final MediaProfile RTP_AVP
public static final MediaProfile RTP_AVPF
public static final MediaProfile RTP_SAVP
public static final MediaProfile RTP_SAVPF
public static MediaProfile[] values()
for (MediaProfile c : MediaProfile.values()) System.out.println(c);
public static MediaProfile valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getProfile()
public static MediaProfile fromProfile(String profile)
public static boolean containsProfile(String profile)
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.