VideoController class
VideoController class is used to communicate between the app and the host client during the video capture flow.
- Extends
-
MediaController<@microsoft/teams-js.@microsoft.teams-js.media.VideoControllerCallback>
Constructors
Video |
Methods
notify |
Inherited Methods
stop((err?: Sdk |
Optional; Function to programatically stop the ongoing media event. |
Constructor Details
VideoController(VideoControllerCallback)
new VideoController(controllerCallback?: VideoControllerCallback)
Parameters
- controllerCallback
-
@microsoft/teams-js.@microsoft.teams-js.media.VideoControllerCallback
Method Details
notifyEventToApp(MediaControllerEvent)
function notifyEventToApp(mediaEvent: MediaControllerEvent)
Parameters
- mediaEvent
-
MediaControllerEvent
Inherited Method Details
stop((err?: SdkError) => void)
Optional; Function to programatically stop the ongoing media event.
function stop(callback?: (err?: SdkError) => void)
Parameters
- callback
-
(err?: SdkError) => void
is used to send app if host client has successfully stopped the event or not
Inherited From MediaController.stop
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour