Skip to main content

Short Video Message

Users can send short video messages through Global IM UIKit. The messages will appear in the message list component of the chat UI. By default, the sent message contains a short video message content object RCSightMessage (type identifier: RC:SightMsg).

(width=250)

Limitations

The short video feature currently has the following limitations:

  • Global IM UIKit only supports sending short video messages in one-to-one chat and group chat sessions.
  • If using the camera for recording, the supported recording duration is up to 120 seconds.
  • If selecting a video file from the local album, the supported video duration is up to 120 seconds.
  • If the App Key uses Chat Premium Plan or Chat Ultimate Plan, the file storage duration is 180 days by default (excluding short video files, which are stored for 7 days). Note that the Chat Enterprise Plan (discontinued) defaults to 7 days of storage. For specific features and pricing of the Chat Premium Plan or Chat Ultimate Plan, please refer to the billing details.

Sending Short Video Messages

Users can click the + button on the right side of the input bar to expand the extension panel, then click the Gallery or Camera icon to send a short video message.

(width=220)

Customization

Adjusting Short Video Compression Quality

Short video files are compressed to a resolution of 544 * 960. The first frame of the video is used to generate a thumbnail, which is displayed in the chat UI. By default, the SDK generates a thumbnail at 30% of the original image quality, ensuring it meets the standard size requirements before uploading and sending. The longest side of the thumbnail does not exceed 240 px.

Generally, it is not recommended to modify the SDK's default compression settings. If you need to adjust the SDK's compression quality, please refer to the knowledge base document How to Modify SDK's Default Image and Video Compression Settings.