Jump to content
Mumble forums

A little help with GRPC


FanteJr
 Share

Recommended Posts

Hello. I'm trying to create an application in Go, using GRPC. Im not acquainted wih RPCs so I have one question, if possible.

 

The thing here is register a user using only GRPC connection. After adding a user in database (through DatabaseUserRegister function, with name and certificateHash) everything works fine, except the fact in the client that "check" symbol doesn appear. If I reconnect the client, the symbol appears as expected on him.

 

There is a way to ask client to update client as registered directly through GRPC?

 

I hope my english is undertandable and thanks in advance, even if any of you cannot answer me.

Link to comment
Share on other sites

  • Administrators
6 hours ago, FanteJr said:

I'm trying to create an application in Go, using GRPC

Don't. We have just removed gRPC from the Mumble server (will be effective from Mumble version 1.5 onwards). For reasoning and details, see https://github.com/mumble-voip/mumble/pull/5552

 

Instead, I would recommend to use the ZeroC Ice RPC protocol instead.

 

6 hours ago, FanteJr said:

There is a way to ask client to update client as registered directly through GRPC?

I am reasonably sure, that this is currently not possible (neither with gRPC nor with Ice). Th authentication check for a user is (afaik) currently only performed, when that user connects to the server.

Link to comment
Share on other sites

Posted (edited)

Thanks for the answer. Thats sad for me, I really would like to develop exclusively in Golang for many reasons, specially resources eficiency and a good execution flow compared with other languages for me; Ice doesn't support it. I was waiting for more than 2 years for official launch of 1.4 just to use grpc.

 

It seems I'll need to stay with a go client acting like a bot. Dont like that, but will be my only way.

 

Again, thanks for answer me and sorry to disturb with that.

Edited by FanteJr
Link to comment
Share on other sites

  • Administrators
2 hours ago, FanteJr said:

sorry to disturb with that.

Nothing to be sorry for 🙂

 

We might add a revamped gRPC implementation back once we have refactored the general RPC handling the server. Though that is a somewhat big MIGHT at this point /shrug

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...