public static class INetConnection.Configuration extends INetConnection.Configuration
Configuration
- INetConnection
configuration constants.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATAGRAM_PACKET_BUFFER
DATAGRAM_PACKET_BUFFER - "rtmfpDatagramPacketBuffer" : circular buffer to store RTMFP packets (byte[])
(default: null, library allocates buffer dynamically/new byte[]/ for every or a group of RTMFP packet(s)). |
static java.lang.String |
DATAGRAM_SO_BROADCAST
DATAGRAM_SO_BROADCAST - "rtmfpDatagramSoBroadcast" : DatagramSocket#setBroadcast(boolean) value
(default: false). |
static java.lang.String |
DATAGRAM_SO_ENABLE_CONFIGURATION
DATAGRAM_SO_ENABLE_CONFIGURATION - "rtmfpDatagramSoEnableConfiguration" : enable/disable custom datagram configuration
(default: false) |
static java.lang.String |
DATAGRAM_SO_RCVBUF
DATAGRAM_SO_RCVBUF - "rtmfpDatagramSoRcvBuf" : DatagramSocket#setReceiveBufferSize(int) value
(default: 16 * 1024 bytes). |
static java.lang.String |
DATAGRAM_SO_REUSEADDR
DATAGRAM_SO_REUSEADDR - "rtmfpDatagramSoReuseAddress" : DatagramSocket#setReuseAddress(boolean) value
(default: true). |
static java.lang.String |
DATAGRAM_SO_SNDBUF
SOCKET_SO_SNDBUF - "rtmfpDatagramSoSndBuf" : DatagramSocket#setSendBufferSize(int) value
(default: 8 * 1024 bytes). |
static java.lang.String |
DATAGRAM_SO_TIME_TO_LIVE
DATAGRAM_SO_TIME_TO_LIVE - "rtmfpDatagramSoTimeToLive" : MulticastSocket#setTimeToLive(int) value
(default: 127 seconds). |
static java.lang.String |
DATAGRAM_SO_TIMEOUT
DATAGRAM_SO_TIMEOUT - "rtmfpDatagramSoTimeout" : DatagramSocket#setSoTimeout(int) value
(default: 0 seconds). |
static java.lang.String |
DATAGRAM_SO_TRAFFIC_CLASS
SOCKET_TRAFFIC_CLASS - "rtmfpDatagramSoTrafficClass" : DatagramSocket#setTrafficClass(int) value
(default: 0). |
static java.lang.String |
RTMFP_CONNECTION_FAILURE_TIMEOUT
RTMFP_CONNECTION_FAILURE_TIMEOUT - "rtmfpTimeoutConnectionFailure" :
if client fails to send RTMFP packet to the server because of SocketException during timeout period (in seconds)
then connection is considered broken (or lost)
(default: 3 seconds). |
static java.lang.String |
RTMFP_KEEP_ALIVE_PING_TIMEOUT
RTMFP_KEEP_ALIVE_PING_TIMEOUT - "rtmfpTimeoutKeepAlivePing" : if server doesn't
respond to the 'Keep-Alive' Ping packet during timeout period (in seconds) then connection is considered lost (or broken)
(default: 15 seconds). |
static java.lang.String |
RTMFP_LOG_PACKETS
RTMFP_LOG_PACKETS - "rtmfpLogPackets" : log packets to the System.out . |
AUDIO_CODECS, CAPABILITIES, CHUNK_SIZE, ENABLE_ACKNOWLEDGEMENT_EVENT_NOTIFICATION, ENABLE_MEDIA_STREAM_ABSOLUTE_TIMESTAMP, FLASH_VER, FPAD, HANDSHAKE_TIMEOUT, INACTIVITY_TIMEOUT, IO_TIMEOUT, LOGGER, MAX_RTMP_PACKET_SIZE, MAX_UPLOAD_BANDWIDTH, METHOD_INVOKER, OBJECT_CREATOR, PAGE_URL, PROXY, RECEIVE_BUFFER_SIZE, RTMPS_BASED_ON_RTMP, RTMPS_SSL_CONTEXT, RTMPT_ENABLE_FCS_IDENT, RTMPT_PIPELINING, RTMPT_REUSE_SOCKET_CONNECTION, RTMPT_USE_HTTP_URL_CONNECTION, RTMPT_WAIT_FOR_RESPONSE, SEND_BUFFER_SIZE, SET_FIRST_MEDIA_FRAME_RTIME_TO_ZERO, SOCKET_ENABLE_CONFIGURATION, SOCKET_SO_RCVBUF, SOCKET_SO_SNDBUF, SOCKET_TCP_NO_DELAY, SOCKET_TRAFFIC_CLASS, STREAM_BUFFER_SIZE, SWF_HASH, SWF_SIZE, SWF_URL, VIDEO_CODECS, VIDEO_FUNCTION, WINDOW_ACKNOWLEDGEMENT_SIZE
Modifier | Constructor and Description |
---|---|
protected |
INetConnection.Configuration()
Constructor.
|
public static final java.lang.String DATAGRAM_SO_ENABLE_CONFIGURATION
DATAGRAM_SO_ENABLE_CONFIGURATION
- "rtmfpDatagramSoEnableConfiguration" : enable/disable custom datagram configuration
(default: false)public static final java.lang.String DATAGRAM_SO_BROADCAST
DATAGRAM_SO_BROADCAST
- "rtmfpDatagramSoBroadcast" : DatagramSocket#setBroadcast(boolean)
value
(default: false).public static final java.lang.String DATAGRAM_SO_REUSEADDR
DATAGRAM_SO_REUSEADDR
- "rtmfpDatagramSoReuseAddress" : DatagramSocket#setReuseAddress(boolean)
value
(default: true).public static final java.lang.String DATAGRAM_SO_RCVBUF
DATAGRAM_SO_RCVBUF
- "rtmfpDatagramSoRcvBuf" : DatagramSocket#setReceiveBufferSize(int)
value
(default: 16 * 1024 bytes).public static final java.lang.String DATAGRAM_SO_SNDBUF
SOCKET_SO_SNDBUF
- "rtmfpDatagramSoSndBuf" : DatagramSocket#setSendBufferSize(int)
value
(default: 8 * 1024 bytes).public static final java.lang.String DATAGRAM_SO_TIMEOUT
DATAGRAM_SO_TIMEOUT
- "rtmfpDatagramSoTimeout" : DatagramSocket#setSoTimeout(int)
value
(default: 0 seconds).public static final java.lang.String DATAGRAM_SO_TIME_TO_LIVE
DATAGRAM_SO_TIME_TO_LIVE
- "rtmfpDatagramSoTimeToLive" : MulticastSocket#setTimeToLive(int)
value
(default: 127 seconds).public static final java.lang.String DATAGRAM_SO_TRAFFIC_CLASS
SOCKET_TRAFFIC_CLASS
- "rtmfpDatagramSoTrafficClass" : DatagramSocket#setTrafficClass(int)
value
(default: 0).public static final java.lang.String DATAGRAM_PACKET_BUFFER
DATAGRAM_PACKET_BUFFER
- "rtmfpDatagramPacketBuffer" : circular buffer to store RTMFP packets (byte[])
(default: null, library allocates buffer dynamically/new byte[]/ for every or a group of RTMFP packet(s)).public static final java.lang.String RTMFP_LOG_PACKETS
RTMFP_LOG_PACKETS
- "rtmfpLogPackets" : log packets to the System.out
.
(default: false).
Note:
- The parameter can be used for debugging purposes.
public static final java.lang.String RTMFP_CONNECTION_FAILURE_TIMEOUT
RTMFP_CONNECTION_FAILURE_TIMEOUT
- "rtmfpTimeoutConnectionFailure" :
if client fails to send RTMFP packet to the server because of SocketException
during timeout period (in seconds)
then connection is considered broken (or lost)
(default: 3 seconds).
Note:
- The parameter was introduced to make RTMFP connection robust to the temporary connection loss.
- Please set timeout to the negative value to disable the feature (i.e. do not close connection if it fails to send RTMFP packets).
- Please set timeout to 0 to close the connection on the very first SocketException
.
public static final java.lang.String RTMFP_KEEP_ALIVE_PING_TIMEOUT
RTMFP_KEEP_ALIVE_PING_TIMEOUT
- "rtmfpTimeoutKeepAlivePing" : if server doesn't
respond to the 'Keep-Alive' Ping packet during timeout period (in seconds) then connection is considered lost (or broken)
(default: 15 seconds).
Note:
- The default value is defined in the RFC 7016.