Skip to content

v1.9.3 WHIP endpoint returns HTTP 400 Bad Request with modern Chrome/Edge Unified-Plan SDP #6002

Description

@spacesoft321

Which version are you using?

V1.9.3

Which operating system are you using?

Linux amd64 standard

Describe the issue

Environment

  • MediaMTX Version: v1.9.3 Standalone Binary
  • OS: Ubuntu 24.04 LTS behind Nginx Reverse Proxy (aaPanel)
  • Browser: Chrome / Edge (Latest 2026 builds)

Problem Description

When attempting to stream a local webcam directly from a web browser via standard WebRTC WHIP (POST /whip/live/classroom/whip), the server rejects the connection offer with an HTTP 400 Bad Request.

Root Cause

Modern web browsers natively enforce Unified-Plan SDP formatting layouts (including multi-track architectures and specific bundle-group configurations). MediaMTX v1.9.3 expects a legacy Plan-B or highly stripped single-track SDP format layout. When a browser sends modern metadata lines, the v1.9.3 parser gets confused by the payload tracks and drops the connection.

Describe how to replicate the issue

  1. start the MediaMTX
  2. publish with ...
  3. read with ...

MediaMTX configuration

MediaMTX logs

No response

Packet dump

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions