Giter Site home page Giter Site logo

ERR: invalid SDP about mediamtx HOT 5 CLOSED

bluenviron avatar bluenviron commented on May 18, 2024
ERR: invalid SDP

from mediamtx.

Comments (5)

aler9 avatar aler9 commented on May 18, 2024

Hello, thank you very much for providing the dump, that is all i need to fix this bug.
Recently the SDP library was changed to https://github.com/pion/sdp, that is much more supported and shared with my favourite Go WebRTC implementation, but i discovered it supports only SDP with explicit timestamp, ie with a

t=0 0

before the

m=video 0 RTP/AVP/TCP 96

So i'll add it in case it is not present.

from mediamtx.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 18, 2024

I'm glad I could help. Let me know when I can test it and I'll have a go :)

from mediamtx.

aler9 avatar aler9 commented on May 18, 2024

This should be fixed in v0.9.3. Please let me know if it worked.

from mediamtx.

QuantumEntangledAndy avatar QuantumEntangledAndy commented on May 18, 2024

This now suceeds in connecting the publishing client. I am not able to play (from ffplay or vlc) as it crashes with the following:

panic: runtime error: slice bounds out of range [:12846] with capacity 2048

goroutine 8 [running]:
main.(*serverUdpListener).write(...)
	/s/server-udpl.go:96
main.(*program).forwardFrame(0xc00022a070, 0xc000292158, 0x4, 0x0, 0x0, 0xc000300000, 0x322e, 0x80000)
	/s/main.go:525 +0x8e4
main.(*program).run(0xc00022a070)
	/s/main.go:408 +0x1e8
created by main.newProgram
	/s/main.go:264 +0xbb1

Probably a different bug I will search for a similar issue and then if I cannot find it open a new issue report

from mediamtx.

github-actions avatar github-actions commented on May 18, 2024

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

from mediamtx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.