Code Monkey home page Code Monkey logo

pjsip-audio-stream's Introduction

pjsip-audio-stream

基于pjsip的简单音频通话

运行

mac端直接运行app可能权限不够,需要在偏好设置-安全和隐私中允许运行,启动的时候记得给麦克风权限

10.14.5以上系统需要按住control键在点击应用,在弹出菜单中选择打开

组成

  • AudioStream:基于pjsip封装的音频推流/拉流客户端
  • MediaServer:简单的UDP服务器,用于转发音频流

AudioStream客户端可以向指定地址发送RTP音频数据包(G711(PCMU)),同时接收播放指定端口上到来的RTP音频数据包。

  • 本地端口和远程端口设置为同一个,远程ip地址设置为127.0.0.1本地回环地址,则自身推拉流(采集本地麦克风音频并发送到扬声器播放)
  • 局域网不同终端指定IP即可互相推拉流
  • 外网借助MediaServer可实现跨局域网推拉流

架构

pjsip-audio-stream's People

Contributors

barry-ran avatar

Watchers

 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.