Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
1136 Discussions

for help: mcu server run error by install guide

eric_h_7
Beginner
450 Views

dear CS WebRTC expert

1、software 

      Unbuntu V16.04 / NodeJS V4.2.6 / MongoDB V 2.6.10

      CS webRTC MCU V3.2.1 update

2、hardware

     virtual machine CPU 4 core/RAM 4GB/HD 20GB

3、question

      step 1 : https://software.intel.com/zh-cn/documentation/webrtc-conference-server-guide/mcu-installation 

            a) Deploy Cisco OpenH264* Library

            b) NO Use your own certificate, only for HTTP; 

            c) Launch the MCU server as single node

      step 2: ./bin/init-all.sh [--deps]   

      step 3: ./bin/start-all.sh  and got error

eric@ubuntu:~/Release-v3.2.1$ ./bin/start-all.sh 
starting nuve, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-nuve.stdout
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at Server.listen (net.js:1369:5)
starting cluster-manager, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-cluster-manager.stdout
2016-11-04 15:28:05.157  - INFO: Main - clusterManager up!
starting portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-portal.stdout
2016-11-04 15:28:06.217  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:06.219  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:06.221  - INFO: AMQPER - ClientQueue amq.gen-_LjmJ7tAxxGTtcVe0hIVfg is open
2016-11-04 15:28:06.239  - INFO: Main - portal join cluster ok, with rpcID: portal-b71c893e-1f04917ae6f4
2016-11-04 15:28:06.240  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:06.242  - INFO: AMQPER - Queue portal-b71c893e-1f04917ae6f4 is open
2016-11-04 15:28:06.243  - INFO: Main - bind amqp client ok.
events.js:141
      throw er; // Unhandled 'error' event
      ^
starting session-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-session-agent.stdout
2016-11-04 15:28:07.287  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:07.290  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:07.292  - INFO: AMQPER - ClientQueue amq.gen-bId1CLAFqQlb-hUqL4PQIQ is open
2016-11-04 15:28:07.294  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: session
2016-11-04 15:28:07.304  - INFO: ErizoAgent - session agent join cluster ok.
2016-11-04 15:28:07.310  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:07.320  - INFO: AMQPER - Queue session-5e29b8f9-aae53f495662 is open
2016-11-04 15:28:07.321  - INFO: ErizoAgent - rpcID: session-5e29b8f9-aae53f495662
2016-11-04 15:28:07.494  - INFO: ErizoAgent - message from worker fb8588e9-cf50-1a0a-2555-4fb067e55852 : READY
2016-11-04 15:28:07.494  - INFO: ErizoAgent - message from worker 7bd1721a-453c-472c-aff4-666cbad0418d : READY
starting webrtc-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-webrtc-agent.stdout
2016-11-04 15:28:08.351  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:08.354  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:08.356  - INFO: AMQPER - ClientQueue amq.gen-tqeGaF15UbUM2Tit3Y8uFg is open
2016-11-04 15:28:08.357  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: webrtc
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn nload ENOENT
    at exports._errnoException (util.js:870:11)
starting avstream-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-avstream-agent.stdout
2016-11-04 15:28:09.426  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:09.428  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:09.432  - INFO: AMQPER - ClientQueue amq.gen-WnYUA6YmJAH9gR6o1_4qMA is open
2016-11-04 15:28:09.433  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: avstream
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn nload ENOENT
    at exports._errnoException (util.js:870:11)
starting sip-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-agent.stdout
2016-11-04 15:28:10.483  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:10.486  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:10.488  - INFO: AMQPER - ClientQueue amq.gen-CIy0Srb5B634m-uvoOJOWQ is open
2016-11-04 15:28:10.490  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: sip
2016-11-04 15:28:10.499  - INFO: ErizoAgent - sip agent join cluster ok.
2016-11-04 15:28:10.505  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:10.512  - INFO: AMQPER - Queue sip-f2a022d6-beb432ede44d is open
2016-11-04 15:28:10.513  - INFO: ErizoAgent - rpcID: sip-f2a022d6-beb432ede44d
2016-11-04 15:28:10.717  - INFO: ErizoAgent - message from worker 228b1b75-d3c7-710f-e8b5-9ae00c454e42 : READY
2016-11-04 15:28:10.717  - INFO: ErizoAgent - message from worker 35189f1f-e7ed-a19c-58d6-dc6ac9fceeeb : READY
starting recording-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-recording-agent.stdout
2016-11-04 15:28:11.571  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:11.573  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:11.575  - INFO: AMQPER - ClientQueue amq.gen-2_GkBihpHEppzwUaoHryvA is open
2016-11-04 15:28:11.577  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: recording
2016-11-04 15:28:11.583  - INFO: ErizoAgent - recording agent join cluster ok.
2016-11-04 15:28:11.590  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:11.600  - INFO: AMQPER - Queue recording-e0d2096d-18b0be3812da is open
2016-11-04 15:28:11.601  - INFO: ErizoAgent - rpcID: recording-e0d2096d-18b0be3812da
2016-11-04 15:28:11.884  - INFO: ErizoAgent - message from worker ea01d79d-d3d6-c545-dbed-841b621badf2 : READY
2016-11-04 15:28:11.894  - INFO: ErizoAgent - message from worker 04f968d9-649c-ffe0-4ded-903b30ca5a7a : READY
starting audio-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-audio-agent.stdout
2016-11-04 15:28:12.627  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:12.630  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:12.632  - INFO: AMQPER - ClientQueue amq.gen-erY8jAGwLZZ1oBsA7gzQug is open
2016-11-04 15:28:12.635  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: audio
2016-11-04 15:28:12.645  - INFO: ErizoAgent - audio agent join cluster ok.
2016-11-04 15:28:12.650  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:12.664  - INFO: AMQPER - Queue audio-d75b7324-8cb7a04fa2a8 is open
2016-11-04 15:28:12.665  - INFO: ErizoAgent - rpcID: audio-d75b7324-8cb7a04fa2a8
2016-11-04 15:28:12.850  - INFO: ErizoAgent - message from worker 004a888c-f43c-7f58-0b01-2377ca291d5f : READY
2016-11-04 15:28:12.855  - INFO: ErizoAgent - message from worker d0703834-97b0-5d16-2d2f-5dceaef271ca : READY
starting video-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-video-agent.stdout
2016-11-04 15:28:13.736  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-04 15:28:13.739  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-04 15:28:13.742  - INFO: AMQPER - ClientQueue amq.gen-hJIzMlmFXTSG1kQRLCNItw is open
2016-11-04 15:28:13.744  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: video
2016-11-04 15:28:13.761  - INFO: ErizoAgent - video agent join cluster ok.
2016-11-04 15:28:13.772  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-04 15:28:13.774  - INFO: AMQPER - Queue video-74ceab53-6fcc00cab18e is open
2016-11-04 15:28:13.775  - INFO: ErizoAgent - rpcID: video-74ceab53-6fcc00cab18e
2016-11-04 15:28:14.012  - INFO: ErizoAgent - message from worker 1f3bbe33-b481-09c1-2897-bd9125781db7 : READY
2016-11-04 15:28:14.016  - INFO: ErizoAgent - message from worker d8f125ba-4d9b-c4fb-5b33-581b56b1be4b : READY
starting sip-portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-portal.stdout
2016-11-04 15:28:14.778  - INFO: SipPortal - sip-portal up!
2016-11-04 15:28:14.781  - INFO: SipPortal - Start to get SIP rooms
starting app, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-app.stdout
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3001
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at Server.listen (net.js:1369:5)

 

 

              

0 Kudos
1 Solution
Li__Guangming
New Contributor I
437 Views

可能是node.js没找到文件或路径,包括因为权限问题没找到的情况。

是4.1.2版本吗? 可以sudo安装试试,

View solution in original post

22 Replies
eric_h_7
Beginner
412 Views

有人答复一下吗?

Li__Guangming
New Contributor I
438 Views

可能是node.js没找到文件或路径,包括因为权限问题没找到的情况。

是4.1.2版本吗? 可以sudo安装试试,

View solution in original post

eric_h_7
Beginner
412 Views

@ Li Guangming

使用新环境: centos v7, nodejs v4.2.1, mongodb v2.4.9 

rabbitmq v3.5.6.1,install guide 没有提及,但是需要安装。

在starting  webrtc-agent 和 starting avstream-agent

出现Error: spawn nload ENOENT
       at exports._errnoException (util.js:874:11)

请问我是否还缺少一些依赖组件的安装?

详细log如下

===========================================

./bin/start-all.sh 
starting nuve, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-nuve.stdout
2016-11-07 14:07:14.749  - INFO: RPC - Conected to rabbitMQ server
2016-11-07 14:07:14.753  - INFO: RPC - Exchange rpcExchange is open
2016-11-07 14:07:14.756  - INFO: RPC - Queue nuveQueue is open
2016-11-07 14:07:14.758  - INFO: RPC - ClientQueue amq.gen-xsW8__zN1eeXpgoikgWc8g is open
starting cluster-manager, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-cluster-manager.stdout
2016-11-07 14:07:20.634  - INFO: Main - clusterManager up!
starting portal, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-portal.stdout
2016-11-07 14:07:21.744  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:21.747  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:21.749  - INFO: AMQPER - ClientQueue amq.gen-TTjKkAjDIwFZbYTrQOjVoQ is open
2016-11-07 14:07:21.767  - INFO: Main - portal join cluster ok, with rpcID: portal-72098265-c4c58e85d148
2016-11-07 14:07:21.768  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:21.770  - INFO: AMQPER - Queue portal-72098265-c4c58e85d148 is open
2016-11-07 14:07:21.771  - INFO: Main - bind amqp client ok.
2016-11-07 14:07:21.910  - INFO: Main - start socket.io server ok.
starting session-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-session-agent.stdout
2016-11-07 14:07:22.841  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:22.844  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:22.846  - INFO: AMQPER - ClientQueue amq.gen-Jr56bXN_3w1-qDx6rmm96A is open
2016-11-07 14:07:22.847  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: session
2016-11-07 14:07:22.857  - INFO: ErizoAgent - session agent join cluster ok.
2016-11-07 14:07:22.864  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:22.866  - INFO: AMQPER - Queue session-1bcd1f34-a7feabb98db5 is open
2016-11-07 14:07:22.867  - INFO: ErizoAgent - rpcID: session-1bcd1f34-a7feabb98db5
2016-11-07 14:07:23.061  - INFO: ErizoAgent - message from worker 91048eb4-b13d-fd78-ea52-60f774990a6b : READY
2016-11-07 14:07:23.062  - INFO: ErizoAgent - message from worker dc0e64e1-1b38-1dd1-fd4b-606d82858dad : READY

starting webrtc-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-webrtc-agent.stdout
2016-11-07 14:07:23.970  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:23.972  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:23.974  - INFO: AMQPER - ClientQueue amq.gen-rBNKTCHReDx_tVcDR9msHA is open
2016-11-07 14:07:23.976  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: webrtc
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn nload ENOENT
    at exports._errnoException (util.js:874:11)
starting avstream-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-avstream-agent.stdout
2016-11-07 14:07:25.083  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:25.086  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:25.088  - INFO: AMQPER - ClientQueue amq.gen-9x7oCF4HRc85GI_qalntag is open
2016-11-07 14:07:25.090  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: avstream
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn nload ENOENT
    at exports._errnoException (util.js:874:11)

starting sip-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-sip-agent.stdout
2016-11-07 14:07:26.171  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:26.173  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:26.175  - INFO: AMQPER - ClientQueue amq.gen-YGMP0_cNCTlRmuP96t50ew is open
2016-11-07 14:07:26.177  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: sip
2016-11-07 14:07:26.186  - INFO: ErizoAgent - sip agent join cluster ok.
2016-11-07 14:07:26.193  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:26.196  - INFO: AMQPER - Queue sip-12c2381b-82c391392077 is open
2016-11-07 14:07:26.197  - INFO: ErizoAgent - rpcID: sip-12c2381b-82c391392077
2016-11-07 14:07:26.393  - INFO: ErizoAgent - message from worker a516fc62-6b86-1d03-66df-35cd48633b57 : READY
2016-11-07 14:07:26.393  - INFO: ErizoAgent - message from worker 5d4ceefb-6b84-8c77-02b6-14d94bfdda72 : READY
starting recording-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-recording-agent.stdout
2016-11-07 14:07:27.313  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:27.316  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:27.318  - INFO: AMQPER - ClientQueue amq.gen-wtTbuxT85GrY7n9P67ddlg is open
2016-11-07 14:07:27.320  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: recording
2016-11-07 14:07:27.327  - INFO: ErizoAgent - recording agent join cluster ok.
2016-11-07 14:07:27.335  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:27.338  - INFO: AMQPER - Queue recording-a2f8d874-e6ada7e22e92 is open
2016-11-07 14:07:27.338  - INFO: ErizoAgent - rpcID: recording-a2f8d874-e6ada7e22e92
2016-11-07 14:07:27.651  - INFO: ErizoAgent - message from worker 1cec0238-4c05-08c2-e446-3c7c24154faa : READY
2016-11-07 14:07:27.653  - INFO: ErizoAgent - message from worker c0f916e8-7cc7-0dcf-ab46-bfe0e15ebf2d : READY
starting audio-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-audio-agent.stdout
2016-11-07 14:07:28.408  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:28.411  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:28.413  - INFO: AMQPER - ClientQueue amq.gen-TCxiPqcy2NhYJErqGPS-Sg is open
2016-11-07 14:07:28.415  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: audio
2016-11-07 14:07:28.423  - INFO: ErizoAgent - audio agent join cluster ok.
2016-11-07 14:07:28.429  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:28.432  - INFO: AMQPER - Queue audio-eb85a8d8-dd9bc90d2e8d is open
2016-11-07 14:07:28.433  - INFO: ErizoAgent - rpcID: audio-eb85a8d8-dd9bc90d2e8d
2016-11-07 14:07:28.626  - INFO: ErizoAgent - message from worker eec9c2fa-651d-961a-b6fd-f80108c5e6e1 : READY
2016-11-07 14:07:28.626  - INFO: ErizoAgent - message from worker c5e6f9a2-c60d-ec43-0d46-1914423fb7f8 : READY
starting video-agent, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-video-agent.stdout
Setting LIBVA_DRIVERS_PATH...
to /home/eric/intelCSsetup/Release-v3.2.1/video_agent/lib/dri
2016-11-07 14:07:29.495  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-07 14:07:29.497  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-07 14:07:29.500  - INFO: AMQPER - ClientQueue amq.gen-TLpJknay9YnL5bT-q0qLcQ is open
2016-11-07 14:07:29.502  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: video
2016-11-07 14:07:29.518  - INFO: ErizoAgent - video agent join cluster ok.
2016-11-07 14:07:29.527  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-07 14:07:29.529  - INFO: AMQPER - Queue video-1809e97c-41e4e8341078 is open
2016-11-07 14:07:29.530  - INFO: ErizoAgent - rpcID: video-1809e97c-41e4e8341078
2016-11-07 14:07:29.754  - INFO: ErizoAgent - message from worker ca555add-b0a0-bdbf-f2a9-aed1869061f8 : READY
2016-11-07 14:07:29.754  - INFO: ErizoAgent - message from worker 23726b84-5478-3924-7cb5-237ed673a12d : READY
starting sip-portal, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-sip-portal.stdout
2016-11-07 14:07:30.594  - INFO: SipPortal - sip-portal up!
2016-11-07 14:07:30.597  - INFO: SipPortal - Start to get SIP rooms
starting app, stdout -> /home/eric/intelCSsetup/Release-v3.2.1/logs/woogeen-app.stdout
1 rooms in this service.
MyRoom Id: 581d9938938ee0f29d707be7

Lei_Z_Intel1
Employee
412 Views

./bin/init-all.sh [--deps] 

--deps的中括号要去掉,我们本意是表示可选项,直接运行./bin/init-all.sh --deps,应该是--deps没有正确输入,所以依赖没装。

eric_h_7
Beginner
412 Views

Lei Zhai (Intel) wrote:

./bin/init-all.sh [--deps] 

--deps的中括号要去掉,我们本意是表示可选项,直接运行./bin/init-all.sh --deps,应该是--deps没有正确输入,所以依赖没装。

多谢,就是这个原因。已经安装完成了。

我也现不知如何使用

 

eric_h_7
Beginner
412 Views

如何使用视频通话?

下面是我的4个使用方案,无一成功,请帮忙是哪里出错了?多谢

方案一:

1) 启动mcu server

eric@ubuntu:~/Release-v3.2.1$ sudo ./bin/init-all.sh [--deps]

Initializing...
Initializing mongodb...
MongoDB already running
Initializing nuve configuration...
superServiceId: 581aab9651d1e0daf6576658
superServiceKey: oBOPHBjbCHZZ6YmF3ImuZL+2DAkWxoxIBkWjfLn+B2KkGuViZg5cduQYKfEM9ri106+d+HzbmacuDdO/2oeUSjDo5Ru5raUJ4o8MG6PzKBfmZEgPFaTFqGq7NP7C4DBAgn80hZBVvYle4q7i9OcORY8qczTlGIKFsL0WJ+NF5xY=
sampleServiceId: 581aab9651d1e0daf6576659
sampleServiceKey: vc2EMf2Y4CpXdkCoMh7cP2wga58wcjSJyVi2sWsXvamEKiaRcHyq5IpsO5EJWHizX4o0N6FKbknn0RAyP8xq7f4dgz/Rn6mXjea5LYPKyBHe5rJXHVXPCwfrF5lsr8eZf2nIA7XO62mXqBtAXWoCyWoxi7fi+f0AUJVVFpWSg9A=
Hardware acceleration disbled
eric@ubuntu:~/Release-v3.2.1$ sudo ./bin/start-all.sh 
starting nuve, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-nuve.stdout
2016-11-10 11:26:03.708  - INFO: RPC - Conected to rabbitMQ server
2016-11-10 11:26:03.712  - INFO: RPC - Exchange rpcExchange is open
2016-11-10 11:26:03.715  - INFO: RPC - Queue nuveQueue is open
2016-11-10 11:26:03.717  - INFO: RPC - ClientQueue amq.gen-mmun6ZSqB1s0rB8xfXKWqA is open
starting cluster-manager, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-cluster-manager.stdout
2016-11-10 11:26:09.569  - INFO: Main - clusterManager up!
starting portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-portal.stdout
2016-11-10 11:26:10.631  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:10.634  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:10.636  - INFO: AMQPER - ClientQueue amq.gen-3oOHZJjSnafNo5RhN1R3Ow is open
2016-11-10 11:26:10.653  - INFO: Main - portal join cluster ok, with rpcID: portal-c334217d-c76ab4c2ee38
2016-11-10 11:26:10.654  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:10.656  - INFO: AMQPER - Queue portal-c334217d-c76ab4c2ee38 is open
2016-11-10 11:26:10.657  - INFO: Main - bind amqp client ok.
2016-11-10 11:26:10.786  - INFO: Main - start socket.io server ok.
starting session-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-session-agent.stdout
2016-11-10 11:26:11.701  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:11.704  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:11.705  - INFO: AMQPER - ClientQueue amq.gen-SM6_U_hrspR971CNkLvbDg is open
2016-11-10 11:26:11.707  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: session
2016-11-10 11:26:11.717  - INFO: ErizoAgent - session agent join cluster ok.
2016-11-10 11:26:11.723  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:11.725  - INFO: AMQPER - Queue session-664a7278-1bb43ed68b93 is open
2016-11-10 11:26:11.726  - INFO: ErizoAgent - rpcID: session-664a7278-1bb43ed68b93
2016-11-10 11:26:11.886  - INFO: ErizoAgent - message from worker 3c7391d0-9801-be8b-0b8b-2c265f815b93 : READY
2016-11-10 11:26:11.888  - INFO: ErizoAgent - message from worker a570cf51-6851-31d7-5115-a2bc6b163439 : READY
starting webrtc-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-webrtc-agent.stdout
2016-11-10 11:26:12.783  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:12.786  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:12.788  - INFO: AMQPER - ClientQueue amq.gen-3EzQEiF2JmKNcF2YlHJq0Q is open
2016-11-10 11:26:12.790  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: webrtc
2016-11-10 11:26:12.796  - WARN: LoadCollector - Not ordinary nload data
2016-11-10 11:26:12.799  - INFO: ErizoAgent - webrtc agent join cluster ok.
2016-11-10 11:26:12.805  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:12.807  - INFO: AMQPER - Queue webrtc-8cac817e-3ed7ee02e225 is open
2016-11-10 11:26:12.808  - INFO: ErizoAgent - rpcID: webrtc-8cac817e-3ed7ee02e225
2016-11-10 11:26:12.895  - WARN: LoadCollector - Not ordinary nload data
starting avstream-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-avstream-agent.stdout
2016-11-10 11:26:13.850  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:13.853  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:13.855  - INFO: AMQPER - ClientQueue amq.gen-5y1Rw3mibhMkqOB2U5BfnA is open
2016-11-10 11:26:13.857  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: avstream
2016-11-10 11:26:13.863  - WARN: LoadCollector - Not ordinary nload data
2016-11-10 11:26:13.865  - INFO: ErizoAgent - avstream agent join cluster ok.
2016-11-10 11:26:13.870  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:13.882  - INFO: AMQPER - Queue avstream-6fb9a4a6-4210f02c4d14 is open
2016-11-10 11:26:13.883  - INFO: ErizoAgent - rpcID: avstream-6fb9a4a6-4210f02c4d14
2016-11-10 11:26:13.962  - WARN: LoadCollector - Not ordinary nload data
starting sip-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-agent.stdout
2016-11-10 11:26:14.918  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:14.920  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:14.922  - INFO: AMQPER - ClientQueue amq.gen-m5F1fbQSEFvtpa5MWKa7Ow is open
2016-11-10 11:26:14.924  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: sip
2016-11-10 11:26:14.932  - INFO: ErizoAgent - sip agent join cluster ok.
2016-11-10 11:26:14.937  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:14.940  - INFO: AMQPER - Queue sip-fa9dd6ad-d148d7ffc325 is open
2016-11-10 11:26:14.941  - INFO: ErizoAgent - rpcID: sip-fa9dd6ad-d148d7ffc325
2016-11-10 11:26:15.123  - INFO: ErizoAgent - message from worker 23bfd3e1-9a83-7094-021a-2225ca7a65d0 : READY
2016-11-10 11:26:15.133  - INFO: ErizoAgent - message from worker 3352aeec-bf86-1fb3-c59b-53526f99e0aa : READY
starting recording-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-recording-agent.stdout
2016-11-10 11:26:15.996  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:15.998  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:16.000  - INFO: AMQPER - ClientQueue amq.gen-AKHVjxMqfh-3dEmEMkfjOg is open
2016-11-10 11:26:16.002  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: recording
2016-11-10 11:26:16.007  - INFO: ErizoAgent - recording agent join cluster ok.
2016-11-10 11:26:16.014  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:16.025  - INFO: AMQPER - Queue recording-6d61b8b9-13955ad81e33 is open
2016-11-10 11:26:16.026  - INFO: ErizoAgent - rpcID: recording-6d61b8b9-13955ad81e33
2016-11-10 11:26:16.292  - INFO: ErizoAgent - message from worker 04e893ff-52eb-0bb1-82de-f29bc49ad8ea : READY
2016-11-10 11:26:16.292  - INFO: ErizoAgent - message from worker 66a2a149-5f9a-5c8b-e007-46770ec4039b : READY
starting audio-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-audio-agent.stdout
2016-11-10 11:26:17.058  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:17.061  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:17.063  - INFO: AMQPER - ClientQueue amq.gen-4sRFdBubnvmDHUSxjrzmGA is open
2016-11-10 11:26:17.065  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: audio
2016-11-10 11:26:17.074  - INFO: ErizoAgent - audio agent join cluster ok.
2016-11-10 11:26:17.079  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:17.090  - INFO: AMQPER - Queue audio-07d7527d-a1de5815c38e is open
2016-11-10 11:26:17.091  - INFO: ErizoAgent - rpcID: audio-07d7527d-a1de5815c38e
2016-11-10 11:26:17.276  - INFO: ErizoAgent - message from worker f33ff4de-2e4f-c350-d91d-6e31fac9d6ae : READY
2016-11-10 11:26:17.276  - INFO: ErizoAgent - message from worker 17c27c6c-04f1-27c9-0fba-a8de47b70917 : READY
starting video-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-video-agent.stdout
2016-11-10 11:26:18.131  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:18.134  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:18.136  - INFO: AMQPER - ClientQueue amq.gen-Ia1IVXDtPtt1AIemTa-NSA is open
2016-11-10 11:26:18.138  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: video
2016-11-10 11:26:18.147  - INFO: ErizoAgent - video agent join cluster ok.
2016-11-10 11:26:18.153  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:18.155  - INFO: AMQPER - Queue video-f190343a-8f61300c149a is open
2016-11-10 11:26:18.156  - INFO: ErizoAgent - rpcID: video-f190343a-8f61300c149a
2016-11-10 11:26:18.347  - INFO: ErizoAgent - message from worker ef66cbb9-615a-a8b8-e9d8-b93ab341fee3 : READY
2016-11-10 11:26:18.348  - INFO: ErizoAgent - message from worker 0364d2a3-14f8-0c83-380f-33e36cf623fa : READY
starting sip-portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-portal.stdout
2016-11-10 11:26:19.188  - INFO: SipPortal - sip-portal up!
2016-11-10 11:26:19.190  - INFO: SipPortal - Start to get SIP rooms
starting app, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-app.stdout
1 rooms in this service.
MyRoom Id: 581aabd287a2bfdb1cd0623f
eric@ubuntu:~/Release-v3.2.1$ 

2) 客户端 chrome

输入:http://192.168.2.96:3001/?room=581aabd287a2bfdb1cd0623f

结果显示:start external streaming  rtsp://USER:PASS@localhost:1935/live

 

方案二:

在方案一基础上

MCU端 

1) 根据 /Release-v3.2.1/extras/basic_example/README.md操作

2) npm install

3) 同时修改

N.API.init('581aab9651d1e0daf6576659', 'vc2EMf2Y4CpXdkCoMh7cP2wga58wcjSJyVi2sWsXvamEKiaRcHyq5IpsO5EJWHizX4o0N6FKbknn0RAyP8xq7f4dgz/Rn6mXjea5LYPKyBHe5rJXHVXPCwfrF5lsr8eZf2nIA7XO62mXqBtAXWoCyWoxi7fi+f0AUJVVFpWSg9A=', 'http://localhost:3000/');

4)node basicServer.js 显示3001端口冲突(方案一已经占用了3001端口)。另外因未增加加密证书未测试https 3004方案

eric@ubuntu:~/Release-v3.2.1/extras/basic_example$ node basicServer.js 
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3001
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at Server.listen (net.js:1369:5)
    at EventEmitter.listen (/home/eric/Release-v3.2.1/extras/basic_example/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/home/eric/Release-v3.2.1/extras/basic_example/basicServer.js:161:5)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)

方案三:

不执行方案一步骤,直接执行方案二步骤

结果,chrome中显示方案一 同样的结果

方案四:

启动 MCU server

andriod端 安装 woogeenconference.apk

在configuration中:输入http:192.168.2.96:3001

在main中点connection

结果显示 invalid token

请问:是哪个环境出错了?

 

 

 

 

 

 

 

Bo_M_
Beginner
412 Views

你这几个方案和我试的一样,能想到的都试了,好像都不管用,我还尝试了一下windows版的客户端,不过对windows下的编译不大熟悉,readme文档有些不清楚

eric h. wrote:

如何使用视频通话?

下面是我的4个使用方案,无一成功,请帮忙是哪里出错了?多谢

方案一:

1) 启动mcu server

eric@ubuntu:~/Release-v3.2.1$ sudo ./bin/init-all.sh [--deps]

Initializing...
Initializing mongodb...
MongoDB already running
Initializing nuve configuration...
superServiceId: 581aab9651d1e0daf6576658
superServiceKey: oBOPHBjbCHZZ6YmF3ImuZL+2DAkWxoxIBkWjfLn+B2KkGuViZg5cduQYKfEM9ri106+d+HzbmacuDdO/2oeUSjDo5Ru5raUJ4o8MG6PzKBfmZEgPFaTFqGq7NP7C4DBAgn80hZBVvYle4q7i9OcORY8qczTlGIKFsL0WJ+NF5xY=
sampleServiceId: 581aab9651d1e0daf6576659
sampleServiceKey: vc2EMf2Y4CpXdkCoMh7cP2wga58wcjSJyVi2sWsXvamEKiaRcHyq5IpsO5EJWHizX4o0N6FKbknn0RAyP8xq7f4dgz/Rn6mXjea5LYPKyBHe5rJXHVXPCwfrF5lsr8eZf2nIA7XO62mXqBtAXWoCyWoxi7fi+f0AUJVVFpWSg9A=
Hardware acceleration disbled
eric@ubuntu:~/Release-v3.2.1$ sudo ./bin/start-all.sh 
starting nuve, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-nuve.stdout
2016-11-10 11:26:03.708  - INFO: RPC - Conected to rabbitMQ server
2016-11-10 11:26:03.712  - INFO: RPC - Exchange rpcExchange is open
2016-11-10 11:26:03.715  - INFO: RPC - Queue nuveQueue is open
2016-11-10 11:26:03.717  - INFO: RPC - ClientQueue amq.gen-mmun6ZSqB1s0rB8xfXKWqA is open
starting cluster-manager, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-cluster-manager.stdout
2016-11-10 11:26:09.569  - INFO: Main - clusterManager up!
starting portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-portal.stdout
2016-11-10 11:26:10.631  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:10.634  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:10.636  - INFO: AMQPER - ClientQueue amq.gen-3oOHZJjSnafNo5RhN1R3Ow is open
2016-11-10 11:26:10.653  - INFO: Main - portal join cluster ok, with rpcID: portal-c334217d-c76ab4c2ee38
2016-11-10 11:26:10.654  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:10.656  - INFO: AMQPER - Queue portal-c334217d-c76ab4c2ee38 is open
2016-11-10 11:26:10.657  - INFO: Main - bind amqp client ok.
2016-11-10 11:26:10.786  - INFO: Main - start socket.io server ok.
starting session-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-session-agent.stdout
2016-11-10 11:26:11.701  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:11.704  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:11.705  - INFO: AMQPER - ClientQueue amq.gen-SM6_U_hrspR971CNkLvbDg is open
2016-11-10 11:26:11.707  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: session
2016-11-10 11:26:11.717  - INFO: ErizoAgent - session agent join cluster ok.
2016-11-10 11:26:11.723  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:11.725  - INFO: AMQPER - Queue session-664a7278-1bb43ed68b93 is open
2016-11-10 11:26:11.726  - INFO: ErizoAgent - rpcID: session-664a7278-1bb43ed68b93
2016-11-10 11:26:11.886  - INFO: ErizoAgent - message from worker 3c7391d0-9801-be8b-0b8b-2c265f815b93 : READY
2016-11-10 11:26:11.888  - INFO: ErizoAgent - message from worker a570cf51-6851-31d7-5115-a2bc6b163439 : READY
starting webrtc-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-webrtc-agent.stdout
2016-11-10 11:26:12.783  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:12.786  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:12.788  - INFO: AMQPER - ClientQueue amq.gen-3EzQEiF2JmKNcF2YlHJq0Q is open
2016-11-10 11:26:12.790  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: webrtc
2016-11-10 11:26:12.796  - WARN: LoadCollector - Not ordinary nload data
2016-11-10 11:26:12.799  - INFO: ErizoAgent - webrtc agent join cluster ok.
2016-11-10 11:26:12.805  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:12.807  - INFO: AMQPER - Queue webrtc-8cac817e-3ed7ee02e225 is open
2016-11-10 11:26:12.808  - INFO: ErizoAgent - rpcID: webrtc-8cac817e-3ed7ee02e225
2016-11-10 11:26:12.895  - WARN: LoadCollector - Not ordinary nload data
starting avstream-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-avstream-agent.stdout
2016-11-10 11:26:13.850  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:13.853  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:13.855  - INFO: AMQPER - ClientQueue amq.gen-5y1Rw3mibhMkqOB2U5BfnA is open
2016-11-10 11:26:13.857  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: avstream
2016-11-10 11:26:13.863  - WARN: LoadCollector - Not ordinary nload data
2016-11-10 11:26:13.865  - INFO: ErizoAgent - avstream agent join cluster ok.
2016-11-10 11:26:13.870  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:13.882  - INFO: AMQPER - Queue avstream-6fb9a4a6-4210f02c4d14 is open
2016-11-10 11:26:13.883  - INFO: ErizoAgent - rpcID: avstream-6fb9a4a6-4210f02c4d14
2016-11-10 11:26:13.962  - WARN: LoadCollector - Not ordinary nload data
starting sip-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-agent.stdout
2016-11-10 11:26:14.918  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:14.920  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:14.922  - INFO: AMQPER - ClientQueue amq.gen-m5F1fbQSEFvtpa5MWKa7Ow is open
2016-11-10 11:26:14.924  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: sip
2016-11-10 11:26:14.932  - INFO: ErizoAgent - sip agent join cluster ok.
2016-11-10 11:26:14.937  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:14.940  - INFO: AMQPER - Queue sip-fa9dd6ad-d148d7ffc325 is open
2016-11-10 11:26:14.941  - INFO: ErizoAgent - rpcID: sip-fa9dd6ad-d148d7ffc325
2016-11-10 11:26:15.123  - INFO: ErizoAgent - message from worker 23bfd3e1-9a83-7094-021a-2225ca7a65d0 : READY
2016-11-10 11:26:15.133  - INFO: ErizoAgent - message from worker 3352aeec-bf86-1fb3-c59b-53526f99e0aa : READY
starting recording-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-recording-agent.stdout
2016-11-10 11:26:15.996  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:15.998  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:16.000  - INFO: AMQPER - ClientQueue amq.gen-AKHVjxMqfh-3dEmEMkfjOg is open
2016-11-10 11:26:16.002  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: recording
2016-11-10 11:26:16.007  - INFO: ErizoAgent - recording agent join cluster ok.
2016-11-10 11:26:16.014  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:16.025  - INFO: AMQPER - Queue recording-6d61b8b9-13955ad81e33 is open
2016-11-10 11:26:16.026  - INFO: ErizoAgent - rpcID: recording-6d61b8b9-13955ad81e33
2016-11-10 11:26:16.292  - INFO: ErizoAgent - message from worker 04e893ff-52eb-0bb1-82de-f29bc49ad8ea : READY
2016-11-10 11:26:16.292  - INFO: ErizoAgent - message from worker 66a2a149-5f9a-5c8b-e007-46770ec4039b : READY
starting audio-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-audio-agent.stdout
2016-11-10 11:26:17.058  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:17.061  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:17.063  - INFO: AMQPER - ClientQueue amq.gen-4sRFdBubnvmDHUSxjrzmGA is open
2016-11-10 11:26:17.065  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: audio
2016-11-10 11:26:17.074  - INFO: ErizoAgent - audio agent join cluster ok.
2016-11-10 11:26:17.079  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:17.090  - INFO: AMQPER - Queue audio-07d7527d-a1de5815c38e is open
2016-11-10 11:26:17.091  - INFO: ErizoAgent - rpcID: audio-07d7527d-a1de5815c38e
2016-11-10 11:26:17.276  - INFO: ErizoAgent - message from worker f33ff4de-2e4f-c350-d91d-6e31fac9d6ae : READY
2016-11-10 11:26:17.276  - INFO: ErizoAgent - message from worker 17c27c6c-04f1-27c9-0fba-a8de47b70917 : READY
starting video-agent, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-video-agent.stdout
2016-11-10 11:26:18.131  - INFO: AMQPER - Exchange rpcExchange is open
2016-11-10 11:26:18.134  - INFO: AMQPER - Exchange broadcastExchange is open
2016-11-10 11:26:18.136  - INFO: AMQPER - ClientQueue amq.gen-Ia1IVXDtPtt1AIemTa-NSA is open
2016-11-10 11:26:18.138  - INFO: ErizoAgent - Adding agent to cloudhandler, purpose: video
2016-11-10 11:26:18.147  - INFO: ErizoAgent - video agent join cluster ok.
2016-11-10 11:26:18.153  - INFO: ClusterWorker - Join cluster woogeen-cluster OK.
2016-11-10 11:26:18.155  - INFO: AMQPER - Queue video-f190343a-8f61300c149a is open
2016-11-10 11:26:18.156  - INFO: ErizoAgent - rpcID: video-f190343a-8f61300c149a
2016-11-10 11:26:18.347  - INFO: ErizoAgent - message from worker ef66cbb9-615a-a8b8-e9d8-b93ab341fee3 : READY
2016-11-10 11:26:18.348  - INFO: ErizoAgent - message from worker 0364d2a3-14f8-0c83-380f-33e36cf623fa : READY
starting sip-portal, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-sip-portal.stdout
2016-11-10 11:26:19.188  - INFO: SipPortal - sip-portal up!
2016-11-10 11:26:19.190  - INFO: SipPortal - Start to get SIP rooms
starting app, stdout -> /home/eric/Release-v3.2.1/logs/woogeen-app.stdout
1 rooms in this service.
MyRoom Id: 581aabd287a2bfdb1cd0623f
eric@ubuntu:~/Release-v3.2.1$ 

2) 客户端 chrome

输入:http://192.168.2.96:3001/?room=581aabd287a2bfdb1cd0623f

结果显示:start external streaming  rtsp://USER:PASS@localhost:1935/live

 

方案二:

在方案一基础上

MCU端 

1) 根据 /Release-v3.2.1/extras/basic_example/README.md操作

2) npm install

3) 同时修改

N.API.init('581aab9651d1e0daf6576659', 'vc2EMf2Y4CpXdkCoMh7cP2wga58wcjSJyVi2sWsXvamEKiaRcHyq5IpsO5EJWHizX4o0N6FKbknn0RAyP8xq7f4dgz/Rn6mXjea5LYPKyBHe5rJXHVXPCwfrF5lsr8eZf2nIA7XO62mXqBtAXWoCyWoxi7fi+f0AUJVVFpWSg9A=', 'http://localhost:3000/');

4)node basicServer.js 显示3001端口冲突(方案一已经占用了3001端口)。另外因未增加加密证书未测试https 3004方案

eric@ubuntu:~/Release-v3.2.1/extras/basic_example$ node basicServer.js 
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3001
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Server._listen2 (net.js:1237:14)
    at listen (net.js:1273:10)
    at Server.listen (net.js:1369:5)
    at EventEmitter.listen (/home/eric/Release-v3.2.1/extras/basic_example/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/home/eric/Release-v3.2.1/extras/basic_example/basicServer.js:161:5)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)

方案三:

不执行方案一步骤,直接执行方案二步骤

结果,chrome中显示方案一 同样的结果

方案四:

启动 MCU server

andriod端 安装 woogeenconference.apk

在configuration中:输入http:192.168.2.96:3001

在main中点connection

结果显示 invalid token

请问:是哪个环境出错了?

 

 

 

 

 

 

 

Lei_Z_Intel1
Employee
412 Views

请直接输入 https://192.168.2.96:3004/ 试试,Chrome浏览器禁止http页面访问摄像头,必须要https访问。

正常情况下,由于证书为非受信示例证书,页面会提示你是否继续,确认后页面会提示确认允许打开摄像头进入默认会议室。如果还是不行,请将你的客户端console log发给我们看下是哪里出了问题。

eric_h_7
Beginner
412 Views

Lei Zhai (Intel) wrote:

请直接输入 https://192.168.2.96:3004/ 试试,Chrome浏览器禁止http页面访问摄像头,必须要https访问。

正常情况下,由于证书为非受信示例证书,页面会提示你是否继续,确认后页面会提示确认允许打开摄像头进入默认会议室。如果还是不行,请将你的客户端console log发给我们看下是哪里出了问题。

多谢,pc端chrome可以用了,

但是安装android woogeenconference.apk还是不能用,显示invalid token 

 

Bo_M_
Beginner
412 Views

请问你这个是怎么解决的?

eric h. wrote:

多谢,pc端chrome可以用了,

但是安装android woogeenconference.apk还是不能用,显示invalid token 

 

Lei_Z_Intel1
Employee
412 Views

安卓端忽略非受信证书设置比浏览器复杂,具体请参考Android SDK的User Guide。或者将portal里面的ssl暂时置成false,这样安卓端应用程序就能连上。

eric_h_7
Beginner
412 Views

@Bo M

用方案一,证书用官方提供

PC客户端A(带摄象头) chrome V54,https://xxx.xxx.xxx.xxx:3004,xxx是MCU的IP;出现不安全提示,打开高级设置,继续不安全连接,就可以本地的图象;

再用另一台PC客户端(带摄象头),执行相同动作,A和B之间就可以视频通话了。

Bo_M_
Beginner
412 Views

证书直接用默认的吗?我是自己申请了证书替换的

我的浏览器版本也是v54的,版本 54.0.2840.71 m

eric h. wrote:

@Bo M

用方案一,证书用官方提供

PC客户端A(带摄象头) chrome V54,https://xxx.xxx.xxx.xxx:3004,xxx是MCU的IP;出现不安全提示,打开高级设置,继续不安全连接,就可以本地的图象;

再用另一台PC客户端(带摄象头),执行相同动作,A和B之间就可以视频通话了。

eric_h_7
Beginner
412 Views

Bo M. wrote:

证书直接用默认的吗?我是自己申请了证书替换的

我的浏览器版本也是v54的,版本 54.0.2840.71 m

Quote:

eric h. wrote:

 

@Bo M

用方案一,证书用官方提供

PC客户端A(带摄象头) chrome V54,https://xxx.xxx.xxx.xxx:3004,xxx是MCU的IP;出现不安全提示,打开高级设置,继续不安全连接,就可以本地的图象;

再用另一台PC客户端(带摄象头),执行相同动作,A和B之间就可以视频通话了。

 

 

是的,默认的

Bo_M_
Beginner
412 Views

在请教一下,激活默认证书的时候

Enter passphrase of certificate for sample:

这个输入什么?

eric h. wrote:

Quote:

Bo M. wrote:

 

证书直接用默认的吗?我是自己申请了证书替换的

我的浏览器版本也是v54的,版本 54.0.2840.71 m

Quote:

eric h. wrote:

 

@Bo M

用方案一,证书用官方提供

PC客户端A(带摄象头) chrome V54,https://xxx.xxx.xxx.xxx:3004,xxx是MCU的IP;出现不安全提示,打开高级设置,继续不安全连接,就可以本地的图象;

再用另一台PC客户端(带摄象头),执行相同动作,A和B之间就可以视频通话了。

 

 

 

 

是的,默认的

eric_h_7
Beginner
412 Views

Lei Zhai (Intel) wrote:

安卓端忽略非受信证书设置比浏览器复杂,具体请参考Android SDK的User Guide。或者将portal里面的ssl暂时置成false,这样安卓端应用程序就能连上。

将portal里面的ssl暂时置成false后

我希望PC与andriod视频通话,请问

PC端是用http:xxx.xxx.xxx.xxx:3001连接吗?

andriod的configuration也用http:xxx.xxx.xxx.xxx:3001连接吗?

我试过,是没有显示图象

eric_h_7
Beginner
412 Views

Bo M. wrote:

在请教一下,激活默认证书的时候

Enter passphrase of certificate for sample:

这个输入什么?

Quote:

eric h. wrote:

 

Quote:

Bo M. wrote:

 

证书直接用默认的吗?我是自己申请了证书替换的

我的浏览器版本也是v54的,版本 54.0.2840.71 m

Quote:

eric h. wrote:

 

@Bo M

用方案一,证书用官方提供

PC客户端A(带摄象头) chrome V54,https://xxx.xxx.xxx.xxx:3004,xxx是MCU的IP;出现不安全提示,打开高级设置,继续不安全连接,就可以本地的图象;

再用另一台PC客户端(带摄象头),执行相同动作,A和B之间就可以视频通话了。

 

 

 

 

是的,默认的

 

 

example readme.md的动作我没有执行

 

Bo_M_
Beginner
412 Views

我重新尝试了一下出现视频区域是黑的,看console log有一个error

ERROR: create LocalStream failed: Object {code: 1104, msg: "Not all device requests are satisfied."}

Lei_Z_Intel1
Employee
412 Views

@Eric

ssl变成false后,后端portal的信令服务就是http的。Chrome浏览器还是要用https://xxxx:3004访问,不过浏览器的右上角会出现一个盾牌一样的图标,提示安全风险。请点击盾牌图标后,如果确认继续,点击加载非安全脚本,这样页面就会重新刷新获取摄像头。

安卓端请继续使用http://xxxx:3001。

其实如果按照我的guide,是可以成功配置Android客户端使用默认自签名证书的从而使用ssl portal服务,当然最好的是使用受信商业证书。

下一个版本我们会为了方便用户使用,增加Android示例程序忽略证书校验的功能。

@Bo

默认证书不需要激活,我们正在分析你提供的log,会尽快在你的问题主题中给予支持。

eric_h_7
Beginner
221 Views

@Lei Zhai

     PC 端 chrome,https://xxxx:3004可以用,有图象

    android端 chrome,http://xxxx:3001也有图象,但是感觉不在同一个room,不能视频通话;

    android端 woogeenconference.apk,configuration设置 http://xxxx:3001,返回invalid token,mcu server portal ssl设置为false; 

     请问:

     1,目前测试在同一个局域网内,android端是否必同时安装woogeenp2p.apk?

     2,android sdk guide是否指如下内容?

          

## Conference Sample

Conference sample sends HTTP post requests to basic example server to fetch the token, then connects to Conference Server. After connecting to the Conference Server, it will be able to publish streams captured from a camera or subscribe streams from remote sides. By default, the sample subscribes mixed stream from conference server.

### SSL/TLS
Basic example server can also accept HTTPS requests, to do this, please don't forget to replace the conference server's certificate with a trusted one. Or if you wouldn't like to use HTTPS/SSL, you should disable the ssl at the server side by changing ```config.erizoController.ssl``` in ```<conference server folder>/etc/woogeen_config.js``` to ```false```.

## P2P Sample

P2P sample connects to PeerServer and then it can start a session with other clients connected to the PeerServer with Intel CS for WebRTC client SDK.

   3. /etc/woogeen_config.js  在mcu server中,没有找到woogeen_config.js 

  

 

Reply