Resource Base
Table of contents

EnumResolution

Enumeration Resolution describes the resolution.

  • Android
  • Objective-C
  • Swift
@IntDef({RESOLUTION_AUTO,RESOLUTION_480P,RESOLUTION_720P,RESOLUTION_1080P,RESOLUTION_2K,RESOLUTION_4K})
@Retention(RetentionPolicy.CLASS)
public @interface EnumResolution {
   // Auto choose resolution, expected 1080P, if can't choose, choose first lower than 1080P.
   public static final int RESOLUTION_AUTO = 0;
   // 480P
   public static final int RESOLUTION_480P = 1;
   // 720P
   public static final int RESOLUTION_720P = 2;
   // 1080P
   public static final int RESOLUTION_1080P = 3;
   // 2K
   public static final int RESOLUTION_2K = 4;
   // 4K
   public static final int RESOLUTION_4K = 5;
}
typedef NS_ENUM(NSInteger, DSResolution)
{
   /**
    * Set the video streaming to the auto selected resolution.
    */
   ResolutionAuto = 0,
   /**
    * Set the video streaming to the 480P resolution.
    */
   Resolution480P = 1,
   /**
    * Set the video streaming to the 720P resolution.
    */
   Resolution720P = 2,
   /**
    * Set the video streaming to the 480P resolution.
    */
   Resolution1080P = 3,
   /**
    * Set the video streaming to the 4K resolution.
    */
   Resolution4K = 4
};
public enum Resolution : Int{
   /**
    * Set the video streaming to the auto selected resolution.
    */
   auto = 0
   /**
    * Set the video streaming to the 480P resolution.
    */
   480P = 1
   /**
    * Set the video streaming to the 720P resolution.
    */
   720P = 2
   /**
    * Set the video streaming to the 480P resolution.
    */
   1080P = 3
   /**
    * Set the video streaming to the 4K resolution.
    */
   4K = 4
}

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 4.x
      • Version 4.2.0
      • Version 4.0.3
      • Version 4.0.2
      • Version 4.0.1
      • Version 4.0.0
    • Version 3.x
      • Version 3.3.10
      • Version 3.3.9
      • Version 3.3.8
      • Version 3.3.7
      • Version 3.3.6
      • Version 3.3.5
      • Version 3.3.4
      • Version 3.3.3
      • Version 3.3.2
      • Version 3.3.1
      • Version 3.3.0
      • Version 3.2.0
      • Version 3.1.0
      • Version 3.0.1
      • Version 3.0.0
    • Version 2.x
      • Version 2.3.5
      • Version 2.3.2
      • Version 2.3.1
      • Version 2.3.0
      • Version 2.1.4
      • Version 2.1.3
      • Version 2.1.0
      • Version 2.0.0
    • Version 1.x
      • Version 1.0.3
      • Version 1.0.1
      • Version 1.0.0
    Change +