ScreenCapturer | fast screenshot make and screen capture | DevOps library
kandi X-RAY | ScreenCapturer Summary
kandi X-RAY | ScreenCapturer Summary
Library for easy screen capture based on SharpDX package. Available as NuGet package.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ScreenCapturer
ScreenCapturer Key Features
ScreenCapturer Examples and Code Snippets
Community Discussions
Trending Discussions on ScreenCapturer
QUESTION
I am working on an IOS application(SWIFT) in which i have used tokbox for screensharing, i am able to share the screen but not able to stop screensharing.
This is the code I have used for screensharing.
...ANSWER
Answered 2020-Oct-29 at 12:49To stop screen sharing will need to stop the publisher from streaming. To do that you can call:
[OTSession unpublish:error:]
More info is available on the Video API guides
For your case, where you are adding screen sharing to an existing call, you will need to create an additional publisher for the screen sharing rather than editing the existing one. To use the existing publisher it will require the publisher to be reinitialised to switch between publishing a camera feed vs a screen which will stop publishing audio too.
In addition to creating a new publisher, you need to create a new subscriber for the other user, you can do that in the subscriberDidConnect
delegate function on the OTSubscriberDelegate
.
Additionally, you will need to handle the destruction of both the new publisher and subscriber. This will be done in the delegate functions are you using already on the OTSessionDelegate
and OTPublisherDelegate
.
I have created a demo app which demonstrates this behaviour.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ScreenCapturer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page