欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

程序员文章站 2022-07-14 20:38:33
...

1、kms-omni-build Build

1、my operating system operating environment

aaa@qq.com:/home/sandra/kms/kms-omni-build# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

2、test my ice server, it is running ok!

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

2、build kms-omni-build

1、install tools

sudo apt-get update && sudo apt-get install --no-install-recommends --yes \
    build-essential \
    ca-certificates \
    cmake \
    git \
    gnupg

2、add Kurento repository

1、 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83

aaa@qq.com:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83

Executing: /tmp/apt-key-gpghome.4ElJxshZWJ/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 5AFA7A83
Bgpg: key FC8A16625AFA7A83: public key "Openvidu - Kurento TEAM <aaa@qq.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

2、 DISTRO=“bionic” # KMS for Ubuntu 18.04 (Bionic)

aaa@qq.com:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

#KMS for Ubuntu 18.04 (Bionic)

export DISTRO="bionic" 
sudo tee "/etc/apt/sources.list.d/kurento.list" >/dev/null <<EOF
# Kurento Media Server - Nightly packages
deb [arch=amd64] http://ubuntu.openvidu.io/dev $DISTRO kms6
EOF

3、download source code

1、create kms directory

aaa@qq.com:/home/sandra# mkdir kms
aaa@qq.com:/home/sandra# cd kms/

2、down load code

git clone https://github.com/Kurento/kms-omni-build.git
cd kms-omni-build
git submodule update --init --recursive
git submodule update --remote

4、intall dependent libs

sudo apt-get update && sudo apt-get install --no-install-recommends --yes \
    kurento-media-server-dev

7、config the turn server ip

aaa@qq.com:/home/sandra/kms#vim ./kms-omni-build/build-Debug/config/kurento/WebRtcEndpoint.conf.ini

stunServerAddress=210.22.129.139
stunServerPort=3478

6、build and run

export MAKEFLAGS="-j$(nproc)"
./bin/kms-build-run.sh

2、Run Kurento Java Tutorial - kurento-hello-world ,OK!

1、build project

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

2、Set start app arguments

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

3、Running is OK!

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

3 、Run Kurento Java Tutorial - kurento-magic-mirror , But It is Failed!

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

Error message from server: Unexpected error while processing method: /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/persistence.cpp:6628: error: (-2) The node does not represent a user object (unknown type?) in function cvRead
 (Code:-32603, Type:null, Data: null)

4、kurento-magic-mirror console output info,it’s not found exception;

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?

3、So , I Tried to Use KMS Intalled Ubuntu 16.04 of My an Another VM PC Again,Then I Run The Same Kurento Java Tutorial - kurento-magic-mirror, It’s Run Succeed;

Kurento- Running Kurento Java Tutorial - kurento-magic-mirror could not been Succeed, Why?
So, I want to Know What Differrent the KMS I Build from source code on Ubuntu 18.04 and The KMS I installed at Ubuntu16.04 by running command:

sudo apt-get update && sudo apt-get install --yes kurento-media-server

Why it failed running Kurento Java Tutorial - kurento-magic-mirror on my Ubuntu18.04 and my build kms from source code, can some one give me a answer?

相关标签: Kurento Linux