Giter VIP home page Giter VIP logo

adamyordan / laplace Goto Github PK

View Code? Open in Web Editor NEW
209.0 209.0 26.0 1.59 MB

Laplace is an open-source project to enable screen sharing directly via browser. Based on WebRTC for low latency peer-to-peer connections, and WebSocket implemented in golang for signaling.

Home Page: https://laplace.adamjordan.id/

License: MIT License

Go 37.35% HTML 14.47% Dockerfile 0.86% CSS 3.24% JavaScript 44.08%
peer-to-peer screencast screensharing webrtc webrtc-signaling websocket

laplace's People

Contributors

adamyordan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laplace's Issues

Desktop VNC

Hello.
Thanks for your project.
I am going to control the desktop, but your project is only sharing the screen.
Could you make VNC feature?

Set link fix no random

alright? I have a doubt that I can't solve, how could I leave the fixed link? it's always random, tks

websocket error

2020/06/05 15:57:38 websocketError. websocket: close 1001 (going away)
It shows this message and I don't know how to fix it. Could you help me?

Using with Nginx and subdomains

Just wondering what kind of config I would need to put this behind nginx. I thought I could just do this

server {
    listen 80;

    server_name stream.core0.games;

    return 301 https://stream.core0.games$request_uri;
	
}

 
# HTTPS server
server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name stream.core0.games;
    root /*******************/files/;
    main.html;
    charset utf-8;

    # SSL
    ssl_certificate /******fullchain.pem;
    ssl_certificate_key /*******/privkey.pem;


}

But when I do and attempt to stream I get a websocket error.

Discussion of Minor Feature Request

I really like the work that you have done here. Clean and simple. Thank you for yoru work on this.

I have made couple of changes in my own installation that I would be willing to share back to you.

Basically, I have created the ability for person hosting the shared screen to specify the session name, rather than having this be generated by the server at setup-time. In this way a pre-arranged session name can be used much like a jitsi meet session.

I currently only have implemented this when passed as an URL parameter. For example...

Serve the screen up... Upon opening this link it immediately asks the hosting client to select a window.
https://my.laplace.server:443/?start=my_own_specified_session_string

You already had the back-side of this allowing viewing by URL parameter.
https://my.laplace.server:443/?id=my_own_specified_session_string

As I mentioned, I have not put this capability into the UI at this point, just directly into the URL "start" capability.

Question/feature request: bitrate

Is it possible to change bitrate? It seem application just drops frames or reduce framerate when there's not enough bandwidth to maintain quality, and it's limited to 3 mbit/s no matter what. And also encoding is done on cpu, while there's better h264 nvenc or h265 nvenc available. Also would be nice to set desired video quality (quantization parameter) or just use constant bitrate (10 mbit/s or higher is completely ok)

upd: it seems the app also change volume in ranges even over 100% and too quiet. Can it be disabled?
upd2: there is some noise reduction which makes no sense for pc sound

exec user process caused exec format error

Hello,

When executing the second installation step (sudo docker run .... command, I get the following error:
standard_init_linux.go:211 : exec user process caused "exec format error"

How to solve this problem please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.