tencent cloud

Feedback

Recording

Last updated: 2023-05-08 18:20:36

    How do I record a class?

    You can enable/disable HD recording by specifying the DisableRecord parameter when creating a room. If you do not specify the parameter, HD recording will be enabled by default.

    What is the start and end time of a recording?

    If you enable recording for a class, the system will start recording the class when the class actually begins and end recording when the class actually ends. For more information about the actual start and end time of a class, see RealStartTime and RealEndTime.

    How do I receive recording callbacks?

    You need to go to the LCIC console and configure a callback URL for your application. For details, see Listening for Server-Side Callbacks.
    
    
    

    How do I obtain recording files?

    A recording file will be generated after a class ends, and the recording URL will be returned.

    How are recording files saved?

    Recording files are saved automatically, which incurs storage costs. For details, see Billing Overview.

    How to delete recording files?

    LCIC allows you to delete a single recording file or multiple files at a time. For detailed directions, see Recording Management APIs.

    What recording templates are offered?

    You can specify a recording template by setting the RecordLayout parameter when creating a room. This template cannot be changed during the class. The following recording templates are offered.

    Screen sharing templates (replay_layout=0 or replay_layout=3)

    
    
    
    Note:
    As shown above, in a screen sharing template, 1 is the whiteboard/screen sharing area, 2 is the teacher's video, and 3, 4, 5, and 6 are the students' videos.
    If replay_layout is 0, the aspect ratio of the teacher's and students' videos (2, 3, 4, 5, 6) is 1:1. If the original aspect ratio is not 1:1, the video will be cropped.
    If replay_layout is 3, the aspect ratio of the teacher's and students' videos (2, 3, 4, 5, 6) is 4:3. If the original aspect ratio is not 4:3, the video will be cropped.

    Teacher view templates (replay_layout=1 or replay_layout=4)

    
    
    
    Note:
    As shown above, in a teacher view template, 1 is the teacher's large video, and 2, 3, 4, and 5 are the students' small videos. If the teacher shows a student's video in the large window, 3, 4, 5, and 6 will show the students' small videos.
    If a class has no students (1v0), the teacher's video will fill the entire screen.
    If replay_layout is 1, the aspect ratio of the teacher's and students' videos (1, 2, 3, 4, 5) is 1:1. If the original aspect ratio is not 1:1, the video will be cropped.
    If replay_layout is 3, the aspect ratio of the teacher's and students' small videos on the right ( 2, 3, 4, 5, 6) is 4:3. If the original aspect ratio is not 4:3, the video will be cropped.

    Custom layout templates (replay_layout=2 or replay_layout=5)

    
    
    
    Note:
    As shown above, in a custom background template, 1 is the whiteboard/screen sharing area, and 2 is the teacher's video.
    This template supports custom backgrounds, which you can set using the setLayoutParams API.
    If the screen is shared, the whiteboard area will show the shared the screen.
    If replay_layout is 2, the aspect ratio of the teacher's video (2) is 4:3. If the original aspect ratio is not 4:3, the video will be cropped.
    If replay_layout is 5, the aspect ratio of the teacher's video (2) is 1:1. If the original aspect ratio is not 1:1, the video will be cropped.

    Class page recording template (replay_layout=9)

    Note:
    The class page recording template better reproduces a class. It records the chat history and switch of layouts. We recommend you use this template.
    Example:
    
    
    
    
    Note:
    This template does not support relay.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support