public class VideoDecoderCenterExt
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VideoDecoderCenterExt.FileUtil
文件工具类
|
static class |
VideoDecoderCenterExt.HardDecoderStaffVersion |
static class |
VideoDecoderCenterExt.VideoStreamType |
| Constructor and Description |
|---|
VideoDecoderCenterExt() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ChooseHardDecoderStaff(VideoDecoderCenterExt.HardDecoderStaffVersion hardDecoderStaffVersion) |
static void |
DeliverVideoConfig(long streamId,
int streamType,
byte[] header,
int width,
int height,
int framerate) |
static void |
DeliverVideoData(long userGroupId,
long streamId,
byte[] data,
long pts,
int micpos) |
static VideoDecoderCenterExt.HardDecoderStaffVersion |
GetCurrentHardDecoderStaffVersion() |
static HardDecodeWay |
getDecoderStaff(long streamId) |
static HardDecodeWay |
GetNewHardDecodeWay() |
static boolean |
IsDecoderNeedReconfig(long streamId) |
static boolean |
IsHardDecoderAvailable(int streamType) |
static void |
Link(long streamId,
YLightweightVideoViewExt view) |
static void |
PreSetVideoView(YSpVideoView firstly,
YSpVideoView secondly) |
static void |
Unlink(long streamId) |
static void |
UnSetVideoView() |
static void |
VideoStreamEnd(long streamId) |
static void |
VideoStreamStart(long userGroupId,
long streamId,
int micpos,
int fps,
boolean onlyDecoded) |
public static HardDecodeWay getDecoderStaff(long streamId)
public static void Link(long streamId,
YLightweightVideoViewExt view)
public static void Unlink(long streamId)
public static void VideoStreamStart(long userGroupId,
long streamId,
int micpos,
int fps,
boolean onlyDecoded)
public static void DeliverVideoConfig(long streamId,
int streamType,
byte[] header,
int width,
int height,
int framerate)
public static void DeliverVideoData(long userGroupId,
long streamId,
byte[] data,
long pts,
int micpos)
public static void VideoStreamEnd(long streamId)
public static boolean IsHardDecoderAvailable(int streamType)
public static boolean IsDecoderNeedReconfig(long streamId)
public static void PreSetVideoView(YSpVideoView firstly, YSpVideoView secondly)
public static void UnSetVideoView()
public static void ChooseHardDecoderStaff(VideoDecoderCenterExt.HardDecoderStaffVersion hardDecoderStaffVersion)
public static VideoDecoderCenterExt.HardDecoderStaffVersion GetCurrentHardDecoderStaffVersion()
public static HardDecodeWay GetNewHardDecodeWay()