public class

SCVideoSlave

extends Object
implements IVideoSlave
java.lang.Object
   ↳ com.c2call.sdk.pub.video.SCVideoSlave

Summary

Constants
int DEFAULT_FRAMERATE
Public Constructors
SCVideoSlave()
Public Methods
void activateVideoQualityManager(boolean activitate)
void commitResolutionSwitch()
void deleteLastCapturedFrame()
void dispose()
void forceDisableVideoQualityManager(boolean disable)
double getAvgEncodingDuration()
SCResolutionList getCamResolutions()
VideoFrame getCaptureVideoFrame()
IBlockingDataProvider<FrameData> getFrameProvider()
Bitmap getGlImage()
Map<Long, GroupCallStreamInfo> getGroupCallInfos()
RawFrame getLastCapturedFrame()
long getOwnSscr()
Dimension getPreviewDimen()
SCResolution getReceiveResolution()
long getReceivedFrameCount()
SCResolution getSendResolution()
int getTargetCaptureFrameRate()
IVideoMaster getVideoMaster()
boolean isCaptureFrameAvailable()
boolean isGroup()
void onPreStop()
void onPreviewFrame(byte[] data, Camera cam)
void onStartEncodingThread()
void prepareResolutionSwitch()
void releaseLastCapturedFrame()
void setFrameProviderChangedListener(IDataChangedListener<IBlockingDataProvider<FrameData>> listener)
void setGlImage(Bitmap bitmap)
void setGroupCall(boolean isGroupCall)
void setGroupCallInfos(Map<Long, GroupCallStreamInfo> groupCallInfos)
void setMaxQuantizer(int maxQuantizer, boolean notify)
void setPreviewDimen(Dimension dimen)
void setResolutionIdx(int idx, boolean notify)
void setRotation(int rotation)
void setRtpContext(NativeRtpContext rtpContext)
void setTargetBitrate(int bitrate, boolean notify)
void setTargetCaptureFrameRate(int value)
void setTargetScreenShareFrameRate(int value)
void setVideoMaster(IVideoMaster master)
void setVideoQualityManager(VideoQualityManager qualityManager)
void setVideoState(IVideoSlave.State state)
void startScreenCapture(View view)
void startScreenRecorder(Activity activity, View view, String filePath, String fileName)
void startVideoStreaming()
void stopScreenCapture()
void stopScreenRecorder()
void updateQuality(VideoQuality quality, int changeMask)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.hardware.Camera.PreviewCallback
From interface com.c2call.sdk.pub.video.IVideoSlave

Constants

public static final int DEFAULT_FRAMERATE

Constant Value: 15 (0x0000000f)

Public Constructors

public SCVideoSlave ()

Public Methods

public void activateVideoQualityManager (boolean activitate)

public void commitResolutionSwitch ()

public void deleteLastCapturedFrame ()

public void dispose ()

public void forceDisableVideoQualityManager (boolean disable)

public double getAvgEncodingDuration ()

public SCResolutionList getCamResolutions ()

public VideoFrame getCaptureVideoFrame ()

public IBlockingDataProvider<FrameData> getFrameProvider ()

public Bitmap getGlImage ()

public Map<Long, GroupCallStreamInfo> getGroupCallInfos ()

public RawFrame getLastCapturedFrame ()

public long getOwnSscr ()

public Dimension getPreviewDimen ()

public SCResolution getReceiveResolution ()

public long getReceivedFrameCount ()

public SCResolution getSendResolution ()

public int getTargetCaptureFrameRate ()

public IVideoMaster getVideoMaster ()

public boolean isCaptureFrameAvailable ()

public boolean isGroup ()

public void onPreStop ()

public void onPreviewFrame (byte[] data, Camera cam)

public void onStartEncodingThread ()

public void prepareResolutionSwitch ()

public void releaseLastCapturedFrame ()

public void setFrameProviderChangedListener (IDataChangedListener<IBlockingDataProvider<FrameData>> listener)

public void setGlImage (Bitmap bitmap)

public void setGroupCall (boolean isGroupCall)

public void setGroupCallInfos (Map<Long, GroupCallStreamInfo> groupCallInfos)

public void setMaxQuantizer (int maxQuantizer, boolean notify)

public void setPreviewDimen (Dimension dimen)

public void setResolutionIdx (int idx, boolean notify)

public void setRotation (int rotation)

public void setRtpContext (NativeRtpContext rtpContext)

public void setTargetBitrate (int bitrate, boolean notify)

public void setTargetCaptureFrameRate (int value)

public void setTargetScreenShareFrameRate (int value)

public void setVideoMaster (IVideoMaster master)

public void setVideoQualityManager (VideoQualityManager qualityManager)

public void setVideoState (IVideoSlave.State state)

public void startScreenCapture (View view)

public void startScreenRecorder (Activity activity, View view, String filePath, String fileName)

public void startVideoStreaming ()

public void stopScreenCapture ()

public void stopScreenRecorder ()

public void updateQuality (VideoQuality quality, int changeMask)