rviscarra / webrtc-remote-screen

Stream a remote desktop screen directly to your browser
MIT License
466 stars 72 forks source link

Not able start screen #4

Open narkhedek3 opened 3 years ago

narkhedek3 commented 3 years ago

Error on Browser:

imtiyazs commented 3 years ago

Because you are trying to run the code without specifying any video codec.

Try this go run -tags "h264enc" cmd/agent.go

You can use vp8enc or h264enc

narkhedek3 commented 3 years ago

Try this go run -tags "h264enc" cmd/agent.go

Thank you for your response. I have already tried the above command and it is returning the same error

imtiyazs commented 3 years ago

Try this go run -tags "h264enc" cmd/agent.go

Thank you for your response. I have already tried the above command and it is returning the same error

Are you trying to use data channels?

Heath123 commented 2 years ago

Try this go run -tags "h264enc" cmd/agent.go

Thank you for your response. I have already tried the above command and it is returning the same error

Try go get -u github.com/gen2brain/x264-go