Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCP Compatibility for Safari, Firefox and Chrome #66

Open
imtiyazs opened this issue May 31, 2020 · 1 comment
Open

RTCP Compatibility for Safari, Firefox and Chrome #66

imtiyazs opened this issue May 31, 2020 · 1 comment

Comments

@imtiyazs
Copy link

imtiyazs commented May 31, 2020

Hey there, I am working on RTCP broadcast (Broadcast demo) and I have come around some observations about compatibility for Chrome, Firefox and Safari. The demo works well on all browsers (Safari, Chrome and Firefox) when it comes to broadcasting. But there are few issues while connecting to broadcast session.

Below are the test results:

  1. Broadcaster: Google Chrome
  • Working Receiver Browser: Chrome
  • Not Working Receiver Browser: Firefox, Safari, Chrome(Android)
  1. Broadcaster: FireFox
  • Working Receiver Browser: none
  • Not Working Receiver Browser: Firefox, Safari, Chrome, Chrome(Android)
  1. Broadcast: Safari
  • Working Receiver Browser: Chrome
  • Not Working Receiver Browser: Firefox, Safari, Chrome(Android)

I am not sure what could be the exact reason but it looks like there is something to do with the SDP capabilities on server end.

Also on Safari while connecting to broadcast, the console throws below error:
OperationError: Failed to set local offer sdp: max-bundle is used but no bundle group found.

I tried changing max-bundle to max-compat and balanced, but does not work.

When I look at RTCP compatibility, all devices support the API as per the MDN documentation and I tried few p2p webRTC examples too. RTCPMulticonnection by Muaz Khan also worked on all devices.

Finally, my question is, does media server go support all platforms for RTCP connection?

@imtiyazs
Copy link
Author

Also I get this issue on server end if I try to connect using Firefox and Safari.

2020/05/31 11:49:08 [Recovery] 2020/05/31 - 11:49:08 panic recovered: runtime error: invalid memory address or nil pointer dereference /usr/local/go/src/runtime/panic.go:212 (0x404ab29) panicmem: panic(memoryError) /usr/local/go/src/runtime/signal_unix.go:695 (0x404a978) sigpanic: panicmem() /Users/imtiyaz/Workspace/pkg/mod/github.com/notedit/[email protected]/dtlsinfo.go:36 (0x47d7f4e) (*DTLSInfo).GetSetup: return d.setup /Users/imtiyaz/Workspace/pkg/mod/github.com/notedit/[email protected]/endpoint.go:60 (0x47d7f83) (*Endpoint).CreateTransport: localDtls = sdp.NewDTLSInfo(remoteSdp.GetDTLS().GetSetup().Reverse(), "sha-256", e.fingerprint) /Users/imtiyaz/Workspace/src/mkcl-streaming/live/server/app/modules/transcoder/rtcp.go:117 (0x47ef854) InitRTCPChannel: transport = endpoint.CreateTransport(offer, nil) /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x47311ca) (*Context).Next: c.handlers[c.index](c) /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:83 (0x47448cf) RecoveryWithWriter.func1: c.Next() /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x47311ca) (*Context).Next: c.handlers[c.index](c) /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 (0x4743a00) LoggerWithConfig.func1: c.Next() /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161 (0x47311ca) (*Context).Next: c.handlers[c.index](c) /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:409 (0x473afa5) (*Engine).handleHTTPRequest: c.Next() /Users/imtiyaz/Workspace/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 (0x473a6bc) (*Engine).ServeHTTP: engine.handleHTTPRequest(c) /usr/local/go/src/net/http/server.go:2807 (0x42e9d72) serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) /usr/local/go/src/net/http/server.go:1895 (0x42e56eb) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) /usr/local/go/src/runtime/asm_amd64.s:1373 (0x4063fb0) goexit: BYTE $0x90 // NOP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant