Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/atotto/webrtc-sdp-exchanger
- Owner: atotto
- License: mit
- Created: 2019-07-23T15:15:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T03:45:17.000Z (over 1 year ago)
- Last Synced: 2024-06-20T11:10:53.510Z (5 months ago)
- Topics: webrtc
- Language: Go
- Homepage:
- Size: 205 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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..."}}
```