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

Data channel support #7

Open
paulelsner opened this issue Oct 18, 2023 · 0 comments
Open

Data channel support #7

paulelsner opened this issue Oct 18, 2023 · 0 comments

Comments

@paulelsner
Copy link

Hi,
I tried the latest forked version and basically it looked good.
https://github.com/OpenVidu/mediasoup-sdp-bridge

But it seems like data channels are not supported at all. Tried to hack that in quickly, but seems like the limitation is then in mediasoup-client. the RemoteSDP class doesn't support data channels.
Is this feature planned or any idea how to quickly come around this limitation?

The offer I want to process is
v=0 o=- 5517116905148734918 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 a=extmap-allow-mixed a=msid-semantic: WMS m=application 9 UDP/DTLS/SCTP webrtc-datachannel c=IN IP4 0.0.0.0 a=ice-ufrag:dSCG a=ice-pwd:Ytb4hpMD0XInQhu9wRjyynVH a=ice-options:trickle\r\na=fingerprint:sha-256 07:77:7F:33:4E:5F:C0:ED:84:54:BD:C3:0C:09:3A:BD:6C:62:D7:55:57:44:89:6B:5D:AF:FC:95:26:F2:10:86 a=setup:actpass a=mid:0 a=sctp-port:5000 a=max-message-size:262144

the answer which is created right now is
v=0 o=mediasoup-client 10000 1 IN IP4 0.0.0.0 s=- t=0 0 a=ice-lite a=fingerprint:sha-512 A9:36:B1:9F:18:F3:45:75:65:F6:45:3E:E4:D2:C5:33:C9:51:37:79:E1:01:25:2D:F8:30:E8:8E:35:53:91:B6:9C:D7:0F:2E:71:5D:2A:77:69:B8:E7:86:F9:A4:18:3B:29:04:4C:EF:53:AC:89:EC:6B:8E:76:21:09:38:33:6C a=msid-semantic: WMS * a=group:BUNDLE

And Chrome doesn't like it
Failed to set remote answer sdp: A BUNDLE group contains a MID='' matching no m= section.

Thanks!

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

No branches or pull requests

1 participant