I create a WebRTC with simple peer. I need to capture stream from video element and send it to peers. I use vidEl.captureStream() to get Media Stream from video element and send it to other peer. It's working but only audio and video is blackscreen(not something is display). [Testing] I create another video element on same origin of first video element and use captureStream() and test setObject with Media Stream captured and it's working. How to send MediaStream from video.captureStream() to new peer through WebRTC and display video from remote peer. Sorry for bad english.
Can't send Media Stream of captureStream() through WebRTC
901 Views Asked by QuangNV At
2
There are 2 best solutions below
0
Philipp Hancke
On
There is currently an open bug in Chrome which breaks this: https://bugs.chromium.org/p/chromium/issues/detail?id=1156408
Related Questions in WEBRTC
- WebRTC close navigator.getUserMedia correctly
- Android WebRTC compile
- Java-based WebRTC SFU implementation for Spring Boot project
- Web RTC simple peer connection with socket.io could not be established
- WebRTC from Firefox to Android crashes
- How can I connect to a websocket from a vue app that is exposed to the network (yarn dev --host)?
- How to setup multiple peer connection with datachannels?
- Webrtc initial negotiation succeeds but renegotiation fails
- Webrtc Vulnerable Version
- aiortc: Combining multiple mp3 files to be returned as a single MediaStreamTrack
- WebRTC Data Channel is always in connecting state
- WebRTC ICE fails for IOS Browsers
- Need to connect my WebRTC stream(Handled by PeerJS) to my Asterisk server
- aiortc: Recording video on server discards beyond a few seconds
- Android 12+: Microphone stops in WebRTC app within a WebView when screen is locked or user switches apps
Related Questions in MEDIASTREAM
- Creating MediaStream from canvas and video element
- Can you get the volume of a webrtc audio stream without playing it?
- Record multi audio tracks available in a stream with MediaRecorder
- How to get the event Handler for stop sharing button in chrome browser in emberjs
- How to avoid SecurityError: The operation is insecure. at Firefox when using .mozCaptureStream and MediaRecorder?
- HTML5 Canvas captureStream - Problem with hi-res images
- How to access both webcams mediastream in chrome browser simultaneously?
- Javascript: how to stop a screen share of a window without stopping that windows's own screen share?
- play twilio call media stream directly in the browser
- myStream.getAudioTracks is not a Function? myStream is not regconized as MediaStream but a String?
- Issue with audioGain Constraint in WebRTC
- Native browser method for compressing video / audio before uploading?
- MediaStream and MediaRecord with virtual device interface
- Quicktime - The document "video.mov Could Not be Opened
- Remove data chunks from Media Recorder Web API output
Related Questions in SIMPLE-PEER
- Web RTC simple peer connection with socket.io could not be established
- I'm trying to create a video calling app, using simple-peer and rooms. Not able to get stream from 1st user, but stream is received by 1st user
- Peer management library/package for React Native WebRTC integration?
- i am using simple-peer and and can't display remote stream in reactjs
- Uncaught Error: Secure random number generation is not supported by this browser. Use Chrome, Firefox or Internet Explorer 11
- Ionic Angular - cannot signal after peer is destroyed
- Uncaught (in promise) TypeError: Stream is undefined
- Video call with simple peer library not working
- Signaling Failure: 'Cannot Signal After Peer Is Destroyed' Issue in WebRTC Video Call Website Development
- How do I record a MediaStream without using MediaRecorder?
- using simple peer and socket.io for video chat functionality on two different sites using
- How do I make a collaborative whiteboard using WebRTC or WebSocket?
- Peer connection getting repeatedly closed in simple-peer react app
- RollupError: "default" is not exported by "node_modules/simple-peer/simplepeer.min.js", imported by "node_modules/y-webrtc/src/y-webrtc.js"
- can not get peer stream because of re render issue
Related Questions in CAPTURESTREAM
- I am using captureStream with a frame rate of 0 to capture frames from a webgl canvas. How to trick requestFrame into thinking the canvas has changed?
- How to export fabricjs canvas to high quality video using captureStream and MediaRecorder
- captureStream from transferred canvas not working in firefox
- Web camera mocks not working with S3 pre-signed videos in Playwright
- Webrtc screencapture or capturestream
- Uncaught TypeError: canvas.captureStream is not a function
- High CPU Usage from Canvas CaptureStream
- Property 'captureStream' does not exist on type 'HTMLVideoElement'
- ReactJS Canvas has no captureStream
- How to call captureStream method of HTMLVideoElement in React
- Can't send Media Stream of captureStream() through WebRTC
- (Audio) captureStream is not a function in Safari
- WebRTC captureStream() video to video with CORS
- Recording video on the browser on iPhones/iOS (MediaRecorder)
- First frame from captureStream() not sending
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
https://webrtc.github.io/samples/src/content/capture/video-pc/ This sample does'nt work on chrome, edge but fire is worked. I don't know why.