question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error setting property 'streamURL' of RTCVideoView

See original GitHub issue

I just go this set up and started testing it but I am getting this msg any ideas?

[warn][tid:main][RCTUIManager.m:956] Error setting property 'streamURL' of RTCVideoView with tag #65: 
Exception thrown while executing UI block: -[RTCVideoTrack copyWithZone:]: unrecognized selector sent to instance 0x14e051050

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:37 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
camwhitecommented, Jan 29, 2016

Hope this helps @jcgertig

// Import proper components
import WebRTC, {RTCView, RTCMediaStream} from 'react-native-webrtc';

// A method for grabbing the stream 
getLocalStream() {
    let promise = new Promise((resolve, reject) => {
      navigator.getUserMedia({audio: true, video: true, videoType: 'front'}, (stream) => {
        resolve(stream);
      }, (err) => {
        reject(err);
      });
    });
    return promise;
}

componetDidMount() {
  this.getLocalStream().then((stream) => {
    // do something with stream
  });
}

I dispatch my stream into a store via an action once the promise is resolved. Also I don’t render the RTCView unless this.state.localStream != null

0reactions
rbholerajcommented, Apr 5, 2016

@jcgertig yeah i facing same issue … i write up my query on stackoverflow (http://stackoverflow.com/questions/36419884/failed-to-bind-eagldrawable-in-webrct-react-native) please let me know if anybody know about same.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Property 'streamURL' does not exist on type 'IntrinsicAttributes ...
I am getting error red underline for streamURL. how can I fix this?? I want to make app for videocalling, as on the ......
Read more >
Manage Participants Video & Audio Call - Video SDK Docs
Indicates the participant streams quality. Streams, Map of Stream, Returns Video & Audio Streams. Stream Object properties​. Property Name, Type, Description ...
Read more >
Invariant Violation: requireNativeComponent: "RTCVideoView ...
Hello, I am having trouble displaying an incoming video stream in a react-native-webrtc RTCView! The following error keeps coming up: ...
Read more >
Build an Interactive Live Streaming App in Flutter ‍ - Facebook
you have added ah stream URL and stream key ah in. OBS studio. ... setting up your ah camera and and all other...
Read more >
Top 10 Agora Alternatives & Agora Competitors [2023] - Morioh
... days fixing and updating application-side code if device-capture errors occur. ... and customization without the time and expense of building in-house.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found