PortSIP VoIP SDK Manual for Android
16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
|
Inherits SurfaceViewRenderer.
Classes | |
enum | ScalingType |
Public Member Functions | |
PortSIPVideoRenderer (Context context) | |
PortSIPVideoRenderer (Context context, AttributeSet attrs) | |
void | setScalingType (ScalingType scalingType) |
void | release () |
void | surfaceDestroyed (SurfaceHolder holder) |
void | renderFrame (VideoRenderer.I420Frame frame) |
Public Attributes | |
long | nativeVideoRenderer = 0 |
Display the video stream on a SurfaceView.
com.portsip.PortSIPVideoRenderer.PortSIPVideoRenderer | ( | Context | context | ) |
Standard View constructor. In order to render something, you must first call init().
com.portsip.PortSIPVideoRenderer.PortSIPVideoRenderer | ( | Context | context, |
AttributeSet | attrs | ||
) |
Standard View constructor. In order to render something, you must first call init().
void com.portsip.PortSIPVideoRenderer.release | ( | ) |
Block until any pending frame is returned and all GL resources released, even if an interrupt occurs. If an interrupt occurs during release(), the interrupt flag will be set. This function should be called before the Activity is destroyed and the EGLContext is still valid. If you don't call this function, the GL resources might leak.