react-native-webrtc-server's People
Forkers
benmidi tribemedia mrcmrc reactjs-alex-alex2006hw mobiletta likefool jcgertig liuchao1986105 esna pbojinov p1x3l af83 h1net greentornado taltultc shangyusu hackur robblovell trillcyborg songoku20 mmolucio mackentoch dwi-lanang tedpark eugenehp josh-miller cppiod welch174 tung1404 ishandutta2007 eplua siwakornsitti oceantear ieschalier engmzizo aman-rohiman maximromanyuk nilportugues yang19930204 kumailhussain kafkaforks 0mkara xtforgame rajaranjan solsetmary yxwandroid jason-lim davidyu37 zicrox gardner geraldsamosir oscoder brithbutter cckc newtondev gilpanal nickproject jedabero devstepbcn jalanvikas chadsmith12 ideaplexus anhtukhtn adamcopley psyzz bsjung pohsiu zhangzhx666 okusnadi olympikesofts chenchi77 marcelolopezb akshat296 lenovo-research minhhaios connorbkirk aymericr sadhr batuhansahan darkangelkid mertkarakas renanpupin ariontechs aarshad-devani nabeel378 developer-teamkoder shraddha-pixel augustine-ugwu mariokris harshvardhan3830react-native-webrtc-server's Issues
SFU implementation
Dear, does this server act as an SFU? if no is there a way to implement is as such? My goal is to relay a stream to multiple viewers, but not cause multiple connections to the streamer's client but rather to a server which relays the stream to the viewers and handle the lot of connection.
Thanks in advance,
Best regards,
Yours,
Bertrand
Deploy with https
I am trying to deploy this react-native-webrtc-server on my VPS with SSL ( https )
I am following the steps below :
- installed node and running server on http://127.0.0.1:8080
- using niginx as reverse proxy and in the niginx server block adding it like this
location / {
proxy_pass http://127.0.0.1:8080;
.
. - accessing website like this https://mywebsite.com
now when I access https://mywebsite.com it is not connected to node server but when i access it like this http://mywebsite.com:8080 it works but without ssl
How are you able to make it work with SSL (https)
Do i need to use https on both reverse proxy( niginx) as well as on node server ( i.e. https://127.0.0.1:8080)?
At present I am using https on niginx reverse proxy but not on node server.
Please give some directions as I can see you have successfully deployed it on your heroku server with https (SSL)
with React js as frontend
Can this be integrated with a front end using React js? or anyone has working example? Cheers
Why even the demo can't send voice / video
Why even https://react-native-webrtc.herokuapp.com/ can't send voice and video data?
And it's used to work well. What's happened here and how to fix it?
Video is not shown
I reference your code to create webrtc web app
Earlier It was working fine. But today When I run the app its not showing video.
I got a warning in console
URL.createObjectURL(stream) has been deprecated. use srcObject instead.
So I looks for its fix and got a solution suggested by many people.
// Don't do this
video.src = URL.createObjectURL(stream);
// Do this
video.srcObject = stream;
After using it warning goes away, but still i am not able to see the local as well as remote video.
Please help me.
Thanks in advance
Error: xhr poll error
I have downloaded this server and working fine.
But when i try to connect Android app to this signaling server.
It gives Error: xhr poll error
Can you please help me to solve this issue.
Note: Related to/Follow up of https://github.com/oney/react-native-webrtc/issues/60
react native webrtc app can't join this sample server
Hello good day Oney-sama, I would like to ask help because your react native webrtc app was successfully connectd to the test server heroku, but when I'm using this sample server I can run it and access/connect thru chrome to chrome but I cannot connect from your android webrtc to sample server... Hope you can give time for my problem. thanks and your android app is very helpful for a newbie like me... Any help also guys?
chat is not wroking
function textRoomPress() {
var text = document.getElementById('textRoomInput').value;
if (text == "") {
alert('Enter something');
} else {
document.getElementById('textRoomInput').value = '';
var content = document.getElementById('textRoomContent');
content.innerHTML = content.innerHTML + '
' + 'Me' + ': ' + text + '
';for (var key in pcPeers) {
var pc = pcPeers[key];
pc.textDataChannel.send(text);
}
}
}
it is not activating this function:
dataChannel.onmessage = function (event) {
console.log("dataChannel.onmessage:", event.data);
var content = document.getElementById('textRoomContent');
content.innerHTML = content.innerHTML + '<p>' + socketId + ': ' + event.data + '</p>';
};
nothing happens
Compare and contrast this with janus?
This is not an issue but I needed a way to ask so I posted here.
I am curious to hear how this compact solution contrasts with the more heavyweight Janus and why someone would use Janus over this when Janus is much more complicated? A few use cases or examples to aid explanation would be great.
Running in IE with webrtc-everywhere
I have downloaded https://github.com/oney/react-native-webrtc-server example. And run the server in node and checked the video calling between 2 machines it was working fine, but only in chrome and firefox.
I wanted to work it in IE and safari also. Hence i used https://github.com/DoubangoTelecom/webrtc-everywhere.
I have Download and install the plugin for Windows and Included adapter.js script in my code.
And replaced document.getElementById("eltId").src = mediaStream; to attachMediaStream(document.getElementById("eltId"), mediaStream);
But still it is not working in IE.
What am i missing?
Am i doing it correctly?
While debugging i can see, in Chrome, it is passing RTCSessionDescription in createOffer method and it has been passed to other machine and displaying the video.
[ In Console it prints RTCSessionDescription {type:offer sdp:<some_value>}
But it IE it is passing ISessionDescription and the object value is empty in console. (Strangely i can see the object value while debug the code in IE)
[In console it prints [object] { } ]
I am very much confused. I am relatively new to scripting hence i might have done very naive mistake too. Please correct me and help me.
I you want i can provide the code samples as well
Regards,
Alex.
how to set up the server
my dear friend,i'm new to this field,and i don't know how to start from the server side.can u give some helps ,some documents or video .i'm sincerely appreciate for your help.
Getting Error .emit is undefined
I cloned the server code and hosted in node.js server when i try to join room getting error .emit is undefined in server side code
var to = io.sockets.connected[data.to];
to.emit('exchange', data);
deploy to different platform
hello, did you deploy this server to windows server with iisnode?
should this open the websocket protocol?
and i want to ask could this server run without the index.html?
thanks in advance.
Signalling server doesn't work with app.
As mentioned in your documentation for react-native-webrtc (shown below).
I have created a new server on heroku and used it as a signaling server for my app. This works fine for browser to browser, but doesn't connect to the app.
Send text on data channel is not working
I've tried to send text message but it does't work correctly. Please check.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.