java.lang.IllegalArgumentException: Unsupported resolution 1280x720

GitHub | developeralp | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 120#245943070

    GitHub | 7 months ago | developeralp
    java.lang.IllegalArgumentException: Unsupported resolution 1280x720

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unsupported resolution 1280x720

      at net.ossrs.yasea.SrsPublisher.startCamera()
    2. net.ossrs.yasea
      MainActivity$1.onClick
      1. net.ossrs.yasea.SrsPublisher.startCamera(SrsPublisher.java:196)
      2. net.ossrs.yasea.SrsPublisher.startEncode(SrsPublisher.java:55)
      3. net.ossrs.yasea.SrsPublisher.startPublish(SrsPublisher.java:84)
      4. net.ossrs.yasea.MainActivity$1.onClick(MainActivity.java:76)
      4 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4463)
      2. android.view.View$PerformClick.run(View.java:18789)
      3. android.os.Handler.handleCallback(Handler.java:808)
      4. android.os.Handler.dispatchMessage(Handler.java:103)
      5. android.os.Looper.loop(Looper.java:193)
      6. android.app.ActivityThread.main(ActivityThread.java:5307)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:831)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647)
      2 frames