java.lang.Object |
↳ |
org.opencdnunion.media.streamer.avAdaptor.AVAdapterWrapper |
Class Overview
network adaptor and Audio video interleave module wrapper
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
public
static
final
int
BW_EST_STRATEGY_NEGATIVE
Constant Value:
1
(0x00000001)
public
static
final
int
BW_EST_STRATEGY_NORMAL
Constant Value:
0
(0x00000000)
public
static
final
int
FRAME_TYPE_AUDIO
Constant Value:
1
(0x00000001)
public
static
final
int
FRAME_TYPE_VIDEO
Constant Value:
2
(0x00000002)
public
static
final
int
RTMP_PUB_EVENT_EST_BW_DROP
Constant Value:
102
(0x00000066)
public
static
final
int
RTMP_PUB_EVENT_EST_BW_RAISE
Constant Value:
101
(0x00000065)
public
static
final
int
RTMP_PUB_EVENT_SEND_SLOW
Constant Value:
100
(0x00000064)
public
static
final
int
RTMP_PUB_EVENT_WLD_UPLOAD
Constant Value:
103
(0x00000067)
public
static
final
int
RTMP_PUB_PROPERTY_AUDIO_FRAME_NUM
Constant Value:
3
(0x00000003)
public
static
final
int
RTMP_PUB_PROPERTY_AUDIO_SEND_DELAY
Constant Value:
5
(0x00000005)
public
static
final
int
RTMP_PUB_PROPERTY_AUDIO_TS
Constant Value:
6
(0x00000006)
public
static
final
int
RTMP_PUB_PROPERTY_DROPPED_VIDEO_FRAMES
Constant Value:
2
(0x00000002)
public
static
final
int
RTMP_PUB_PROPERTY_UPLOADED_KBYTES
Constant Value:
1
(0x00000001)
public
static
final
int
RTMP_PUB_PROPERTY_VIDEO_CACHE_LENGTH
Constant Value:
7
(0x00000007)
public
static
final
int
RTMP_PUB_PROPERTY_VIDEO_FRAME_NUM
Constant Value:
4
(0x00000004)
Public Constructors
public
AVAdapterWrapper
()
Public Methods
public
int
getPropertyInt
(int property)
public
long
getPropertyLong
(int property)
public
synchronized
void
release
()
public
void
setAudioOnly
(boolean audioOnly)
public
void
setBwEstConfig
(int initAudioBitrate, int initVideoBitrate, int minVideoBitrate, int maxVideoBitrate, int strategy)
public
void
setVideoOnly
(boolean videoOnly)
public
int
writeFrame
(int type, ByteBuffer data, long dts, long pts, int flags)