Native code to establish a connection.

75 views
Skip to first unread message

Alex Freed

unread,
Sep 8, 2020, 2:33:38 AM9/8/20
to discuss-webrtc
I'm new to webrtc and the amount of code is a bit overwhelming. What I'm trying to do is to use the native API to establish a connection to a remote peer that is running a standard browser based client. Are there any pointers to documentation available? One could only hope for an example. 

Marián Dvorský

unread,
Sep 12, 2020, 2:48:17 AM9/12/20
to discuss-webrtc

If you're willing to use other, less mature, implementations than libwebrtc and are ok with Go, I found Pion fairly easy to set up (https://pion.ly/).

Alex Freed

unread,
Sep 13, 2020, 3:46:11 PM9/13/20
to discuss-webrtc
Thanks for the pointers, Marian.  I am trying to work with the examples/peerconnection, but unfortunately the client crashes every time after attempting to establish connection. I have mentioned it on this forum a few days ago.
Also I know there used to be an example of the same peer connection client that was supposed to communicate with another peer running in a browser, but it was built against the 2015 version of webrtc that had a considerably different structure.

Suppose I manage to find the reason for the crash. But how can I establish communication with a browser based server?  Diffing that old code with the current one is not very productive :( 

Sean DuBois

unread,
Sep 13, 2020, 11:11:05 PM9/13/20
to discuss...@googlegroups.com
Thanks for mentioning Pion Marian.

Alex if you get frustrated happy to help with any Pion questions :)
Also any parts that you find aren't mature enough I am happy to take
those challenges on!

thanks
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/35e2f799-6aae-4e55-91e3-a3b24948a773n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages