ORIENTATION_MODE
Video output orientation mode.
Enumerations
- ORIENTATION_MODE_ADAPTIVE
- (0): (Default) The output video always follows the orientation of the captured video. The receiver will receive rotation info from the video encoder. Suitable for scenarios where the receiver can adjust video orientation based on rotation info.
- If the captured video is landscape, the output is landscape.
- If the captured video is portrait, the output is portrait.
- ORIENTATION_MODE_FIXED_LANDSCAPE
- (1): The output video is always in landscape mode. If the captured video is portrait, the encoder crops it to fit. Suitable for scenarios where the receiver cannot handle rotation info, such as CDN live streaming.
- ORIENTATION_MODE_FIXED_PORTRAIT
- (2): The output video is always in portrait mode. If the captured video is landscape, the encoder crops it to fit. Suitable for scenarios where the receiver cannot handle rotation info, such as CDN live streaming.