public void attachVideoRenderer ( GLSurfaceView glView ) { if ( null != glView ) { VideoRendererGui . setView ( glView , new Runnable ( ) { @ Override public void run ( ) { Log . d ( TAG , "VideoRendererGui GL Context ready" ) ; } } ) ; remoteRender = VideoRendererGui . create ( 0 , 0 , 100 , 100 , VideoRendererGui . ScalingType . SCALE_ASPECT_FILL , false ) ; localRender = VideoRendererGui . create ( 70 , 5 , 25 , 25 , VideoRendererGui . ScalingType . SCALE_ASPECT_FILL , false ) ; } }
Attach the call s video renderers to the specified GLSurfaceView