Skip to content

Commit

Permalink
add whep example
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Apr 29, 2023
1 parent 7dcd08e commit 3709869
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Options for the WebRTC stream name:
#### Examples

```sh
./webrtc-streamer rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
./webrtc-streamer -C config.json
```

[![Screenshot](images/snapshot.png)](https://webrtc-streamer-mpromonet.cloud.okteto.net/)
Expand Down Expand Up @@ -228,6 +228,9 @@ Using the webcomponent over google map:

[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/map.html)

## Using WHEP


## Object detection using tensorflow.js

[![Screenshot](images/tensorflow.jpg)](https://webrtc-streamer-mpromonet.cloud.okteto.net/tensorflow.html)
Expand Down
15 changes: 13 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@

The WebRTC signaling is implemented through HTTP requests:

- /api/call : send offer and get answer
- /api/hangup : close a call
# get Ice configuration
- /api/getIceServers : get IceServers configuration used by streamer side

# initiatiate communication as a caller
- /api/call : send offer and get answer
- /api/whep : similar to /api/call using [WHEP](https://www.ietf.org/archive/id/draft-murillo-whep-02.txt)
# initiatiate communication asking to be called
- /api/createOffer : create an offer
- /api/setAnswer : set an answer

# call communication
- /api/hangup : close a call

# Ice notifications
- /api/addIceCandidate : add a candidate
- /api/getIceCandidate : get the list of candidates

Expand Down
2 changes: 1 addition & 1 deletion html

0 comments on commit 3709869

Please sign in to comment.