screensharing

Unable to Screencast to Apprtc using Replay Kit Over Webrtc

感情迁移 提交于 2021-02-02 09:57:24
问题 Hello There, I am trying to screen broadcast with latest webrtc libraries but I keep getting following error: iOS 13.0 & above: Live broadcast has stopped due to Attempted to start invalid broadcast session. less than iOS13 but greater than iOS 12.0: Live broadcast has stopped due to:(null) I would really appreciate if anyone can answer my question. Thanks var peerConnectionFactory: RTCPeerConnectionFactory? var localVideoSource: RTCVideoSource? var videoCapturer: RTCVideoCapturer? func

Unable to Screencast to Apprtc using Replay Kit Over Webrtc

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-02 09:57:01
问题 Hello There, I am trying to screen broadcast with latest webrtc libraries but I keep getting following error: iOS 13.0 & above: Live broadcast has stopped due to Attempted to start invalid broadcast session. less than iOS13 but greater than iOS 12.0: Live broadcast has stopped due to:(null) I would really appreciate if anyone can answer my question. Thanks var peerConnectionFactory: RTCPeerConnectionFactory? var localVideoSource: RTCVideoSource? var videoCapturer: RTCVideoCapturer? func

How to share screen remotely in a video/audio call?

喜夏-厌秋 提交于 2021-01-29 14:19:40
问题 I am trying to build a video call app which has a feature of screen sharing. The users can share their screen during the call. I'm using WebRTC SDK to meet my purpose, but they have a solution for screen share when the call starts but not for screen share while the call is ongoing. One can tick the screen sharing option and can start the call but cannot start screen sharing during the call. I added a button on the CallActivity screen which on click calls MediaProjection Class of Android to

iOS screen sharing (ReplayKit) using WebRTC in swift

落花浮王杯 提交于 2020-07-10 10:25:44
问题 I implemented webrtc SDK for video calling and its working fine . During video call user can share screen with another user. I am using RePlayKit for screen sharing. Here is my code class SampleHandler: RPBroadcastSampleHandler { var peerConnectionFactory: RTCPeerConnectionFactory? var localVideoSource: RTCVideoSource? var videoCapturer: RTCVideoCapturer? var peerConnection: RTCPeerConnection? var localVideoTrack: RTCVideoTrack? var disconnectSemaphore: DispatchSemaphore? var videodelegate

How to custom WebRTC video source?

断了今生、忘了曾经 提交于 2020-06-23 06:02:06
问题 Does someone know how to change WebRTC (https://cocoapods.org/pods/libjingle_peerconnection) video source? I am working on an screen sharing app. At the moment, I retrieve the rendered frames in real-time in CVPixelBuffer. Does someone know how I could add my frames as video source please? Is it possible to set an other video source instead of camera device source ? Is yes, which format the video has to be and how to do it ? Thanks. 回答1: var connectionFactory : RTCPeerConnectionFactory =

Screen sharing with WebRTC?

北城余情 提交于 2019-12-29 03:08:46
问题 We're exploring WebRTC but have seen conflicting information on what is possible and supported today. With WebRTC, is it possible to recreate a screen sharing service similar to join.me or WebEx where: You can share a portion of the screen You can give control to the other party No downloads are necessary Is this possible today with any of the WebRTC browsers? How about Chrome on iOS? 回答1: To the best of my knowledge, it's not possible right now with any of the browsers, though the Google

Screen sharing with WebRTC?

北城以北 提交于 2019-12-29 03:08:07
问题 We're exploring WebRTC but have seen conflicting information on what is possible and supported today. With WebRTC, is it possible to recreate a screen sharing service similar to join.me or WebEx where: You can share a portion of the screen You can give control to the other party No downloads are necessary Is this possible today with any of the WebRTC browsers? How about Chrome on iOS? 回答1: To the best of my knowledge, it's not possible right now with any of the browsers, though the Google

Detect Firefox support for screen sharing

我的未来我决定 提交于 2019-12-23 13:10:54
问题 Firefox, since version 52, will support screen sharing via: navigator.mediaDevices.getUserMedia({ video: { mediaSource: 'screen' }}) .then(stream => { ... }); Check out this test page to see it in action. I would like to know whether there is a way to detect whether a browser supports { mediaSource: 'screen' } ? I would like to only give the option to share the screen with users that have the ability to share. So I'd like to be able to feature detect this. 回答1: a way to detect whether a

Streaming screenshots over WebRTC as a video stream from iOS

爱⌒轻易说出口 提交于 2019-12-14 01:57:07
问题 We want to share the screen (screenshots) to a browser from an iPad. At the moment we take screenshots and send them over a WebRTC DataChannel, however that requires to much bandwidth. Sending 5 frames per second fully compressed and scaled, still requires about 1.5-2mb/s upload speed. We need to utilize some form of video encoding, so we can lower the bandwidth requirements and let WebRTC handle the flow control, depending on connection speed. AVAssetWriter takes images and converts them to

Send Replay Kit Audio samples(not Microphone) Over Webrtc

浪尽此生 提交于 2019-12-13 15:26:57
问题 I am able to send Replaykit video samples to the remote peer but with no Audio. What to use instead of RTCVideoFrame? Is there a way I can send a Audio Video data together? Below is the snippet: var peerConnectionFactory: RTCPeerConnectionFactory? var localVideoSource: RTCVideoSource? var videoCapturer: RTCVideoCapturer? func setupVideoCapturer(){ // localVideoSource and videoCapturer will use localVideoSource = self.peerConnectionFactory!.videoSource() videoCapturer = RTCVideoCapturer()