Interface StartIncomingPreviewCallback

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onDone(boolean isFront, SurfaceView localVideo) 打开预览成功 <<<<<<<Updated upstream ======= >>>>>>> Stashed changes
      abstract void onError(int errorCode) 打开预览失败
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onDone

         abstract void onDone(boolean isFront, SurfaceView localVideo)

        打开预览成功 <<<<<<<Updated upstream =======

        >>>>>>> Stashed changes

        Parameters:
        isFront - 是否是前置摄像头
        localVideo - 本端的视频预览 VideoView
      • onError

         abstract void onError(int errorCode)

        打开预览失败

        Parameters:
        errorCode - -1:Unknown camera ID, -2: Init RTC failed, -3: Media type is not VIDEO