Skip to content

andersoxie/peerjs-server-eiffel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

peerjs_eiffel_server

More about WebRTC can be read for example at this page: https://www.frozenmountain.com/ultimate-guide-to-webrtc

This is STUN server and an Eiffel version of https://github.com/peers/peerjs-server

Will not be a full implementation, e.g. not with the same felxibility to configure it. At least in a first version.

A first version supports.

  • https only
  • Only authentication with github.
  • One need to give an id from the client.

The server is built and tested with Eiffel version 19.05 at Ubuntu

Update ws.ini to your server configuration

Update github.ini according to the description in the file. In the Eiffel code the callback path is set to login_with_github_callback. If you chose somehting else then update the code and rebuild it.

Start the server and then navigate to https://your.server/chat

Building and executing at Windows 10

Building with Eiffel version 19.05 does not work out of the box. The compiler did not find libssl and libcrypto libraries when linking. Those libraries are delivered as part of Eiffel but the compiler looked at "Eiffel-Installation"\C_library\openssl\spec\win64\bin but they are installed in "Eiffel-Installation"\studio\spec\win64\bin . To circumvent this build problem I copied the files to the folder where the compiler expected them to be.
Then, when running the application, it did not find the corresponding dll's. I circumvented that by copying them from the same folder to the execution folder of the program.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published