8xFF / atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://8xff.github.io/media-docs/
MIT License
222 stars 18 forks source link

bug: not working with firefox #401

Closed giangndm closed 3 months ago

giangndm commented 3 months ago

Issue Template

Description

Please provide a clear and concise description of the issue.

Steps to Reproduce

  1. Echo example with Firefox
  2. Remote video not shown

Expected Behavior

Remote video should be show

Actual Behavior

Remote video not shown

Screenshots

image

Environment

Additional Information

Add any other relevant information about the issue here.

giangndm commented 3 months ago

Server printed out some errors related to str0m stcp:

2024-07-31T04:33:43.732959Z  WARN sctp_proto::association: [Server] unable to parse SCTP packet unhandled ParamType
2024-07-31T04:33:45.526944Z  WARN sctp_proto::association: [Server] unable to parse SCTP packet raw is too small for error cause
2024-07-31T04:33:46.170086Z  WARN sctp_proto::association: [Server] unable to parse SCTP packet unhandled ParamType

May be the issue from sctp, client cannot send req to server then remote attach not worked

giangndm commented 3 months ago

We fixed with 2 PR:

https://github.com/8xFF/atm0s-media-sdk-ts/pull/18 https://github.com/8xFF/atm0s-media-server/pull/402

The reason is firefox doesn't work with datachannel id 1000, need switched back to 0