Giter Site home page Giter Site logo

webrtc-remote-screen's People

Contributors

heath123 avatar rviscarra 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webrtc-remote-screen's Issues

Port for Windows?

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.

Is it possible to support Windows?

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.

go build failed

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 ?

Not able start screen

Error on Browser:

  • Unexpected end of JSON input

Error on server

  • Error: Couldn't find a matching codec

No Sound

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.

Couldn't find a matching codec

I use vp8enc, build on macos.
The same code runs fine on macos, and it prompts "Couldn't find a matching codec" on windows.

error when go build

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 :))

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.