Netless

Netless

  • JavaScript
  • Android
  • iOS
  • Server
  • FAQ
  • GitHub
  • 🇨🇳 中文

›FAQ

FAQ

  • Authentication information
  • Add storage driver
  • Prefetch
  • Playback speed
  • Debug center
  • Instructions
  • Network exception handling
  • Aliyun OSS config
  • How to use docs-transform
  • How to use the adaptation screen
  • Debug help
  • Whiteboard playback principle
  • Firewall
  • How to insert ppt, switch ppt
  • Log
  • Dosage
  • Large class

How to use the adaptation screen

Teachers and students use a variety of different screen size devices to use the whiteboard. The most feared problem is that because the screen size is different, the content they see each other is different, so the teaching is difficult . In this article, we will explain in detail how to complete this setting through several APIs of the whiteboard.

What is perspective follow and visual rectangle

  • In the first half of the demonstration, the student will follow the movement of the teacher. The concept is perspective follow.
  • In the second half of the presentation, although the teacher and student are not the same in proportion and size, the blue frame can be displayed completely, because in the following state, the student will show the full content of the teacher to the maximum extent during the meeting. The concept is visual rectangle

How to use these features

  1. Pay attention to the following code

        room.setViewMode(ViewMode.Follower); // The caller follows the user set to Broadcaster
        room.setViewMode(ViewMode.Broadcaster); // The caller lets other users follow themselves
        room.setViewMode(ViewMode.Freedom); // The caller does not follow anyone and the perspective is in free mode
        room.disableCameraTransform = true // The caller is forbidden to move the perspective, often students
        room.disableCameraTransform = false // The caller is allowed to move the perspective, often the teacher
    
  2. Recommended usage

        room.setViewMode(ViewMode.Follower); // Student follows teacher
        room.setViewMode(ViewMode.Broadcaster); // Teacher set as anchor
        room.disableCameraTransform = true // Students forbid zoom to change perspective
        room.disableCameraTransform = false // Teacher allows zoom to change perspective
    

    In this way, students will not follow the teacher to fail, and always ensure that the whiteboard picture is consistent

Last updated on 3/27/2020 by 伍双
← How to use docs-transformDebug help →
  • What is perspective follow and visual rectangle
  • How to use these features
Netless
Let's interactive.
Product
ConsoleHomepageDemoGithub
Company
Join usServicePrivacy
Contact
support@netless.linkCommunity
Copyright © 2020 Netless