public class FecOrderSessionParam extends SrtpSessionParam
Modifier and Type | Field and Description |
---|---|
static int |
FEC_SRTP
FEC_SRTP signals that FEC is applied before SRTP processing by the sender
of the SRTP media and after SRTP processing by the receiver of the SRTP
media; FEC_SRTP is the default.
|
static int |
SRTP_FEC
SRTP_FEC signals that SRTP processing is performed before applying FEC by
the sender of the SRTP media and after FEC processing by the receiver of
the SRTP media.
|
Constructor and Description |
---|
FecOrderSessionParam(int mode)
Creates a new instance of this class from a known order value.
|
FecOrderSessionParam(String param)
Creates a new instance of this class from the textual representation of
the session parameter.
|
Modifier and Type | Method and Description |
---|---|
String |
encode()
Encodes the information contained in this object for use in the complete
crypto attribute.
|
int |
getMode()
Gets the forward error correction mode.
|
create
public static final int FEC_SRTP
public static final int SRTP_FEC
public FecOrderSessionParam(int mode)
public FecOrderSessionParam(String param)
param
- The textual representation of the session parameter.public String encode()
SessionParam
Copyright © 2016 University of Applied Sciences Northwestern Switzerland. All rights reserved.