zoukankan      html  css  js  c++  java
  • kurento搭建以及运行kurento-hello-world

    搭建环境的系统是ubuntu

    1.kurento服务器搭建

    运行如下脚本即可完成安装

    #!/bin/bash
    echo "deb http://ubuntu.kurento.org trusty kms6" | sudo tee /etc/apt/sources.list.d/kurento.list
    wget -O - http://ubuntu.kurento.org/kurento.gpg.key | sudo apt-key add -
    sudo apt-get update
    sudo apt-get install kurento-media-server-6.0

    2.运行kurento服务器

    #!/bin/bash
    sudo service kurento-media-server-6.0 start
    #sudo service kurento-media-server-6.0 stop

    3.安装nodejs和bower

    #!/bin/bash
    curl -sL https://deb.nodesource.com/setup | sudo bash -
    sudo apt-get install -y nodejs
    sudo npm install -g bower

    4.下载DEMO代码以及运行

    #!/bin/bash
    sudo service kurento-media-server-6.0 stop
    sudo service kurento-media-server-6.0 start
    git clone https://github.com/Kurento/kurento-tutorial-node.git
    cd kurento-tutorial-node/kurento-hello-world
    git checkout 6.6.0
    npm install
    npm start

    运行完后就可以在chrome浏览器里面打开链接了例如ubuntu的IP是192.168.2.133

    就可以用浏览器打开https://192.168.2.133:8443可以获取到如下内容了

  • 相关阅读:
    hdu 3996
    poj 3189
    poj 2391
    zoj 3165
    【Visual Studio】
    httpwebrequest Winform 上传图片
    [MVC] win7 下 配置 IIS 问题
    win7 下 升级 vs2008
    [Visual Studio 2010] NET 4.0 WinForm无法引用System.Web.dll的解决方法
    [XML] XML
  • 原文地址:https://www.cnblogs.com/yuandaozhe/p/6068486.html
Copyright © 2011-2022 走看看