C# Class 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).
Inheritance: Android.Opengl.GLSurfaceView, GLSurfaceView.IRenderer
Afficher le fichier Open project: kenneththorman/appspotdemo-mono Class Usage Examples

Méthodes publiques

Méthode Description
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|.

Méthodes protégées

Méthode Description
OnMeasure ( int unusedX, int unusedY ) : void

Private Methods

Méthode Description
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

Method Details

OnDrawFrame() public méthode

public OnDrawFrame ( IGL10 unused ) : void
unused IGL10
Résultat void

OnMeasure() protected méthode

protected OnMeasure ( int unusedX, int unusedY ) : void
unusedX int
unusedY int
Résultat void

OnSurfaceChanged() public méthode

public OnSurfaceChanged ( IGL10 unused, int width, int height ) : void
unused IGL10
width int
height int
Résultat void

OnSurfaceCreated() public méthode

public OnSurfaceCreated ( IGL10 unused, EGLConfig config ) : void
unused IGL10
config EGLConfig
Résultat void

VideoStreamsView() public méthode

public VideoStreamsView ( Android.Content.Context c, Android.Graphics.Point screenDimensions ) : System.Collections.Generic
c Android.Content.Context
screenDimensions Android.Graphics.Point
Résultat System.Collections.Generic

queueFrame() public méthode

Queue |frame| to be uploaded.
public queueFrame ( Endpoint stream, Org frame ) : void
stream Endpoint
frame Org
Résultat void

setSize() public méthode

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
Résultat void