Raw data
The Video SDK gives you access to real-time raw audio, video, and share data during a session, so you can apply additional effects and enhance the user experience. Use a processor component to apply effects or transformations to each piece of data in real-time.
- Use video processors to modify each video frame in real-time.
- Use audio processors to modify audio data in real-time.
- Use share processors to modify shared screen data in real-time.
Limitations
- The SDK allows only one active processor of the same type (video, audio, or share) at any given time.
Note
Each processor must be created only once during a session. Attempting to create multiple instances of the same processor will result in an error. If the user rejoins the session or a failover occurs, you may create a new instance of the processor as needed.
Steps to implement a processor
- Check if the browser supports custom processors. Use:
isSupportVideoProcessorfor video processorsisSupportAudioProcessorfor audio processorsisSupportShareProcessorfor share processors
- Build a custom processor.
- Create a processor instance and add it to the video, audio, or share pipeline.
These are inspired by AudioWorklet processors.
Samples
See the samples for examples of simple implementations.