Android SDK 1.1 or 1.0 is not supported to change the VideoCapturer

Discussion in 'Web Call Server 5' started by kyu won, Aug 12, 2019.

  1. kyu won

    kyu won New Member

    I need to change the VideoCapturer in com.flashphoner.fpwcsapi.webrtc.WebRTCMediaProvider.

    This like method
    WebRTCMediaProvider.getInstance().setVideoCapturer(VideoCapturer videoCapturer)
  2. Max

    Max Administrator Staff Member

    Good day.
    Please clarify what do you trying to implement.
    If you try to switch a camera from front to back and vice versa, please use publishStream.switchCamera() functions, see Media Device example source code on GitHub.
    If you try to capture something not from media device (camera and microphone), this is not implemented in Android SDK. You can use WebSDK to capture HTML5 canvas element in Chrome browser.
  3. kyu won

    kyu won New Member


    Hi.
    I would like to implement the VideoCapturere that is used to MediaProjection.
    https://developer.android.com/reference/android/media/projection/MediaProjection

    It's possible if it can set a videoCapturere.
    Could you provide to us the setter that can be changed the videoCapturer?
  4. Max

    Max Administrator Staff Member

    Good day.
    We raised internal ticket (WCS-2234) and let you know results in this topic.
    kyu won likes this.
  5. kyu won

    kyu won New Member

    Thank you. Max
  6. Max

    Max Administrator Staff Member

    Good day.
    We have implemented screen capture in Android SDK 1.1 build 1.1.0.11.
    To demonstrate the feature, Android Screen sharing example was added. Please see the description here and example code on GitHub.

Share This Page