webrtc-remote-screen icon indicating copy to clipboard operation
webrtc-remote-screen copied to clipboard

Not able start screen

Open narkhedek3 opened this issue 4 years ago • 4 comments

Error on Browser:

  • Unexpected end of JSON input

Error on server

  • Error: Couldn't find a matching codec

narkhedek3 avatar Sep 24 '20 04:09 narkhedek3

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

imtiyazs avatar Oct 14 '20 05:10 imtiyazs

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

narkhedek3 avatar Oct 14 '20 05:10 narkhedek3

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?

imtiyazs avatar Oct 14 '20 06:10 imtiyazs

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

Heath123 avatar Sep 26 '21 21:09 Heath123