data-channels-detach

command
v3.0.0-...-64aa780 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 6 Imported by: 0

README

data-channels-detach

data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying pion/datachannel. This allows you to interact with the data channel using a more idiomatic API based on the io.ReadWriteCloser interface.

The example mirrors the data-channels example.

Install

export GO111MODULE=on
go get github.com/aultimus/webrtc/v3/examples/data-channels-detach

Usage

The example can be used in the same way as the data-channel example or can be paired with the data-channels-detach-create example. In the latter case; run both example and exchange the offer/answer text by copy-pasting them on the other terminal.

Documentation

Overview

data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying pion/datachannel(https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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