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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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