Skip to content

About ~9s start-up delay on any player with streaming via RTMP server #1918

Description

@Nephys222

Observed behavior

I utilized example app to stream to RTMP server that that uses Oven Media Engine to serve ll-hls. After I see "connection/handshake" successful on logs from streaming iOS device I try to play the ll-hls on https://demo.ovenplayer.com/ I get 2-3 retries with error before starting to play the stream.

I even set all required low-latency preferences on videoSettings on Example app:

stream.videoSettings = VideoCodecSettings( videoSize: .init(width: 1280, height: 720), profileLevel: kVTProfileLevel_H264_Baseline_AutoLevel as String, // Baseline = no B-frames bitRate: 2_500_000, maxKeyFrameIntervalDuration: 1, scalingMode: .trim, bitRateMode: .constant, allowFrameReordering: false, isHardwareEncoderEnabled: true )

Expected behavior

When I stream from OBS (Open Broadcaster Software) to the same RTMP server the stream starts instantly on https://demo.ovenplayer.com/ without any retries and lag.

To Reproduce

  1. Set RTMP Url and stream name
  2. Start broadcasting on Example app
  3. Try to play streamed ll-hls on https://demo.ovenplayer.com/

Version

Latest:
2.2.5: Support Xcode26.4

Smartphone info.

  • Device: iPhone 17
  • OS: iOS 26.5

Additional context

Screenshots

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions