Skip to content

An application that sends audio through the WebRTC data channel between two peers

Notifications You must be signed in to change notification settings

Uninett/webrtcdatamedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeerAudio - WebRTC data channel audio

This WebRTC system attempts to apply the WebRTC datachannel to transmit uncompressed audio between peer-browsers.

The system attempts to mimic how current music collaboration tools transmit audio over IP-nettworks, i.e. uncompressed and unbuffered. The aim is to achive an audio connection with lower delay (and higher quality) compared to the standard audio channel in WebRTC.

The system

The system consists of erver and client parts.

Server

A node.jo server is implemented to provider "rooms" for peers of clients to meet. socket.io is applied to implement room-support and simple "vanilla" forwarding of messages between room-members are performed.

Currently only two member per room is supported.

Server JavaScript-code is in app.js.

Client

After loading the client page requires "vanilla" selection of a room name (of the user choice). When two clients have join a room, audio may be exchanged.

  • Batch forwarding: A peer may record an audio clip and forward to the other peer. Receiveing peer may play out the clip.
  • Realtime: A peer may initiate a live audiostream

All audio is forwarded across the WebRTC datachannel.

Client JavaScript-code is in js/main.js.

Status

The system is very much under development, and currently not fully implemented.

About

An application that sends audio through the WebRTC data channel between two peers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published