Outline
This section lists the main content of each page in each document for the convenience of developers.
Just click on the third-level directory to jump to the corresponding document.
Installation guide
sdk integration
sdk project
- pure js
- react-sdk
Import method
- npm
- import manually
TypeScript support
.d.ts
introducetsconfig
configuration
Changelog
- Changelog
Open source
- Open source demo
Quick debug
- Room Join Problem -> Joining a Room Online
- Other debugging
Quick start
Condition
- Register for an account and get
sdkToken
Room authentication
In a production environment, it should be called on the server side
- Create room
- Get room information
Real-time room
- Initialization
- Quit
- Note
- Exception handling
- Precautions
- Online code
Replay room
- Replay
- Stop play
- Precautions
- Online code
Initialization parameters
SDK parameters
- Initialize the API
- Parameter Description
Room parameters
- Initialize the API
- JoinRoomParams
- RoomCallbacks
Replay parameters
- Initialize the API
- ReplayRoomParams
- PlayerCallbacks
Features
Tool operation(memberState)
- Ordinary teaching aids
- Type (brush, circle, rectangle)
- Detail parameters (color, thickness, text size)
- Tool information
- Eraser configuration options (optional initialization parameters)
- Image
- Difference between picture and background
- Hand tool
- Initial parameter configuration
- Disable tool operation
- Optional initialization parameters
Perspective operation
- Whiteboard internal coordinate system
- Coordinate Transformation API
- Anchor mode
- Perspective Mode (Concept Introduction)
- Anchor
- Audience
- freedom
- Perspective non-code (user active) switching logic
- Refresh width and height data
- When to call (call it after it happens)
- Adjust perspective center
- Animation
- Back to original position
- Zoom
- Adjust field of view (visual rectangle)
- Animation
- Padding ppt example
- Lock perspective
- Limited field of view
- Limiting the viewing angle range (optional initialization parameters)
Page (scene) operation API
- Page
- definition
- Page management concepts
- Table of Contents-Page Grouping
- Path-specified page
- Get current directory / page information
- Switch pages
- Note: Reasons for not taking effect
- Page turning (same directory)
- Note: the reason for the error
- Add page
- Note: Reasons for not taking effect
- Rename, move pages
- Delete page
- Page preview
- Page screenshot
Status monitoring
- Room status
- Definition of concept
- Type structure
- DisplayerState and related structures
- roomState
- playerState
- Get status
- Listening for status changes
- Real-time room
- Replay room
Whiteboard operation
- Read only:
- Prohibition of tool operation
- Disable perspective movement / zoom
- Custom GlobalState
- Zoom
- Disable zoom
- User active zoom
- API operations
- Active delay
- Clear screen (link to page)
- Preserved vs. Unpreserved Background (PPT)
Custom event
- Send custom events (live room only)
- Note
- Listen for custom events
- Ordinary frequency
- High frequency event
- Log out of custom listeners
Document conversion (word, ppt, pdf, etc.)
- Prerequisites (start configuration in the background)
- Conversion task-provided by SDK
- Dynamic ppt API
- Animation switching
- Custom font
Replay function
- Prerequisite
- Audio and video support
- Audio
- Video
- Limitation
- MacOS Safari, iOS, prohibit code to play videos, and workaround
- Replay status monitoring
- Active playback
- Play
- Seek
- Pause
- Switch observation mode
- Abort, cast resources