Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCView rendering problem. #37

Closed
rbholeraj opened this issue Apr 5, 2016 · 3 comments
Closed

RTCView rendering problem. #37

rbholeraj opened this issue Apr 5, 2016 · 3 comments

Comments

@rbholeraj
Copy link

I trying your code from https://github.com/oney/react-native-webrtc. I got error ,

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x14790930> to GL_RENDERBUFFER 1
Failed to make complete framebuffer object 8cd6

I also write query on stackoverflow http://stackoverflow.com/questions/36419884/failed-to-bind-eagldrawable-in-webrct-react-native
Can you help me correct way why camera not rendering on RTCView?

Thanks

@parthi82
Copy link

parthi82 commented Apr 5, 2016

I had the same problem. It happens if you are not setting height and width for RTCView

@rbholeraj
Copy link
Author

@parthi82
Thanks a lot i solved my problem .. i set wrong place frame actually, Exact code is


render: function() {
    return (
      <View>
        <RTCView streamURL={this.state.videoURL} style={styles.container}/>
      </View>
    );
  }
});

@zxcpoiu
Copy link
Member

zxcpoiu commented Jul 3, 2016

great

@zxcpoiu zxcpoiu closed this as completed Jul 3, 2016
tabeebProjectSoftensity pushed a commit to tabeebProjectSoftensity/react-native-webrtc that referenced this issue Sep 10, 2018
saghul added a commit that referenced this issue Nov 9, 2018
It may crash when using the Camera 1 API.
zxcpoiu added a commit to zxcpoiu/react-native-webrtc that referenced this issue Jan 31, 2019
8fa08eb readme: update 1.69.0  ( zxcpoiu 2019-01-31 17:45:23 +0800)
8def7d0 android: add @ReactModule annotation  ( Maxim 2019-01-28 20:26:53 +0200)
7c32ebe ios: allow using custom codec factories  ( Gabriele Mondada 2019-01-07 10:09:18 +0100)
664440b ios: implement remaining RTCConfiguration options  ( Bradley Jokinen 2018-04-19 14:55:47 -0500)
5b9e9f9 android, ios: allow (un)muting remote tracks  ( Jennifer Weber 2019-01-29 21:19:42 +0100)
b420730 doc: mention ejecting on Expo is required  ( Saúl Ibarra Corretgé 2019-01-25 16:00:35 +0100)
78eb410 misc: we have a Discourse community now!  ( Saúl Ibarra Corretgé 2019-01-18 09:33:58 +0100)
4ba6010 Use ES6 export  ( Jesús Leganés-Combarro 2019-01-08 18:58:11 +0100)
3fe886f android: fix warning: 'compile' is obsolete  ( Shahzad Mirza 2018-12-19 17:01:32 +0400)
3acc5c9 ios: add missing requiresMainQueueSetup method  ( YangBo 2018-12-13 22:51:56 +0800)
588c66b doc: libstdc++.tbd -> libc++.tbd  ( Peter Wilmott 2018-11-30 14:53:52 +0000)
dcb7cf8 readme: `const i` cannot be modified inside the loop (react-native-webrtc#516)  ( Divyanshu Negi 2018-11-29 12:42:39 +0530)
39409ff api: fix sLD/sRD to match standard  ( Emmanuel Quentin 2018-11-28 15:26:51 +0100)
2234a8c ios: add missing files to Xcode project  ( Saúl Ibarra Corretgé 2018-10-23 11:12:43 +0200)
22b7ff5 misc: fix typo  ( Saúl Ibarra Corretgé 2018-10-18 13:23:16 +0200)
b7bd438 ios: use the containing view's bounds when size is unknown  ( Saúl Ibarra Corretgé 2018-08-10 11:59:18 +0200)
3964c94 ios: reset video frame size when renderer is detached  ( Saúl Ibarra Corretgé 2018-08-10 11:49:36 +0200)
d40499c ios: add support for a Metal based video renderer 🤘🤘🤘  ( Saúl Ibarra Corretgé 2018-08-09 12:22:53 +0200)
fce687b ios: update WebRTC to M69  ( Saúl Ibarra Corretgé 2018-08-08 13:29:07 +0200)
d068726 android: workaround RN permissions bug  ( Saúl Ibarra Corretgé 2018-10-10 14:33:24 +0200)
3ce5a05 api: refactor permissions and introduce W3C-ish API  ( Saúl Ibarra Corretgé 2018-08-31 12:38:53 +0200)
7871f53 android: prevent crash when checking camera facing mode (react-native-webrtc#37)  ( Saúl Ibarra Corretgé 2018-08-31 17:03:04 +0200)
92e708c android: update WebRTC to fix crash (react-native-webrtc#38)  ( Saúl Ibarra Corretgé 2018-08-31 17:01:14 +0200)
a6d2558 api: implement an equivalent to navigator.mediaDevices  ( Saúl Ibarra Corretgé 2018-08-21 15:15:04 +0200)
e9de029 api: implement Promise APIs only  ( Saúl Ibarra Corretgé 2018-08-16 17:03:27 +0200)
51ee1a7 doc: remove demos from README (react-native-webrtc#528)  ( Saúl Ibarra Corretgé 2018-10-23 07:52:35 +0200)
6322a9b ios: use the containing view's bounds when size is unknown  ( Saúl Ibarra Corretgé 2018-08-10 11:59:18 +0200)
65ed2d1 ios: reset video frame size when renderer is detached  ( Saúl Ibarra Corretgé 2018-08-10 11:49:36 +0200)
9a4f18c ios: add support for a Metal based video renderer 🤘🤘🤘  ( Saúl Ibarra Corretgé 2018-08-09 12:22:53 +0200)
dc268cd ios: update WebRTC to M69  ( Saúl Ibarra Corretgé 2018-08-08 13:29:07 +0200)
e1f05cb android: workaround RN permissions bug  ( Saúl Ibarra Corretgé 2018-10-10 14:33:24 +0200)
be3de15 api: refactor permissions and introduce W3C-ish API  ( Saúl Ibarra Corretgé 2018-08-31 12:38:53 +0200)
071352e doc: updated Android instructions  ( Cristian Conedera 2018-09-05 08:02:22 -0300)
111da88 android: prevent crash when checking camera facing mode (react-native-webrtc#37)  ( Saúl Ibarra Corretgé 2018-08-31 17:03:04 +0200)
bfe959c android: update WebRTC to fix crash (react-native-webrtc#38)  ( Saúl Ibarra Corretgé 2018-08-31 17:01:14 +0200)
048b852 api: implement an equivalent to navigator.mediaDevices  ( Saúl Ibarra Corretgé 2018-08-21 15:15:04 +0200)
eb33174 api: implement Promise APIs only  ( Saúl Ibarra Corretgé 2018-08-16 17:03:27 +0200)
Dimon70007 pushed a commit to Dimon70007/react-native-webrtc that referenced this issue Apr 20, 2022
Dimon70007 pushed a commit to Dimon70007/react-native-webrtc that referenced this issue Apr 20, 2022
Dimon70007 pushed a commit to Dimon70007/react-native-webrtc that referenced this issue Apr 20, 2022
8fa08eb readme: update 1.69.0  ( zxcpoiu 2019-01-31 17:45:23 +0800)
8def7d0 android: add @ReactModule annotation  ( Maxim 2019-01-28 20:26:53 +0200)
7c32ebe ios: allow using custom codec factories  ( Gabriele Mondada 2019-01-07 10:09:18 +0100)
664440b ios: implement remaining RTCConfiguration options  ( Bradley Jokinen 2018-04-19 14:55:47 -0500)
5b9e9f9 android, ios: allow (un)muting remote tracks  ( Jennifer Weber 2019-01-29 21:19:42 +0100)
b420730 doc: mention ejecting on Expo is required  ( Saúl Ibarra Corretgé 2019-01-25 16:00:35 +0100)
78eb410 misc: we have a Discourse community now!  ( Saúl Ibarra Corretgé 2019-01-18 09:33:58 +0100)
4ba6010 Use ES6 export  ( Jesús Leganés-Combarro 2019-01-08 18:58:11 +0100)
3fe886f android: fix warning: 'compile' is obsolete  ( Shahzad Mirza 2018-12-19 17:01:32 +0400)
3acc5c9 ios: add missing requiresMainQueueSetup method  ( YangBo 2018-12-13 22:51:56 +0800)
588c66b doc: libstdc++.tbd -> libc++.tbd  ( Peter Wilmott 2018-11-30 14:53:52 +0000)
dcb7cf8 readme: `const i` cannot be modified inside the loop (react-native-webrtc#516)  ( Divyanshu Negi 2018-11-29 12:42:39 +0530)
39409ff api: fix sLD/sRD to match standard  ( Emmanuel Quentin 2018-11-28 15:26:51 +0100)
2234a8c ios: add missing files to Xcode project  ( Saúl Ibarra Corretgé 2018-10-23 11:12:43 +0200)
22b7ff5 misc: fix typo  ( Saúl Ibarra Corretgé 2018-10-18 13:23:16 +0200)
b7bd438 ios: use the containing view's bounds when size is unknown  ( Saúl Ibarra Corretgé 2018-08-10 11:59:18 +0200)
3964c94 ios: reset video frame size when renderer is detached  ( Saúl Ibarra Corretgé 2018-08-10 11:49:36 +0200)
d40499c ios: add support for a Metal based video renderer 🤘🤘🤘  ( Saúl Ibarra Corretgé 2018-08-09 12:22:53 +0200)
fce687b ios: update WebRTC to M69  ( Saúl Ibarra Corretgé 2018-08-08 13:29:07 +0200)
d068726 android: workaround RN permissions bug  ( Saúl Ibarra Corretgé 2018-10-10 14:33:24 +0200)
3ce5a05 api: refactor permissions and introduce W3C-ish API  ( Saúl Ibarra Corretgé 2018-08-31 12:38:53 +0200)
7871f53 android: prevent crash when checking camera facing mode (react-native-webrtc#37)  ( Saúl Ibarra Corretgé 2018-08-31 17:03:04 +0200)
92e708c android: update WebRTC to fix crash (react-native-webrtc#38)  ( Saúl Ibarra Corretgé 2018-08-31 17:01:14 +0200)
a6d2558 api: implement an equivalent to navigator.mediaDevices  ( Saúl Ibarra Corretgé 2018-08-21 15:15:04 +0200)
e9de029 api: implement Promise APIs only  ( Saúl Ibarra Corretgé 2018-08-16 17:03:27 +0200)
51ee1a7 doc: remove demos from README (react-native-webrtc#528)  ( Saúl Ibarra Corretgé 2018-10-23 07:52:35 +0200)
6322a9b ios: use the containing view's bounds when size is unknown  ( Saúl Ibarra Corretgé 2018-08-10 11:59:18 +0200)
65ed2d1 ios: reset video frame size when renderer is detached  ( Saúl Ibarra Corretgé 2018-08-10 11:49:36 +0200)
9a4f18c ios: add support for a Metal based video renderer 🤘🤘🤘  ( Saúl Ibarra Corretgé 2018-08-09 12:22:53 +0200)
dc268cd ios: update WebRTC to M69  ( Saúl Ibarra Corretgé 2018-08-08 13:29:07 +0200)
e1f05cb android: workaround RN permissions bug  ( Saúl Ibarra Corretgé 2018-10-10 14:33:24 +0200)
be3de15 api: refactor permissions and introduce W3C-ish API  ( Saúl Ibarra Corretgé 2018-08-31 12:38:53 +0200)
071352e doc: updated Android instructions  ( Cristian Conedera 2018-09-05 08:02:22 -0300)
111da88 android: prevent crash when checking camera facing mode (react-native-webrtc#37)  ( Saúl Ibarra Corretgé 2018-08-31 17:03:04 +0200)
bfe959c android: update WebRTC to fix crash (react-native-webrtc#38)  ( Saúl Ibarra Corretgé 2018-08-31 17:01:14 +0200)
048b852 api: implement an equivalent to navigator.mediaDevices  ( Saúl Ibarra Corretgé 2018-08-21 15:15:04 +0200)
eb33174 api: implement Promise APIs only  ( Saúl Ibarra Corretgé 2018-08-16 17:03:27 +0200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants