public class HardDecodeWaySimplified extends java.lang.Object implements java.lang.Runnable, HardDecodeWay
| Modifier and Type | Field and Description |
|---|---|
YspVideoViewInfo |
mYspVideoViewInfo |
| Constructor and Description |
|---|
HardDecodeWaySimplified() |
| Modifier and Type | Method and Description |
|---|---|
VideoDecoderCenterExt.HardDecoderStaffVersion |
getHardDecodeType() |
android.graphics.Bitmap |
GetScreenShot() |
long |
getUserGroupId() |
YspVideoViewInfo |
getVideoViewInfo(long streamid) |
void |
handleSetVideoInfoCallback(IVideoInfoCallback callback) |
boolean |
IsDecoderNeedReconfig() |
void |
OnStreamEnd() |
void |
OnSurfaceChanged(android.view.View videoView,
android.view.Surface surface,
int width,
int height,
int parentWidth,
int parentHeight,
int rotateAngle,
YSpVideoView.OrientationType orientationType,
VideoConstant.ScaleMode scaleMode) |
void |
OnSurfaceCreated() |
void |
OnSurfaceDestroyed(android.view.Surface surface) |
void |
OnSurfaceRedraw() |
void |
OnVideoConfig(byte[] header,
int width,
int height,
java.lang.String mime) |
void |
OnVideoDataArrived(byte[] data,
long pts) |
void |
Quit() |
void |
run() |
void |
SetPlayNotify(PlayNotify playNotify) |
void |
SetVideoIds(long userGroupId,
long streamId) |
void |
setVideoInfoCallback(IVideoInfoCallback callback) |
void |
setVrStream(boolean vrStream) |
void |
Start() |
public YspVideoViewInfo mYspVideoViewInfo
public VideoDecoderCenterExt.HardDecoderStaffVersion getHardDecodeType()
getHardDecodeType in interface HardDecodeWaypublic long getUserGroupId()
getUserGroupId in interface HardDecodeWaypublic void setVideoInfoCallback(IVideoInfoCallback callback)
setVideoInfoCallback in interface HardDecodeWaypublic void Start()
Start in interface HardDecodeWaypublic boolean IsDecoderNeedReconfig()
IsDecoderNeedReconfig in interface HardDecodeWaypublic void SetPlayNotify(PlayNotify playNotify)
SetPlayNotify in interface HardDecodeWaypublic void SetVideoIds(long userGroupId,
long streamId)
SetVideoIds in interface HardDecodeWaypublic void OnSurfaceRedraw()
OnSurfaceRedraw in interface VideoSurfaceListenerpublic void OnSurfaceChanged(android.view.View videoView,
android.view.Surface surface,
int width,
int height,
int parentWidth,
int parentHeight,
int rotateAngle,
YSpVideoView.OrientationType orientationType,
VideoConstant.ScaleMode scaleMode)
OnSurfaceChanged in interface VideoSurfaceListenerpublic void OnSurfaceCreated()
OnSurfaceCreated in interface VideoSurfaceListenerpublic void OnSurfaceDestroyed(android.view.Surface surface)
OnSurfaceDestroyed in interface VideoSurfaceListenerpublic void OnStreamEnd()
OnStreamEnd in interface HardDecodeWaypublic android.graphics.Bitmap GetScreenShot()
GetScreenShot in interface HardDecodeWaypublic void OnVideoConfig(byte[] header,
int width,
int height,
java.lang.String mime)
OnVideoConfig in interface HardDecodeWaypublic void OnVideoDataArrived(byte[] data,
long pts)
OnVideoDataArrived in interface HardDecodeWaypublic void Quit()
Quit in interface HardDecodeWaypublic void setVrStream(boolean vrStream)
setVrStream in interface HardDecodeWaypublic void run()
run in interface java.lang.Runnablepublic void handleSetVideoInfoCallback(IVideoInfoCallback callback)
public YspVideoViewInfo getVideoViewInfo(long streamid)
getVideoViewInfo in interface HardDecodeWay