mediamtx icon indicating copy to clipboard operation
mediamtx copied to clipboard

OBS RTMP connection error - closed (unsupported object type: 9)

Open mapl opened this issue 1 year ago • 3 comments

Which version are you using?

v0.23.7

Which operating system are you using?

  • [ ] Linux amd64 standard
  • [ ] Linux amd64 Docker
  • [ ] Linux arm64 standard
  • [ ] Linux arm64 Docker
  • [ ] Linux arm7 standard
  • [ ] Linux arm7 Docker
  • [ ] Linux arm6 standard
  • [ ] Linux arm6 Docker
  • [x] Windows amd64 standard
  • [ ] Windows amd64 Docker (WSL backend)
  • [ ] macOS amd64 standard
  • [ ] macOS amd64 Docker
  • [ ] Other (please describe)

Describe the issue

Description

Describe how to replicate the issue

Issue: OBS 29.1.3 cannot stream to RTMP Target Localhost

Setup OBS with standard target definiation

Service: Custom... Server: rtmp://localhost Stream key: mystream

Did you attach the server logs?

INF MediaMTX v0.23.7 DEB path manager created INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (U INF [RTMP] listener opened on :1935 INF [HLS] listener opened on :8888 INF [WebRTC] listener opened on :8889 (HTTP) INF [RTMP] [conn 127.0.0.1:6344] opened DEB [path mystream] created DEB [path mystream] destroyed (not in use) INF [RTMP] [conn 127.0.0.1:6344] closed (unsupported object type: 9) INF [RTMP] [conn 127.0.0.1:6345] opened DEB [path mystream] created DEB [path mystream] destroyed (not in use) INF [RTMP] [conn 127.0.0.1:6345] closed (unsupported object type: 9) INF [RTMP] [conn 127.0.0.1:6349] opened DEB [path mystream] created DEB [path mystream] destroyed (not in use) INF [RTMP] [conn 127.0.0.1:6349] closed (unsupported object type: 9) INF [RTMP] [conn 127.0.0.1:6351] opened DEB [path mystream] created DEB [path mystream] destroyed (not in use) INF [RTMP] [conn 127.0.0.1:6351] closed (unsupported object type: 9)

yes / no

Did you attach a network dump?

no

mapl avatar Jul 18 '23 23:07 mapl

Hello, the error "unsupported object type: 9" is related to the audio, not to the video. What are your audio settings?

aler9 avatar Aug 12 '23 12:08 aler9

I wonder if OBS audio encoder was set to CoreAudio AAC (wowza also doesn't like it) rather than FFMpeg AAC? Screenshot 2023-08-22 at 09 23 32

mpisat avatar Aug 22 '23 02:08 mpisat

I tried streaming with OBS, RTMP and the CodeAudio AAC encoder (available on Windows if iTunes is installed) but in my case everything worked perfectly. Please provide the audio settings.

aler9 avatar Oct 22 '23 19:10 aler9

closed since no additional feedback was provided.

aler9 avatar Mar 09 '24 17:03 aler9