Skip to content

Feature/browser fallback#13

Open
chadnickbok wants to merge 5 commits into
masterfrom
feature/browser_fallback
Open

Feature/browser fallback#13
chadnickbok wants to merge 5 commits into
masterfrom
feature/browser_fallback

Conversation

@chadnickbok

Copy link
Copy Markdown
Collaborator

Add pre draft-8 fallback to support browsers.

OpenSSL Buffered I/O doesn't preserver message boundaries when using the
memory-based BIO. This means that multiple messages can be returned on a
single call to BIO_read, which is incompatible with DTLS and usrsctp.

This patch changes all cross-thread messaging to use GQueue-based
message queues isntead of memory-backed BIO structures.
Removed some copy-pasta for flushing the DTLS outgoing memory bio. Now
its a nice function in one place.

Also removed some old use of the outgoing bio. Now, any time SSL_read or
SSL_write is called, there should be a corresponding call to flush.
Add a draft-8 flag to rtcdc peer connection structures and an internal
tracker of whether the current state is offer or answer.
@chadnickbok chadnickbok force-pushed the feature/browser_fallback branch from 17c672f to 0ace5dd Compare November 30, 2015 04:09
@bryanpaluch

Copy link
Copy Markdown

Any idea if this works with browsers currently? I've been tinkering around a little bit today and I haven't been able to get an on connected to fire off.

@chadnickbok

Copy link
Copy Markdown
Collaborator Author

I don't really have any idea about this project, but I've started my own here: https://github.com/chadnickbok/librtcdcpp

@Globik

Globik commented Feb 4, 2018

Copy link
Copy Markdown

@bryanpaluch hi, no in browsers does not work.
Answer sdp is without a=candidates. Wtf? Any sense to use this lib with no browser support?

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

Successfully merging this pull request may close these issues.

3 participants