![]() buildConstraints() is called to construct updated MediaTrackConstraints objects for the audio track ( audioConstraints) and the video track ( videoConstraints).Otherwise, we follow these steps to apply the updated constraints to the already-active stream: If it's clicked and there's not already media in use, we call startVideo(), and let that function handle starting the stream with the specified settings in place. Next, we set up an event listener for the "Apply Constraints" button. We also need to set up an event listener to watch for the "Start Video" button to be clicked: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |