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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈