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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for