Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions nginx-transcoder/nginx-no-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ rtmp {
listen ${RTMP_PORT};
chunk_size 4000;
notify_method get;
# 4K (and larger) H.264 keyframes can exceed nginx-rtmp's 1 MB default
# max_message, which drops the publish with "too big message" before
# ffmpeg ever sees a frame. Raise it well above a realistic keyframe size.
max_message 10M;

application live {
live on;
Expand Down
4 changes: 4 additions & 0 deletions nginx-transcoder/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ rtmp {
listen ${RTMP_PORT};
chunk_size 4000;
notify_method get;
# 4K (and larger) H.264 keyframes can exceed nginx-rtmp's 1 MB default
# max_message, which drops the publish with "too big message" before
# ffmpeg ever sees a frame. Raise it well above a realistic keyframe size.
max_message 10M;

application live {
live on;
Expand Down
Loading