Class VideoPlaneRemote

    • Constructor Detail

      • VideoPlaneRemote

        public VideoPlaneRemote​(android.content.Context context)
        Constructor
        Parameters:
        context - parent context
    • Method Detail

      • setVideoPlaneListener

        public void setVideoPlaneListener​(VideoPlaneListener videoPlaneListener)
        Parameters:
        videoPlaneListener - the object that will listen for touch events.
      • onSurfaceCreated

        public void onSurfaceCreated()
      • onSurfaceChanged

        public void onSurfaceChanged​(int width,
                                     int height)
      • onDrawFrame

        public void onDrawFrame​(double time)
      • onTouchEvent

        public boolean onTouchEvent​(double time,
                                    android.view.MotionEvent event,
                                    int surfaceHeight)
      • setRemoteVideoLayer

        public void setRemoteVideoLayer​(VideoLayerRemote remoteVideoLayer)
        Sets the remote video layer.
        Parameters:
        remoteVideoLayer - the remote video layer.
      • setRemoteVideoSize

        public void setRemoteVideoSize​(int width,
                                       int height)
        Sets the remote video size; usually in response to VideoLayerListener.onVideoFrameSizeChanged(int, int).
        Parameters:
        width - the width of the video frame.
        height - the height of the video frame.