rviscarra / webrtc-remote-screen Goto Github PK
View Code? Open in Web Editor NEWStream a remote desktop screen directly to your browser
License: MIT License
Stream a remote desktop screen directly to your browser
License: MIT License
I've had success running this on Linux but I'd like to build it on my Windows machine also.
Has anyone had any success with getting this wonderful project working on Windows?
I will try my best to figure it out and post back here if I manage to get it working.
I would like to see support for sharing a monitor from Windows, if possible. Well, I know it's possible, I just don't know if it's possible using Go.
OBS can do what I want, but the latency is absolutely insane. I'm looking for more of a realtime solution, so I can show a group of people something on my screen while I talk to them on the phone using only a web browser on the viewing side, AND provide a very low latency viewing experience.
Assume that a valid HTTPS certificate is used on the web server of the Windows machine that shares it's screen.
Can't stream when press on start
Hi,
is it possible to implement a simple datachannel to get click from browser to server?
I know there's a similar issue already
#2
but in my case , I didn't get the binary .
chang@hq39:~/git/webrtc-remote-screen$ make
go build -tags "h264enc" cmd/agent.go
# github.com/gen2brain/x264-go/x264c
/usr/bin/ld: x264c_analyse_linux_amd64.syso: in function `x264_analyse_init_costs':
analyse.c:(.text+0x27115): undefined reference to `__log2f_finite'
collect2: error: ld returned 1 exit status
# github.com/gen2brain/x264-go/x264c
In file included from ../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/x264c_cgo.go:31:0:
../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c: In function ‘x264_encoder_open_152’:
../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=]
snprintf( level, sizeof(level), "%d.%d", h->sps->i_level_idc/10, h->sps->i_level_idc%10 );
^~~~~~~
../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-214748364, 214748364]
../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-9, 9]
In file included from /usr/include/stdio.h:867:0,
from ../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/osdep.h:33,
from ../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/common.h:117,
from ../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/mc.c:27,
from ../../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/x264c_cgo.go:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 14 bytes into a destination of size 4
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:24:agent] 錯誤 2
OS: ubuntu 20.04 x64
GO version : 1.13.8
any suggestions ?
Does this not transmit sound during the capture? I can't seem to get it to work so curious if its me issue or if this is by design.
So I don't see any screens in the dropdown and when I hit start I get the following error:
Unexpected token < in JSON at position 0
I use vp8enc, build on macos.
The same code runs fine on macos, and it prompts "Couldn't find a matching codec" on windows.
I've got this error when build the agent into executable file.
# github.com/gen2brain/x264-go/x264c
In file included from ../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/x264c_cgo.go:31:0:
../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c: In function ‘x264_encoder_open_152’:
../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=]
snprintf( level, sizeof(level), "%d.%d", h->sps->i_level_idc/10, h->sps->i_level_idc%10 );
^~~~~~~
../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-214748364, 214748364]
../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-9, 9]
In file included from /usr/include/stdio.h:862:0,
from ../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/osdep.h:33,
from ../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/common.h:117,
from ../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/external/x264/common/mc.c:27,
from ../go/pkg/mod/github.com/gen2brain/[email protected]/x264c/x264c_cgo.go:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 4 and 14 bytes into a destination of size 4
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
I'm running on linux ubuntu 18.04 and using go 1.12.7. Any idea why i got this error?
Thanks :))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.