# Peer.js - Your browser does't support RTCPeerConnection#addTrack

**URL:** <https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399>\
**Category:** Help\
**Created:** [December 6, 2019, 12:40am UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399 "2019-12-06T00:40:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejo-lapix](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@alejo-lapix](https://react-native-webrtc.discourse.group/u/alejo-lapix)\
**Post date:** [December 6, 2019, 12:40am UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399/1 "2019-12-06T00:40:25Z")

</div>

I’m trying to get a video and audio stream from a web client but get the following error on the react native side:

> Your browser does’t support RTCPeerConnection#addTrack

How can I make it works? Should I use another option?

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [December 6, 2019, 8:12am UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399/2 "2019-12-06T08:12:19Z")

</div>

We don’t support addTrack. addStream is the only supported API, currently.

---

<div class="post-metadata">

**Author:** ![alejo-lapix](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@alejo-lapix](https://react-native-webrtc.discourse.group/u/alejo-lapix)\
**Post date:** [December 6, 2019, 12:58pm UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399/3 "2019-12-06T12:58:42Z")

</div>

Thanks, I’ve implemented the addStream and onaddstream API in my version of Peer.js, so dirty but it works.

Do you have any further plans to update the supported API?

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [December 6, 2019, 4:06pm UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399/4 "2019-12-06T16:06:37Z")

</div>

Yes, we will eventually implement the transceivers API, no ETA though.

---

<div class="post-metadata">

**Author:** ![Ponao](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/ponao/32/129_2.png) [@Ponao](https://react-native-webrtc.discourse.group/u/Ponao)\
**Post date:** [December 24, 2019, 5:13pm UTC](https://react-native-webrtc.discourse.group/t/peer-js-your-browser-doest-support-rtcpeerconnection-addtrack/399/5 "2019-12-24T17:13:39Z")

</div>

Hi, I found a solution to this problem, the bottom line is that the addTrack API is not implemented in react-native-webrtc, and you need to implement it yourself, here is the issue where the solution is written in detail [https://github.com/peers/peerjs/issues/612](https://github.com/peers/peerjs/issues/612)
