xhs / webrtc-experiments

0 stars 0 forks source link

How to test webrtc experiments #1

Open Globik opened 7 years ago

Globik commented 7 years ago

Excuse me, I look at test_sctp_dtls_ice.c. What is it and how to test it? One need two consoles? For server and client? Is it testing WebRTC datachannel over libnice connectivity plus dtls, right?

xhs commented 7 years ago

Hi @Globik , these are some PoC prototypes I made during the development of librtcdc (https://github.com/xhs/librtcdc). And yes, they are testing WebRTC DataChannel over SCTP over DTLS over libnice connectivity. Usually you will need to open two terminals to test them.

Globik commented 7 years ago

Yes, i have just compiled this test sample. Opened two terminales, for server, for client. My issue that i am coming always to the step of "continues handshaking". It looks like function SSL_is_init_finished(dtls->ssl) always is not equal to 1. Anyway thank you for your nice test samples they give a good idea where to start with that all server side webrtc stack, with all that protocols. And many thanks for librtcdc.so It can be used also on pure C or it is only for cython binding to python experimentally?