public class

NativeRtpVideoHandler

extends Object
implements INativeRtpEventListener NativeRtpContext.IStateListener VideoHandler
java.lang.Object
   ↳ com.c2call.sdk.pub.video.NativeRtpVideoHandler

Summary

Public Constructors
NativeRtpVideoHandler(RTPSession session, NativeRtpContext nativeRtpContext)
Public Methods
static void clearRunningInstance()
void dispose()
VideoFrame getCaptureVideoFrame()
long getContextId()
byte[] getDecodedVideoFrame(byte[] decodedFrame, FrameInfo info, VStream stream, int options)
byte[] getDecodedVideoFrame(byte[] buf, int options)
static Class<? extends Activity> getDefaultVideoCallActiviy()
int getFrameHeight()
FrameInfo getFrameInfo()
int getFrameRate()
int getFrameWidth()
int getKeyframeDistance()
int getLastFrameRotated()
static NativeRtpVideoHandler getRunningInstance()
NativeVideoContext getVideoContext()
IVideoSlave getVideoSlave()
VStat getVideoStatus()
void handleRTPEvent(RTPPacket packet)
void handleVideoStatusEvent(RTPPacket packet)
void hangUp()
boolean hasCaptureStarted()
void hideVideoFrame()
void initiateHangup()
boolean isActive()
boolean isCaptureFrameAvailable()
boolean isHangupInitiated()
boolean isInitialized()
boolean isLastDecodedFrameKeyframe()
void onNativeEvent(int key, int value)
void onNativeEvent(int key, String value)
void onNativeEvent(int key, Object value)
void onPreStop()
static void setDefaultVideoCallActiviy(Class<? extends Activity> activityClass)
void setDelegate(VideoHandlerDelegate delegate)
void setFrameRate(int newRate)
void setKeyframeDistance(int distance)
void showGroupVideoFrame()
void showVideoFrame()
void startVideoCapture()
void stopVideoCapture()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.c2call.lib.android.nativertp.core.INativeRtpEventListener
From interface com.c2call.lib.android.nativertp.core.NativeRtpContext.IStateListener
From interface com.c2call.lib.video.VideoHandler

Public Constructors

public NativeRtpVideoHandler (RTPSession session, NativeRtpContext nativeRtpContext)

Public Methods

public static void clearRunningInstance ()

public void dispose ()

public VideoFrame getCaptureVideoFrame ()

public long getContextId ()

public byte[] getDecodedVideoFrame (byte[] decodedFrame, FrameInfo info, VStream stream, int options)

public byte[] getDecodedVideoFrame (byte[] buf, int options)

public static Class<? extends Activity> getDefaultVideoCallActiviy ()

public int getFrameHeight ()

public FrameInfo getFrameInfo ()

public int getFrameRate ()

public int getFrameWidth ()

public int getKeyframeDistance ()

public int getLastFrameRotated ()

public static NativeRtpVideoHandler getRunningInstance ()

public NativeVideoContext getVideoContext ()

public IVideoSlave getVideoSlave ()

public VStat getVideoStatus ()

public void handleRTPEvent (RTPPacket packet)

public void handleVideoStatusEvent (RTPPacket packet)

public void hangUp ()

public boolean hasCaptureStarted ()

public void hideVideoFrame ()

public void initiateHangup ()

public boolean isActive ()

public boolean isCaptureFrameAvailable ()

public boolean isHangupInitiated ()

public boolean isInitialized ()

public boolean isLastDecodedFrameKeyframe ()

public void onNativeEvent (int key, int value)

public void onNativeEvent (int key, String value)

public void onNativeEvent (int key, Object value)

public void onPreStop ()

public static void setDefaultVideoCallActiviy (Class<? extends Activity> activityClass)

public void setDelegate (VideoHandlerDelegate delegate)

public void setFrameRate (int newRate)

public void setKeyframeDistance (int distance)

public void showGroupVideoFrame ()

public void showVideoFrame ()

public void startVideoCapture ()

public void stopVideoCapture ()