Comments (7)
Nevermind, it was a small issue with icecandidate. You can close this one now. Thanks for all the help
from react-native-webrtc.
You need to add the track event before you call setRemoteDescription.
from react-native-webrtc.
You need to add the track event before you call setRemoteDescription.
In call answered event listners I had partial success(remote stream is still blank) with this, I don't know if it is correct approach
const receivers: RTCRtpReceiver[] = peerConnection.current.getReceivers();
console.log('\n\n\n\n\n', receivers, 'RECEIVERS');
const stream = new MediaStream();
receivers.forEach(receiver => {
stream.addTrack(receiver.track);
})
setRemoteStream(stream)
from react-native-webrtc.
That is not correct. You need have 2 video track per stream since an RTcView is only able to render a single video track.
Handle the track event, and create a stream there, if you don't have one.
You will need to attach to the track event early, so you don't miss it.
from react-native-webrtc.
That is not correct. You need have 2 video track per stream since an RTcView is only able to render a single video track.
Handle the track event, and create a stream there, if you don't have one.
You will need to attach to the track event early, so you don't miss it.
That actually worked but the main issue still persists. remoteStream view is just plain blank
from react-native-webrtc.
You'll need to go through your code. Ink Lu pointed out the obvious mistakes, but there may be more.
from react-native-webrtc.
You'll need to go through your code. Ink Lu pointed out the obvious mistakes, but there may be more.
I don't see the comment on this issue, can you link it here please?
from react-native-webrtc.
Related Issues (20)
- Weird stuttering and generally low quality when using with Cloudflare Calls HOT 11
- [Question] Is H264 the only codec that uses HW acceleration? Why? HOT 3
- Uncaught Error - WebRTC native module not found HOT 30
- Use speaker of media instead of use speaker of calling HOT 15
- RN 0.73+ compatibility issue: "Property 'addEventListener' does not exist on type 'RTCPeerConnection'" HOT 8
- Video doesn't resume when MediaStreamTrack is removed and added. HOT 8
- Simulcasting not working on iOS in react-native-webrtc HOT 20
- Unable to set remote description after call accepted from remote side HOT 6
- Get Raw Audio from reat-native-webrtc tracks. HOT 7
- Crash occurred during webrtc connection HOT 19
- voice breaking when in speaker mode in android 9 HOT 6
- What is expected time for the support of webrtc in macOS HOT 6
- React Native WebRTC randomly crashes if audio track is enabled HOT 2
- New Architecture - Considerations/Discussion HOT 2
- ios: Needs privacy manifest for WebRTC framework HOT 4
- ios: mediaDevices.enumerateDevices() only returns wide angle camera as environment facing capture device
- Unble to render screen share (track) through RTCView HOT 2
- App crashes on Android 6.0.1 (sdk 23) java.lang.NoClassDefFoundError HOT 5
- Crash in libjingle when dialing outbound audio call HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-webrtc.