.addStream removed
See original GitHub issueJust admittedly blindly updated react-native-webrtc
to
"react-native-webrtc": "^106.0.0-beta.3",
Noticed a bunch of API changes. addStream
, getLocalStreams
removed.
As the repo stands, if a new user installs this lib and follows the Guides, they will be in for many surprises 😄
Any migration/updated docs planned?
Issue Analytics
- State:
- Created a year ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
RTCPeerConnection.addStream() - Web APIs - MDN Web Docs
addStream (). Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed ......
Read more >Deprecate and remove RTCPeerConnection#addStream ...
Issue 697059: Deprecate and remove RTCPeerConnection#addStream/removeStream and related events ; Comment 1 · Tue, Feb 28, 2017, 8:48 AM PST · Components: -Blink> ......
Read more >addTrack instead of deprecated addStream #339 - GitHub
As a webRTC user, I would like to use addTrack (as addStream is deprecated, ... SAFARI has removed (completely) addstream and onaddstream ....
Read more >removeStream and then re- addStream after negotiation: Safe?
If I call removeStream, it does indeed stop sending data. If I then call addStream (with the previously removed stream), it resumes. Great!...
Read more >Addstream - DOM Events - W3cubDocs
DeprecatedThis feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a list of streams in event.streams, if you set the stream IDs on the other side when you add the transceiver.
Stream-less tracks are possible but rate, that’s why we have that limitation for now.
If you set stream IDs when creating your transceiver, or pass the stream when calling addTrack the remote will receive a track that is attached to a stream.
That’s completely broken. I suggest you read bout the transceivers API on MDN.
There will eventually be some decent example apps that should help a lot more but most of what is documented currently is pretty straight forward to some extent 👍🏻