Skip to content

invalid SDP: sdp: invalid syntax c=IN  #5033

@messiahxu

Description

@messiahxu

Which version are you using?

1.15.1

Which operating system are you using?

Linux amd64 standard

Describe the issue

cam model Uniview IPC2A4L-FW-APF40-V1-DT

[RTSP source] invalid SDP: sdp: invalid syntax c=IN

Describe how to replicate the issue

cam model Uniview IPC2A4L-FW-APF40-V1-DT

[RTSP source] invalid SDP: sdp: invalid syntax c=IN

MediaMTX configuration

logLevel: info
logDestinations: [file]
logFile: /etc/mediamtx/mediamtx.log

readTimeout: 10s
writeTimeout: 10s
writeQueueSize: 4096
udpMaxPayloadSize: 1472

authMethod: internal

authInternalUsers:

  • user: any
    pass:
    ips: []
    permissions:
    • action: publish
      path:
    • action: read
      path:
    • action: playback
      path:
  • user: any
    pass:
    ips: ['127.0.0.1', '::1']
    permissions:
    • action: api
    • action: metrics
    • action: pprof

api: yes
metrics: no
pprof: no
playback: no

rtsp: yes
protocols: [udp, multicast, tcp]
encryption: "no"
rtspAddress: :8554
rtspAuthMethods: [basic]

rtmp: yes
rtmpAddress: :1935
rtmpEncryption: "no"

hls: yes
hlsAddress: :8887
hlsEncryption: no
hlsAllowOrigin: '*'

hlsAlwaysRemux: yes
hlsVariant: lowLatency
hlsSegmentCount: 7
hlsSegmentDuration: 1s
hlsPartDuration: 200ms
hlsSegmentMaxSize: 50M
hlsMuxerCloseAfter: 60s

webrtc: yes
webrtcAddress: :8889
webrtcEncryption: no
webrtcAllowOrigin: '*'
webrtcLocalUDPAddress: :8189

srt: yes
srtAddress: :8890

pathDefaults:
source: publisher
sourceOnDemand: no
sourceOnDemandStartTimeout: 10s
sourceOnDemandCloseAfter: 10s
rtspTransport: automatic #tcp

paths:
D13:
source: rtsp://admin:123456@172.16.116.242:554/video1

MediaMTX logs

2025/09/26 14:19:50 ERR [path D13] [RTSP source] invalid SDP: sdp: invalid syntax c=IN

Network 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