voipwebrtc

package
v0.42.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MPL-2.0 Imports: 8 Imported by: 0

README

Direct VoIP WebRTC client and server

These two processes establish a SIP call whose media uses diago's direct ICE, DTLS-SRTP and RTP stack. Both endpoints play the bundled demonstration audio and create a stereo recording with a fixed name under /tmp.

Start the server:

go run ./examples/voip_webrtc/server

Then start the client:

go run ./examples/voip_webrtc/client

The recordings are written to:

  • /tmp/diago-voip-webrtc-server.wav
  • /tmp/diago-voip-webrtc-client.wav

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlaybackAndRecord

func PlaybackAndRecord(med *diago.DialogWebrtc, recordingPath string) error

PlaybackAndRecord plays the bundled WAV file, records received and sent audio to a stereo WAV, and keeps draining incoming RTP during playback.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址