rtc-io / demo-quickconnect Goto Github PK
View Code? Open in Web Editor NEWEXAMPLE: A simple video conferencing example using rtc-quickconnect
Home Page: https://rtc-io.github.io/demo-quickconnect/
EXAMPLE: A simple video conferencing example using rtc-quickconnect
Home Page: https://rtc-io.github.io/demo-quickconnect/
In the event that the url for rendering the page is rendered without the trailing slash (e.g. /room/test
) the primus.js
script include fails. We should be able to handle this case.
https://rtc-io.github.io/demo-quickconnect/#1774224173742274
Uncaught TypeError: kgo(...)(...)(...)(...)(...).on is not a function
at localVideo (bundle.js:66)
at createConference (bundle.js:53)
at Object.2../config.js (bundle.js:89)
at s (bundle.js:1)
at e (bundle.js:1)
at bundle.js:1
/favicon.ico:1 Failed to load resource: the server responded with a status of 404 ()
bundle.js:30558 Uncaught Error: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
at attachToElement (bundle.js:30799)
at module.exports (bundle.js:30832)
at Step.attach.local (bundle.js:30849)
at addKgoTask (bundle.js:30449)
at localVideo (bundle.js:60)
at createConference (bundle.js:53)
at Object.2../config.js (bundle.js:89)
at s (bundle.js:1)
at e (bundle.js:1)
at bundle.js:1
I am very sorry I logged the duplicate issue.. dont have delete option.
Hi,
I have mixed up rtc-screenshare with quickconnect module. and did the following code.
when i call shareVideo() method (one clicking some button on UI) i am capturing the screen and broadcasting. But the problem is, it is not firing the stream:added event on the other side.
can you please give me any clue??
var qConnect = quickconnect(location.href + '../../', {room: room, iceServers: iceServers});
qConnect.createDataChannel('chat');
qConnect.on('stream:added', renderRemote);
qConnect.on('stream:removed', removeRemote);
qConnect.on('channel:opened:chat', function(id, dc) {
qsa('.chat').forEach(tweak('+open'));
dc.onmessage = function(evt) {
if (messages) {
messages.appendChild(crel('li', evt.data));
}
};
channel = dc;
console.log('dc open for peer: ' + id);
});
function shareVideo() {
screenshare.window(function(err, constraints) {
localMedia = media(constraints);
localMedia.render(local);
localMedia.on('capture', function(stream) {
console.log("on capture method");
qConnect.broadcast(stream);
//qConnect.addStream(stream);
});
});
}
tried this from my nexus 5.
At first it just showed No Data received.
I checked the Request Desktop Site option and then it prompted me for Mic and Audio....but it just took a snapshot of me and showed no video.
The connection info in the server log looked the same.
rtc-switchboard writing data to spark scope: +16ms /announce|{"id":"09da1e99-e016-4f55-9e5d-30e887375c8c"}|{"browser":"chrome","browserVersion":31,"id":"09da1e99-e016-4f55-9e5d-30e887375c8c","agent":"[email protected]","room":"main"}
Here is the npm debug, I've never had npm issues on Windows until now, so it's hard to tell if it's because it won't run on windows or because something else is wrong:
npm-debug
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose run-script [ 'prestart', 'start', 'poststart' ]
6 info prestart [email protected]
7 info start [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec start script
10 error [email protected] start: DEBUG=rtc* node server.js
10 error Exit status 1
11 error Failed at the [email protected] start script.
11 error This is most likely a problem with the rtcio-demo-quickconnect package,
11 error not with npm itself.
11 error Tell the author that this fails on your system:
11 error DEBUG=rtc* node server.js
11 error You can get their info via:
11 error npm owner ls rtcio-demo-quickconnect
11 error There is likely additional logging output above.
12 error System Windows_NT 6.1.7601
13 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
14 error cwd C:\Users\AntonVolt\Desktop\MOBILE\demo-quickconnect-master
15 error node -v v0.10.35
16 error npm -v 1.4.28
17 error code ELIFECYCLE
18 verbose exit [ 1, true ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.