Code Monkey home page Code Monkey logo

srsrtcandroidclient's Introduction

SrsRtcAndroidClient

基于SRS视频服务器实现简易音视频通话系统——Android客户端

系统组成

功能特点

  • 支持用户注册、登录
  • 支持私聊
  • 支持群聊
  • 支持聊天室
  • 支持私聊、群聊中继续添加会见人

运行效果

用户注册 用户登录
用户注册 用户登录
私聊
私聊
群聊
群聊
聊天室
聊天室

Getting Started

依赖环境

  • srs-rtc-server用户注册、信令服务,部署步骤详见srs-rtc-server
  • SRS视频服务器,部署步骤详见SRS-Wiki,启用WebRTC。

配置文件修改

修改Constant.kt

  • 信令服务相关参数
/**
 * 信令服务相关
 */
object SIGNAL {
    /**
     * 信令服务地址
     * ip或域名
     */
    const val SERVER_ADDRESS = "192.168.10.185"

    /**
     * api请求http端口
     */
    const val API_HTTP_PORT = 9898

    /**
     * api请求https端口
     */
    const val API_HTTPS_PORT = 9899

    /**
     * socket.io http端口
     */
    const val SOCKET_IO_IP_HTTP_PORT = 9998

    /**
     * socket.io https端口
     */
    const val SOCKET_IO_IP_HTTPS_PORT = 9999
}
  • SRS服务相关参数
/**
 * SRS服务相关
 */
object SRS {
    /**
     * SRS服务地址
     * ip或域名
     */
    const val SERVER_ADDRESS = "192.168.10.185"

    /**
     * SRS服务api请求http端口
     */
    const val API_HTTP_PORT = 1985

    /**
     * SRS服务api请求https端口
     */
    const val API_HTTPS_PORT = 1990
}

实现流程解析

作者其他的开源项目

srsrtcandroidclient's People

Contributors

shenbengit 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

Watchers

 avatar  avatar  avatar  avatar

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.