webrtc-sdp-exchanger

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 20 Imported by: 0

README

WebRTC Session Description exchange service

Example WebRTC project is here: https://github.com/atotto/mibot/tree/master/webrtc-connector

The following is an example of an exchange using curl.

create offer:

curl https://webrtc-sdp-exchanger.appspot.com/sessions/test -d '{"session_description":{"type":"offer","sdp":"v=0\r\no..."}}'

get offer:

curl https://webrtc-sdp-exchanger.appspot.com/sessions/test/offer
{"session_description":{"type":"offer","sdp":"v=0\r\no..."}}

create answer:

curl https://webrtc-sdp-exchanger.appspot.com/sessions/test -d '{"session_description":{"type":"answer","sdp":"v=0\r\no..."}}'

get answer:

curl https://webrtc-sdp-exchanger.appspot.com/sessions/test/answer
{"session_description":{"type":"answer","sdp":"v=0\r\no..."}}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package apis is a reverse proxy.
Package apis is a reverse proxy.
exchange module

Jump to

Keyboard shortcuts

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