Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atotto/webrtc-sdp-exchanger

WebRTC Session Description (sdp) exchange service
https://github.com/atotto/webrtc-sdp-exchanger

webrtc

Last synced: 24 days ago
JSON representation

WebRTC Session Description (sdp) exchange service

Awesome Lists containing this project

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..."}}
```