Skip to content

Unfortunately, you cannot use RTMPS Stream with AWS IVS Realtime #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PandorasBoxTool2024 opened this issue Jan 22, 2025 · 0 comments

Comments

@PandorasBoxTool2024
Copy link

https://docs.aws.amazon.com/de_de/ivs/latest/RealTimeUserGuide/rt-rtmp-publishing.html
https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html

Publish Using an RTMP Encoder

This example demonstrates how to use OBS Studio; however, you can use any RTMP encoder that meets the IVS media specifications.

Download and install the software: "https://obsproject.com/download.

Click Settings. In the Stream section of the Settings panel, select Custom from the Service dropdown.

For the Server, enter the RTMP or RTMPS endpoint from the stage.

For the Stream Key, enter the streamKey from the ingest configuration.

Configure your video settings as you normally would, with a few restrictions:

IVS real-time streaming supports input up to 720p at 8.5 Mbps. If you exceed either of these limits, your stream will be disconnected.

We recommend setting your Keyframe Interval in the Output panel to 1s or 2s. A low keyframe interval allows video playback to start more quickly for viewers. We also recommend setting CPU Usage Preset to veryfast and Tune to zerolatency, to enable the lowest latency.

Because OBS does not support simulcast, we recommend keeping your bitrate below 2.5 Mbps. This enables viewers on lower-bandwidth connections to watch.

Disable B-frames, as streams with B-frames will be automatically disconnected. Do one of the following:

In x264 options, enter bframes=0 sliced-threads=0.

Set B-frames to 0 if it is an option (e.g., for NVENC).

Note: RTMP streams must include both audio and video tracks, or they will be disconnected.

Select Start Streaming

Important: If your encoder’s maximum bitrate is set to 8.5 Mbps, the publisher occasionally disappears from the session. This is because the maximum bitrate setting is only a target, and encoders occasionally go over the target. To prevent this, set your encoder’s maximum bitrate lower; e.g. to 6 Mbps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant