Skip to content

Commit

Permalink
Doc: Improve rtmp
Browse files Browse the repository at this point in the history
  • Loading branch information
guerinoni committed Apr 8, 2024
1 parent 5b5efa5 commit 0a233ba
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions docusaurus/video/docusaurus/docs/api/streaming/rtmp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,28 @@ print(rtmp_url, stream_key)
The user(s) streaming from the third-party software will show up as regular users in the call.

You can see an example in the [Quickstart](../../streaming/overview/#test-sending-video-via-rtmp-using-obs).

### Streaming into a call with OBS

1. Open OBS and go to `Settings` (CMD + , on macOS).
2. Set the `Stream Type` to `Custom`.
3. Set the `URL` to the `rtmp_url` you got from the API.
4. Set the `Stream Key` to the `stream_key` you got from the API.

<img
src={require('../assets/rtmp_obs_settings.png').default}
style={{ width: '100%' }}
/>

### Streaming into a call with restream.io

1. Go to [restream.io](https://restream.io/) and create an account.
2. For streaming to a custom RTMP server, you need to have a paid account.
3. Add a new channel and select `Custom RTMP`.
4. Set the `Server` to the `rtmp_url` you got from the API.
5. Set the `Stream Key` to the `stream_key` you got from the API.

<img
src={require('../assets/rtmp_restream_settings.png').default}
style={{ width: '50%' }}
/>

0 comments on commit 0a233ba

Please sign in to comment.