RealtimeControllerFacade
RealtimeControllerFacade controls aspects meetings concerning realtime UX that for performance, privacy, or other reasons should be implemented using the most direct path. Callbacks generated by this interface should be consumed synchronously and without business logic dependent on the UI state where possible.
Events will be passed through RealtimeObserver, which in turn provides consumers the volume/mute/signal/attendee callbacks that can be used to render in the UI. Data Messages will be passed through DataMessageObserver.
Inheritors
Functions
Subscribes to receive message on a topic, there could be multiple observers per topic
Subscribes to real time events with an observer
Subscribes to transcript event with an observer
Checks if Amazon Voice Focus is enabled.
Mute the audio input.
Unmutes the audio input.
Send message via data channel. Messages are only expected to be sent after audio video has started, otherwise will be ignored. Even though one can send data messages to any valid topic, in order to receive the messages from the given topic, one need to subscribed to the topic by calling addRealtimeDataMessageObserver. LifetimeMs specifies milliseconds for the given message can be stored in server side. Up to 1024 messages may be stored for a maximum of 5 minutes.
Enable or disable Amazon Voice Focus (ML-based noise suppression) on the audio input.
Unsubscribes from a message topic
Unsubscribes from real time events by removing the specified observer
Unsubscribes from transcript event by removing the specified observer