Using Communication Components > AVPresence component

 

AVPresence component

The AVPresence component lets you send and receive audio and video within your application. The component acts as a presenter seat, which any connected user can use. If a user is sending audio or video (or both) from an instance of the component, the other users see and hear that person's audio and video automatically. If an instance of the component is not being used, a user can click on it to send audio and video. The user has controls for sending and receiving as well as for disabling the audio and/or video. When a user uses the controls on an incoming stream, the effect is local; when a user uses the controls on his or her own audio and/or video instances, the user interfaces of all the other connected users are affected. In this way, each user can control whom they see and hear as well as whether they are seen and heard.

This component does not require scripting if you use it with the SimpleConnect component. You need to provide a unique instance name for each component instance that you drag onto the Stage. The AVPresence component has several component parameters that can be modified.