# Not receiving 'streamCreated' events on react-native

**URL:** https://openvidu.discourse.group/t/not-receiving-streamcreated-events-on-react-native/1631
**Category:** Issues developing apps
**Tags:** v2
**Created:** [July 27, 2020, 2:38pm UTC](https://openvidu.discourse.group/t/not-receiving-streamcreated-events-on-react-native/1631 "2020-07-27T14:38:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![claudiumatei](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@claudiumatei](https://openvidu.discourse.group/u/claudiumatei)
#### Post date: [July 27, 2020, 2:38pm UTC](https://openvidu.discourse.group/t/not-receiving-streamcreated-events-on-react-native/1631/1 "2020-07-27T14:38:02Z")

</div>

Hi,

I am encountering a very weird scenario, on react-native on latest SDK (openvidu-react-native-adapter-2.15.0.tgz): I don’t get any “streamCreated” events for users who connect/join using react-native app. However, I do receive “streamCreatead” events from users from webapp (which is using openvidu-browser). Also, I always receive “connectionCreated” events

PS: On older react-native SDK (2.14) I always receive “streamCreated” events as expected.  
Currently on 2.14 I have some issues with sound - I am not able to send/receive any sound when joining from RN iOS (things are working first time when I initialize OpenVidu objects + stream, but nothing works after calling disconnect + starting to rejoin. On Android it works as expected) and I was hoping that updating the SDK will fix my issue. Any help is welcome.

PS2: Currently we are using openVidu only for sound, without video.

Thank you,  
Claudiu

---

<div class="post-metadata">

### Author: ![claudiumatei](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@claudiumatei](https://openvidu.discourse.group/u/claudiumatei)
#### Post date: [July 29, 2020, 2:12pm UTC](https://openvidu.discourse.group/t/not-receiving-streamcreated-events-on-react-native/1631/2 "2020-07-29T14:12:09Z")

</div>

It seems this issue was happening because I was setting videoSource = null, instead of videoSource = undefined, when initializing publisher. We can close this issue, after I am setting videoSource = undefined and publishVideo = false, things are working as expecting.
