Coder Social home page Coder Social logo

lynckia / licode Goto Github PK

View Code? Open in Web Editor NEW
3.1K 234.0 1.0K 26.1 MB

Open Source Communication Provider based on WebRTC and Cloud technologies

Home Page: http://lynckia.com/licode

License: MIT License

Shell 1.24% CMake 0.33% C++ 56.95% C 0.22% Python 0.42% JavaScript 40.34% HTML 0.11% Ruby 0.09% Dockerfile 0.03% EJS 0.26%
webrtc licode

licode's People

Contributors

arri98 avatar btamayo avatar byronclark avatar dependabot[bot] avatar dkrax avatar equod avatar fantasy4z avatar fran-rg avatar izemize avatar j4y avatar jasonxia163 avatar jcague avatar jnoring-hv avatar johzzy avatar kekkokk avatar kevynb avatar lidedongsn avatar lodoyun avatar luoshaohua avatar mark3141 avatar mkhahani avatar nachoaguadoc avatar quanjiedeng avatar simonemazzoni avatar thehunmonkgroup avatar trisfald avatar vpoddubchak avatar yannistseng avatar yuanchao0310 avatar zevarito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

licode's Issues

Tests are not working in Travis

When Travis runs a test, it ends with:

Running front-end tests
{ [Error: Command failed: ] killed: false, code: 1, signal: null }
info: Testacular server started at http://localhost:9876/
info (launcher): Starting browser .travis/chrome-start.sh
debug (launcher): Creating temp dir at /tmp/testacular-60857050
debug (launcher): .travis/chrome-start.sh http://localhost:9876/?id=60857050
debug (watcher): Resolved files:
    /home/travis/build/ging/licode/node_modules/testacular/adapter/lib/jasmine.js
    /home/travis/build/ging/licode/node_modules/testacular/adapter/jasmine.js
    /home/travis/build/ging/licode/extras/basic_example/public/erizo.js
    /home/travis/build/ging/licode/test/nuve-test.js
warn (launcher): .travis/chrome-start.sh have not captured in 10000 ms, killing.
debug (launcher): Cleaning temp dir /tmp/testacular-60857050
info (launcher): Trying to start .travis/chrome-start.sh again.
debug (launcher): Creating temp dir at /tmp/testacular-60857050
debug (launcher): .travis/chrome-start.sh http://localhost:9876/?id=60857050
warn (launcher): .travis/chrome-start.sh have not captured in 10000 ms, killing.
debug (launcher): Cleaning temp dir /tmp/testacular-60857050
info (launcher): Trying to start .travis/chrome-start.sh again.
debug (launcher): Creating temp dir at /tmp/testacular-60857050
debug (launcher): .travis/chrome-start.sh http://localhost:9876/?id=60857050
warn (launcher): .travis/chrome-start.sh have not captured in 10000 ms, killing.
debug: .travis/chrome-start.sh failed to capture, aborting the run.
info: Disconnecting all browsers
debug: Waiting for child processes to finish
debug (launcher): Cleaning temp dir /tmp/testacular-60857050

Build and installs are OK, but it fails on launching tests.

Recording set path for saving files

How do I set where the files will be saved?

Is there a event on the server side when a recording is stopped or the stream that are being recorded go away?

Thanks

Dennis

Master build fail new ubuntu 32-bit installing

Hi I did try to build the new master on a new vps and got this error when running installErizo.sh

Any way?
Need more logs?

gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory /home/licode/erizoAPI/build' CXX(target) Release/obj.target/addon/addon.o CXX(target) Release/obj.target/addon/WebRtcConnection.o ../WebRtcConnection.cc: In static member function ‘static v8::Handle<v8::Value> WebRtcConnection::New(const v8::Arguments&)’: ../WebRtcConnection.cc:48:8: error: redeclaration of ‘bool a’ ../WebRtcConnection.cc:40:8: error: ‘bool a’ previously declared here ../WebRtcConnection.cc:49:8: error: redeclaration of ‘bool v’ ../WebRtcConnection.cc:41:8: error: ‘bool v’ previously declared here make: *** [Release/obj.target/addon/WebRtcConnection.o] Error 1 make: Leaving directory/home/licode/erizoAPI/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.9.3-x86-linode52
gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/licode/erizoAPI
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
Installing erizoController...
[erizo_controller] Installing node_modules for erizo_controller

Thanks for the help!

This is a very cool project and very nice to see it move all the new stuff to master!

(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.

Any one more getting this?

tail -f erizoController.log
at Connection.reconnect (/home/licode/node_modules/amqp/amqp.js:1049:8)
at null._onTimeout (/home/licode/node_modules/amqp/amqp.js:886:16)
at Timer.listOnTimeout as ontimeout
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Connection.EventEmitter.addListener (events.js:160:15)
at Connection.connect (/home/licode/node_modules/amqp/amqp.js:1083:8)
at Connection.reconnect (/home/licode/node_modules/amqp/amqp.js:1049:8)
at null._onTimeout (/home/licode/node_modules/amqp/amqp.js:886:16)
at Timer.listOnTimeout as ontimeout

Basic exemple doesn't work

Hello, i just discover this project and i'm trying to use it but i've got a problem.

I'm on Mac OS X Mountain Lion and i have follow instructions until step 8, then i have got some errors:

capture decran 2013-11-06 a 23 37 19

Then i checked my console and i saw that:

capture decran 2013-11-06 a 23 37 35

If anyone can solve my problem it will be cool !

node-gyp failing

Hi,

I am installing the media branch on ubuntu and get this error from node-gyp

make: Entering directory /home/licode/erizoAPI/build' CXX(target) Release/obj.target/addon/addon.o CXX(target) Release/obj.target/addon/WebRtcConnection.o CXX(target) Release/obj.target/addon/OneToManyProcessor.o CXX(target) Release/obj.target/addon/ExternalInput.o ../ExternalInput.cc:1:0: warning: "BUILDING_NODE_EXTENSION" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition CXX(target) Release/obj.target/addon/ExternalOutput.o ../ExternalOutput.cc:1:0: warning: "BUILDING_NODE_EXTENSION" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition CXX(target) Release/obj.target/addon/OneToManyTranscoder.o ../OneToManyTranscoder.cc:1:0: warning: "BUILDING_NODE_EXTENSION" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition ../OneToManyTranscoder.cc: In static member function ‘static v8::Handle<v8::Value> OneToManyTranscoder::addSubscriber(const v8::Arguments&)’: ../OneToManyTranscoder.cc:91:21: warning: unused variable ‘ms’ [-Wunused-variable] SOLINK_MODULE(target) Release/obj.target/addon.node /usr/bin/ld: cannot find -lerizo collect2: ld returned 1 exit status make: *** [Release/obj.target/addon.node] Error 1 make: Leaving directory/home/licode/erizoAPI/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.9.3-x86_64-linode33
gyp ERR! command "node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/licode/erizoAPI
gyp ERR! node -v v0.10.20
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok

Error on the Erizo code about the NiceConnection creation.

In the init() function of NiceConnection.cpp file, the "loop_" variable is created with NULL as the context parameter as the following.
loop_ = g_main_loop_new(NULL, FALSE);

This will leads to that the all agents will be created with the same context and the first agent will handle all the data from network under multi-thread environment.

our proposal fixing is that:
loop_ = g_main_loop_new(g_main_context_new(), FALSE);

You may refer the the multi-thread sample code in libnice code.

Feature Request: reset function on Stream and Video

If the video is in a popup and is then docked, the video will freeze.

I have found a workaround with the following reset function(s):

In Enrizo.Stream

that.reset = function () {
    if (that.player !== undefined) {
        that.player.reset();
    }
};

In Enrizo.VideoPlayer

that.reset = function () {
    that.video.src = that.stream_url;
};

@Gissues:{"order":50,"status":"notstarted"}

Add support to Bowser

Users should be able to connect to Lynckia from Bowser app, in both Android and iOS platforms.

Publish and subscribe additional stream URLs (rtsp, rtp, rtmp, ...)

Lynckia should be able to subscribe to additional stream URLs with different protocols, such as rtsp:// or rtp://, rtmp://, etc.

From the JavaScript API we should be able to execute the next command:

var stream = Erizo.Stream({video:true, audio: true, data:false, url:"rtsp://url/path/to/video"})

Curl in installUbuntuDeps.sh

There is no curl in sudo apt-get install block in installUbuntuDeps. But while installing openssl in install_openssl func curl is needed.It makes impossible to build liberizo.so without curl.

Please add curl to apt-get install block

Branch: cleanup

Add socket.io to basic_example throw error

There has been some problem when i add socket.io to basic_example.

events.js:72
        throw er; // Unhandled 'error' event
              ^
TypeError: Cannot read property 'key' of null

And i add these code:

var socket = require("socket.io");

....................

io = socket.listen(server);
io.sockets.on('connection', function(client) {
  console.log('Client connected...');
}) 

Allow to connect clients outside the browser using Node.js

Lynckia should allow connections from other Node.js applications.

Applications should be able to to send data or want to publish and subscribe additional streams (issue #2). The idea is to manage data, video and audio streams directly from server applications.

CreateToken with accented username

if the username is setted to an accented name, then the CreateToken function fails with:

[Auth] Wrong credentials
Error: 401 Unauthorized

As I see the problem will be somewhere in the calculateClientSignature function at nuve/nuveAPI/auth/mauthParser.js.

Add support for more RTCP packets

WebRTC now supports different RTCP packets, following the RTP/SAVPF profile:

  • Temporary Maximum Media Stream Bit Rate Request
  • Semantic Loss Tolerance
  • Temporal-spatial trade-off request
  • Rapid Synchronisation
  • Client-to-Mixer Audio Level
  • Mixer-to-Client Audio Level

ice-pwd is null

Looking at a response sdp from a test installation running the latest commit (b014a1e) I see a null ice-pwd in the response sdp:
a=ice-pwd:(null)

I suppose chrome happily accepts the string "(null)" as ice-pwd, streams still work.

Adding 'recording' flag for creating a new chat room in Nuve

There are some webRTC sample codes on the Internet use javascript to record the local stream because there isn't real 'streaming server' among WebRTC peers. But, this Licode project does have the streaming server unit, so the recording function should be triggered from the server side.

For instance, on the nuve side we create a room with the 'recording' flag enabled (e.g.: nuve.createRoom(name='my_sweet_room', recording=True)), and every published stream in this chat room will be always recorded. If there is a special case like recording different streams on a case-by-case basis, then we can use current javascript method to start and stop recording the published streams. But I don't think this is common.

erizoController.js service crashes when the second stream is being recorded

Everything seems fine when there is only stream is being recorded, but when there is another user connecting into the room and starts recording his own stream, the erizoController.js crashes with the core dump. Please check the log shown as below.

2013-10-30T21:16:54.343Z - info: Initialized logger
2013-10-30T21:16:54.439Z - info: Exchange rpcExchange is open
2013-10-30T21:16:54.442Z - info: ClientQueue amq.gen-wUsX3hLK5XStz2lB-cg1KJ is open
2013-10-30T21:16:54.490Z - info: Queue erizoController_4 is open
2013-10-30T21:17:34.301Z - info: Socket connect  gB0BbOcfs1HoOgu_Oer4
2013-10-30T21:17:34.349Z - info: OK, Valid token
2013-10-30T21:17:43.923Z - info: Adding publisher peer_id  62457649619318540
2013-10-30 17:17:43,924  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:43,949  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:43,950  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:44,133  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:44,159  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:44,176  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30T21:17:44.250Z - info: Sending message to gB0BbOcfs1HoOgu_Oer4 in room  52716799850779306a000004
2013-10-30T21:17:44.253Z - info: erizoController.js: Starting recorder streamID 62457649619318540 url /tmp/recording62457649619318540.mkv
2013-10-30T21:17:44.253Z - info: Adding ExternalOutput to 62457649619318540 url /tmp/recording62457649619318540.mkv
2013-10-30 17:17:44,253  - DEBUG: media.ExternalOutput - Created ExternalOutput to /tmp/recording62457649619318540.mkv
2013-10-30 17:17:44,255  - DEBUG: media.ExternalOutput - Initialized successfully
2013-10-30T21:17:44.255Z - info: erizoController.js: Recorder Started
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Init Context
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Found Codec libvpx
2013-10-30 17:17:46,196  - DEBUG: media.ExternalOutput - Initing context with fps: 7
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - Init audio context
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - Found Audio Codec pcm_mulaw
2013-10-30 17:17:46,197  - DEBUG: media.ExternalOutput - AVFORMAT CONFIGURED
2013-10-30 17:17:46,198  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:17:50,216  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:17:54,217  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30T21:17:58.073Z - info: Socket connect  HEmqrrUV8H70aSJ8Oer5
2013-10-30T21:17:58.115Z - info: OK, Valid token
2013-10-30 17:17:58,237  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30T21:17:58.311Z - info: Adding subscriber from  HEmqrrUV8H70aSJ8Oer5 to  62457649619318540
2013-10-30 17:17:58,311  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:58,313  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30T21:17:58.313Z - info: Adding publisher peer_id  65151041350327430
2013-10-30 17:17:58,313  - WARN: WebRtcConnection - WebRtcConnection constructor stunserver  stunPort 0 minPort 0 maxPort 0

2013-10-30 17:17:58,314  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,315  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,315  - INFO: NiceConnection - candidate_gathering done with 2 candidates
2013-10-30 17:17:58,918  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:58,922  - WARN: dtls.SSL - error in SSLv3 read server hello A
2013-10-30 17:17:58,927  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:58,930  - WARN: dtls.SSL - error in SSLv3 read finished A
2013-10-30 17:17:58,934  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30 17:17:58,938  - INFO: WebRtcConnection - Ready to send and receive media
2013-10-30T21:17:59.015Z - info: Sending message to gB0BbOcfs1HoOgu_Oer4 in room  52716799850779306a000004
2013-10-30T21:17:59.015Z - info: Sending message to HEmqrrUV8H70aSJ8Oer5 in room  52716799850779306a000004
2013-10-30T21:17:59.018Z - info: erizoController.js: Starting recorder streamID 65151041350327430 url /tmp/recording65151041350327430.mkv
2013-10-30T21:17:59.018Z - info: Adding ExternalOutput to 65151041350327430 url /tmp/recording65151041350327430.mkv
2013-10-30 17:17:59,018  - DEBUG: media.ExternalOutput - Created ExternalOutput to /tmp/recording65151041350327430.mkv
2013-10-30 17:17:59,018  - DEBUG: media.ExternalOutput - Initialized successfully
2013-10-30T21:17:59.018Z - info: erizoController.js: Recorder Started
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Init Context
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Found Codec libvpx
2013-10-30 17:18:02,011  - DEBUG: media.ExternalOutput - Initing context with fps: 6
2013-10-30 17:18:02,012  - DEBUG: media.ExternalOutput - Init audio context
2013-10-30 17:18:02,012  - DEBUG: media.ExternalOutput - Found Audio Codec pcm_mulaw
2013-10-30 17:18:02,013  - DEBUG: media.ExternalOutput - AVFORMAT CONFIGURED
2013-10-30 17:18:02,013  - DEBUG: media.ExternalOutput - Sending FIR
2013-10-30 17:18:02,243  - DEBUG: media.ExternalOutput - Sending FIR
node: /usr/include/boost/thread/pthread/mutex.hpp:61: void boost::mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed.
Aborted (core dumped)

Starting mongodb fails

This(screenshot) is what happens what I run installNuve.sh , i am just trying to get the example to work on a fresh copy of ubuntu.
screen shot 2013-11-05 at 16 01 19

Missing information in getRoom example from Server API documentation

The answer from getRoom needs to be parsed before using it like in the example from the documentation:

N.API.getRoom(roomId, function(room) {
  console.log('Room name: ', room.name):
}, errorCallback);

Should be something like this:

N.API.getRoom(roomId, function(room) {
  var room= JSON.parse(room);

  console.log('Room name: ', room.name):
}, errorCallback);

Problems with nuvedb setup, mongo installation appears to fail

Hi everyone, I'm very excited to try lynckia! :)

Unfortunately I'm having some problems with the setup. The mongo setup fails, and therefore the examples fail.

The environment is Ubuntu Server 12.0.4 64bit, amazon ec2 instance:

ubuntu@<ip address>:~/src$ uname -r
3.2.0-36-virtual

Here is the installation output, from "installErizo" and forward:

https://gist.github.com/robertjd/04f6d163385fd24da0e2

Posting here in the hopes that someone has an insight into the problem. I'll post back if I find the problem myself.

Best,
Robert

BasicExample not working

I've installed licode with success, but when I try to use BasicExample I could only see my local stream.
I looked at the code and it seems that it shouldn't work like this. When localStream is initialized, it should connect to the room; this action raises room-connected event, that it should publish my local stream and subscribe to other streams; when a stream is subscribed it should create a new div containing the video, but it doesn't appear.
I noticed something strange: /getUsers/:room is always empty (obiously I used room id I've taken from /getRooms/).

Video Conference Example it seems not working (http://lynckia.com/licode/client-api.html#examples). I tried to create a new HTML file containing this code in my BasicExample, I get a video/audio sharing request, I accept it, then nothing happens, but I can see this error in my Firefox console: SyntaxError: JSON.parse: unexpected character erizo.js:137

Slow Stream initialization?

Has anyone profiled the different components in the initialization process?

It takes maybe ten seconds for a new person to connect, even when doing audio only.

Is most of this synchronization related?

nuve

Calling N.API.getUsers multiple times returns different userlists, without actually adding or removing users during this operation. The implementation is similar to the one in the tutorial. Have you noticed this behavior ?

Publish a standalone erizo package to NPM

Really impressed with the Licode suite of tech. I would ideally love to see erizo published to npm as a standalone module as I think a lot of people would be interested in what you are providing (the code C++ code plus node API).

Happy to take a look at the work involved in getting it to NPM if that helps.

Cheers,
Damon.

Recording not working

From Firefox JS Console:

[23:53:02.850] SyntaxError: JSON.parse: unexpected end of data @ http://frafra.ch:3001/erizo.js:137
--
[23:53:37.339] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"
[23:53:37.340] TypeError: a.socket.emit is not a function @ http://frafra.ch:3001/erizo.js:137
[23:53:38.975] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"
[23:53:38.976] TypeError: a.socket.emit is not a function @ http://frafra.ch:3001/erizo.js:137
--
[23:54:29.260] "DEBUG: " "Start Recording /tmp/recordingundefined.mkv"

Error while initializing the example

Hi,
i followed all the steps mentioned on http://lynckia.com/install.html , i am trying it on Ubuntu 12.10 , i am getting the following error when i am trying to initialize the basic example.

$/initBasicExample.sh
undefined:1

^
SyntaxError: Unexpected token E
at Object.parse (native)
at /home/satyag/lynckia/extras/basic_example/basicServer.js:47:22
at [object Object].onreadystatechange (/home/satyag/lynckia/extras/basic_example/nuve.js:29:116)
at /home/satyag/lynckia/extras/basic_example/nuve.js:13:520
at [object Object].handleError (/home/satyag/lynckia/extras/basic_example/nuve.js:13:114)
at ClientRequest. (/home/satyag/lynckia/extras/basic_example/nuve.js:10:288)
at ClientRequest.emit (events.js:67:17)
at Socket.socketOnEnd as onend
at TCP.onread (net.js:389:26)

erizo: SRTP-NOTFOUND

Ubuntu 12.04 LTS 64 bit up-to-date, fresh installation.
Installation method: http://lynckia.com/licode/install.html

Result: toogle button doesn't work

Log:

$ ./licode/scripts/initBasicExample.sh
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
ServiceID and Key are required!!
151.66.60.206 - - [Mon, 21 Oct 2013 17:41:55 GMT] "GET / HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
151.66.60.206 - - [Mon, 21 Oct 2013 17:41:55 GMT] "GET /script.js HTTP/1.1" 304 - "http://frafra.ch:3001/" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
151.66.60.206 - - [Mon, 21 Oct 2013 17:41:55 GMT] "GET /erizo.js HTTP/1.1" 200 76937 "http://frafra.ch:3001/" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
ServiceID and Key are required!!
151.66.60.206 - - [Mon, 21 Oct 2013 17:41:58 GMT] "POST /createToken/ HTTP/1.1" - - "http://frafra.ch:3001/" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
ServiceID and Key are required!!
151.66.60.206 - - [Mon, 21 Oct 2013 17:44:47 GMT] "POST /createToken/ HTTP/1.1" - - "http://frafra.ch:3001/" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"
ServiceID and Key are required!!
151.66.60.206 - - [Mon, 21 Oct 2013 17:45:55 GMT] "POST /createToken/ HTTP/1.1" - - "http://frafra.ch:3001/" "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0"

Error occurred during installation (but script didn't stop):

CMake Error at erizo/CMakeLists.txt:6 (message):
  lib not found: SRTP-NOTFOUND check README
Call Stack (most recent call first):
  erizo/CMakeLists.txt:41 (test_lib)


-- Configuring incomplete, errors occurred!

CloudHandler does not respond

when i run ./licode/scripts/initLicode.sh , getting CloudHandler does not respond error and because of that example is not working

Exchange rpcExchange is open
ClientQueue amq.gen-QMC2usHKWI1tMDcqD9L_lj is open
Conected to rabbitMQ server
Exchange rpcExchange is open
Queue nuveQueue is open
ClientQueue amq.gen-gGGrMlzWycT0JX53R4xk8R is open
`CloudHandler does not respond`

currentService in media branch currentService: undefined

Hi,

Is there a working example any where of how to use the new

var currentService;

var doInit = function() {
"use strict";
currentService = require('./../licode/nuve/nuveAPI/auth/nuveAuthenticator').service;
};

in the media branch?

createToken stick

i am trying to run the basic example. i found that the /createToken request just is stucks there

do i miss something?

Duplicate defined methods and variables in a couple of js files

ChromeStableStack.js and ChromeCanaryStack.js - setMaxBW is defined twice in each file one after the other.

ChromeCanaryStack.js - var newOffer = sessionDescription.sdp; is define twice one after the other.

VideoPlayer.js -

 if(spec.stream.local)
       that.video.volume = 0;

is defined twice in a row.

"Uncaught TypeMismatchError" in Chrome

There is some error in chrome, but no problem in firefox when i run basic_example

The error is:

Uncaught TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object. erizo.js:114
Erizo.ChromeCanaryStack erizo.js:114
Erizo.Connection erizo.js:125
a.publish erizo.js:140
(anonymous function) script.js:69
a.dispatchEvent erizo.js:93
(anonymous function) erizo.js:138
(anonymous function) erizo.js:137
b.onPacket erizo.js:41
d.onPacket erizo.js:33
b.onPacket erizo.js:22
b.onData erizo.js:21
websocket.onmessage

My chrome version is 31.0.1650.48

Lynckia crashing on Ubuntu 12.04.1 LTS 64 bit server

Lynckia works fine with the Ubuntu 12.04 LTS 32 bit server, but is crashing on Ubuntu 12.04.1 LTS 64 bit server.

The problem is reproducible with the compiled version of libsrtp (source downloaded from CVS at http://srtp.sourceforge.net/srtp.html) and also with libsrtp from apt-get (libsrtp0-dev libsrtp0).

With the compiled version - a seg fault occurs when a second client connects to the room.
With the apt-get version - a malloc error / memory corruption happens when first client connects to the room.

Please see the following link for detailed thread.

https://groups.google.com/forum/?fromgroups=#!topic/lynckia/np6LA41-JSY

createRoom from ruby client fails on cleanup branch

Changes to roomsResource.js on line 35 on the cleanup branch breaks the ruby client when calling createRoom. options is not passed in the body so it fails testing the req.body.options.test property as options is undefined. Not sure if this should be fixed by updating the ruby client to set an empty options in the body of the request (tested and fixes the issue) or to test for options in roomsResource.js before testing for the test property.

2.0.0-p195 :012 > test2.createRoom('roomfail')
 => "TypeError: Cannot read property 'test' of undefined\n    at exports.createRoom
 (/var/lib/licode/nuve/nuveAPI/resource/roomsResource.js:35:25)\n    at callbacks 
(/var/lib/licode/node_modules/express/lib/router/index.js:164:37)\n    at param 
(/var/lib/licode/node_modules/express/lib/router/index.js:138:11)\n    at pass 
(/var/lib/licode/node_modules/express/lib/router/index.js:145:5)\n    at nextRoute 
(/var/lib/licode/node_modules/express/lib/router/index.js:100:7)\n    at callbacks 
(/var/lib/licode/node_modules/express/lib/router/index.js:167:11)\n    at 
/var/lib/licode/nuve/nuveAPI/auth/nuveAuthenticator.js:96:17\n    at 
/var/lib/licode/nuve/nuveAPI/mdb/serviceRegistry.js:27:13\n    at Cursor.nextObject 
(/var/lib/licode/node_modules/mongodb/lib/mongodb/cursor.js:678:5)\n    at 
commandHandler 
(/var/lib/licode/node_modules/mongodb/lib/mongodb/cursor.js:658:14)" 

Craching on stopRecoarding

Hi I have the media brunch up and running. When i use startRecording every thing looks okej but when I try to stop the recording it craches. Any suggestions on what I am missing? Can it be a path problem? Can I get you some more logs or do some tests that helps you solve it?

erizoController.js: Starting recorder streamID 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
Adding ExternalOutput to 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
erizoController.js: Recorder Started
Video SDP done.
Audio SDP done.
Getting SDP
sdp local
v=0
o=- 0 0 IN IP4 127.0.0.1
s=
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS Ai9usryZuV
m=audio 39041 RTP/SAVPF 0 126
c=IN IP4 192.168.131.60
a=rtcp:39041 IN IP4 192.168.131.60
a=candidate:2 1 udp 2013266431 192.168.131.60 39041 typ host generation 0
a=candidate:3 1 udp 2013266431 178.79.183.200 60209 typ host generation 0
a=ice-ufrag:mJ6p
a=ice-pwd:q2KOgeHZYz4ftGonA3JgTG
a=fingerprint:sha-256 3A:C7:F1:17:79:F9:65:15:12:F7:FB:58:5F:D4:D2:75:14:16:18:A8:30:8B:1B:1B:86:5B:85:AD:59:41:97:86
a=sendrecv
a=mid:audio
a=rtcp-mux
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:44444 cname:o/i14u9pJrxRKAsu
a=ssrc:44444 msid:Ai9usryZuV a0
a=ssrc:44444 mslabel:Ai9usryZuV
a=ssrc:44444 label:Ai9usryZuVa0
m=video 39041 RTP/SAVPF 100
c=IN IP4 192.168.131.60
a=rtcp:39041 IN IP4 192.168.131.60
a=candidate:2 1 udp 2013266431 192.168.131.60 39041 typ host generation 0
a=candidate:3 1 udp 2013266431 178.79.183.200 60209 typ host generation 0
a=ice-ufrag:mJ6p
a=ice-pwd:q2KOgeHZYz4ftGonA3JgTG
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=fingerprint:sha-256 3A:C7:F1:17:79:F9:65:15:12:F7:FB:58:5F:D4:D2:75:14:16:18:A8:30:8B:1B:1B:86:5B:85:AD:59:41:97:86
a=sendrecv
a=mid:video
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=ssrc:55543 cname:o/i14u9pJrxRKAsu
a=ssrc:55543 msid:Ai9usryZuV v0
a=ssrc:55543 mslabel:Ai9usryZuV
a=ssrc:55543 label:Ai9usryZuVv0

Created ExternalOutput to /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
externalouput init end
Adding subscriber
From 847264423, 3072807087
Subscribers ssrcs: Audio 847264423, video, 3072807087 from 847264423, 3072807087
adding fbsource************************************************

cb_component_state_changed 1 - 5
Ice Component failed
New NICE state 5 0 1
erizoController.js: Stoping recorder to streamId 21556292753666640 url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
Stopping ExternalOutput: url /home/mcu/recordings/52388a11d1d4eab752000001974c.mkv
error: Forever detected script was killed by signal: SIGSEGV

Thanks

Dennis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.