C# 클래스 Appspotdemo.Mono.Droid.VideoStreamsView

A GLSurfaceView{,.Renderer} that efficiently renders YUV frames from local & remote VideoTracks using the GPU for CSC. Clients will want to call the constructor, setSize() and updateFrame() as appropriate, but none of the other public methods of this class are of interest to clients (only to system classes).
상속: Android.Opengl.GLSurfaceView, GLSurfaceView.IRenderer
파일 보기 프로젝트 열기: kenneththorman/appspotdemo-mono 1 사용 예제들

공개 메소드들

메소드 설명
OnDrawFrame ( IGL10 unused ) : void
OnSurfaceChanged ( IGL10 unused, int width, int height ) : void
OnSurfaceCreated ( IGL10 unused, EGLConfig config ) : void
VideoStreamsView ( Android.Content.Context c, Android.Graphics.Point screenDimensions ) : System.Collections.Generic
queueFrame ( Endpoint stream, Org frame ) : void

Queue |frame| to be uploaded.

setSize ( Endpoint stream, int width, int height ) : void

Inform this View of the dimensions of frames coming from |stream|.

보호된 메소드들

메소드 설명
OnMeasure ( int unusedX, int unusedY ) : void

비공개 메소드들

메소드 설명
abortUnless ( bool condition, string msg ) : void
addShaderTo ( int type, string source, int program ) : void
checkNoGLES2Error ( ) : void
directNativeFloatBuffer ( float array ) : FloatBuffer
drawRectangle ( int textures, FloatBuffer vertices ) : void
texImage2D ( VideoRenderer frame, int textures ) : void
updateFrames ( ) : void

메소드 상세

OnDrawFrame() 공개 메소드

public OnDrawFrame ( IGL10 unused ) : void
unused IGL10
리턴 void

OnMeasure() 보호된 메소드

protected OnMeasure ( int unusedX, int unusedY ) : void
unusedX int
unusedY int
리턴 void

OnSurfaceChanged() 공개 메소드

public OnSurfaceChanged ( IGL10 unused, int width, int height ) : void
unused IGL10
width int
height int
리턴 void

OnSurfaceCreated() 공개 메소드

public OnSurfaceCreated ( IGL10 unused, EGLConfig config ) : void
unused IGL10
config EGLConfig
리턴 void

VideoStreamsView() 공개 메소드

public VideoStreamsView ( Android.Content.Context c, Android.Graphics.Point screenDimensions ) : System.Collections.Generic
c Android.Content.Context
screenDimensions Android.Graphics.Point
리턴 System.Collections.Generic

queueFrame() 공개 메소드

Queue |frame| to be uploaded.
public queueFrame ( Endpoint stream, Org frame ) : void
stream Endpoint
frame Org
리턴 void

setSize() 공개 메소드

Inform this View of the dimensions of frames coming from |stream|.
public setSize ( Endpoint stream, int width, int height ) : void
stream Endpoint
width int
height int
리턴 void