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

Request: Signaling and expanded code examples #1

Open
draum opened this issue Feb 12, 2021 · 2 comments
Open

Request: Signaling and expanded code examples #1

draum opened this issue Feb 12, 2021 · 2 comments

Comments

@draum
Copy link

draum commented Feb 12, 2021

The libdatachannel fits a project I'm working on right now perfectly and I've got a number of C++ clients working together. I'd like to connect Unity3D clients with it and this plugin fits, it's awesome work and builds perfectly. I can see how to use the various APIs once I get everything connected up, but I'm struggling with the signaling and connection implementation and making that initial connection on the Unity3D side.

Is there any chance a more expanded example for using the datachannel-unity plugin will be coming?

@hanseuljun
Copy link
Owner

I'll try to come up with an example that works with the copy-paste example of libdatachannel (https://github.com/paullouisageneau/libdatachannel/tree/master/examples/copy-paste) soon.

@hanseuljun
Copy link
Owner

hanseuljun commented Feb 16, 2021

The example added (not finished yet) is supposed to work as the replacement of offerer.cpp at https://github.com/paullouisageneau/libdatachannel/tree/master/examples/copy-paste. In other words, in the way you run offerer and answerer, you should be able to run the example here with the answerer at the libdatachannel repository. It is not signaling based on a server but a manual copy-pasting of the SDP message, so the copy-paster being a human signaling server.

Sorry about not really finishing to make the example... After meeting a few deadlines, I'll come back...

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

2 participants