Giter Club home page Giter Club logo

grpc-over-webrtc's People

Contributors

dependabot[bot] avatar jsmouret 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

grpc-over-webrtc's Issues

Proto gen fails.

Are you using protoc-gen-go from https://github.com/golang/protobuf/tree/master/protoc-gen-go by any chance ?
last update in 14 May, 2020

With the golang and grpc reorg, the new ones are:

cd $(LIB_PB_REPO_FSPATH)/protobuf-go/cmd/protoc-gen-go && go install .
cd $(LIB_GRPC_REPO_FSPATH)/grpc-go/cmd/protoc-gen-go-grpc && go install .

I am using the new ones and on your code it fails:

cd /Users/apple/workspace/go/src/github.com/jsmouret/grpc-over-webrtc/server && chmod +x *.sh 
cd /Users/apple/workspace/go/src/github.com/jsmouret/grpc-over-webrtc/server && ./proto.sh
2020/07/15 14:15:21 WARNING: Missing 'go_package' option in "signaling/signaling.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC
2020/07/15 14:15:21 WARNING: Missing 'go_package' option in "grtc/grtc.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC
2020/07/15 14:15:21 WARNING: Missing 'go_package' option in "echo/echo.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC
sed: 1: "protos/echo/echo.pb.go": extra characters at the end of p command
make: *** [proto] Error 1
➜  jsmouret_grpc-over-webrtc git:(master) ✗ which protoc-gen-go
/Users/apple/workspace/go/bin/protoc-gen-go

WebrtcClientBase class errors

  • I clone the repo
  • cd client & yarn
  • yarn start
  • i get errors

Class 'WebRtcClientBase' incorrectly implements class 'AbstractClientBase'. Did you mean to extend 'AbstractClientBase' and inherit its members as a subclass? Property 'thenableCall' is missing in type 'WebRtcClientBase' but required in type 'AbstractClientBase'.ts(2720)

QuickFix offers add in WebRtcClientBase below code

thenableCall<REQ, RESP>(method: string, request: REQ, metadata: Metadata, methodDescriptor: MethodDescriptor<REQ, RESP>): Promise<RESP> {
	throw new Error("Method not implemented.")
	 }

rpcCall and serverStreaming functions have return error

Property 'removeListener' is missing in type 'WebRtcClientStream<Request, Response>' but required in type 'ClientReadableStream<Response>'.ts(2741) index.d.ts(49, 5): 'removeListener' is declared here.

Type 'WebRtcClientStream<Request, Response>' is not assignable to type 'ClientReadableStream<Response>'.ts(2322)

why webrtc connected echo not reply?

I use the client-improbable and server programs to test, but when I use webrtc connect, the Web UI message does not echo, and the webrtc peer has been created and connected. Using grpc-web connection can work normally. I want to transfer large files for this package, such as https://github.com/duysmile/grpc-upload-file , how to add and modify?, I found a pilot project github.com/viarobotics/gotutils

Signature of Register…Server in generated files

Hey @jsmouret, cool stuff!

Sorry if I'm overlooking something obvious, but in your repo, the generated function signatures, e. g., in https://github.com/jsmouret/grpc-over-webrtc/blob/master/server/protos/echo/echo.pb.go#L595, expect an interface { RegisterService(*grpc.ServiceDesc, interface{}) }. When I try to generate code, the same function expects a *grpc.Server, which of course isn't helpful if I want to pass a WebRTC proxy instead. Did you change the generated file by hand, or am I missing something obvious in the generator options?

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.