Could you please refer below sample. This sample demonstrates how a bot can do a video stream and change screen sharing role.
Thanks,
Nivedipa
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.