jersey/lightning
5
40
Fork
You've already forked lightning
11

Voice Support? #121

Open
opened 2025年10月15日 15:33:37 +02:00 by This-guy-breaks-shit · 3 comments
This-guy-breaks-shit commented 2025年10月15日 15:33:37 +02:00 (Migrated from github.com)
Copy link

Hi All,

Would it be within the scope of this bot to add voice bridge support?

While I currently lack any real understanding of how lightning currently functions, I'm aware of some potential obstacles:

  • It may not be possible to simply plop a whole new major component on top of the existing system without some major overhauls
  • Bandwidth and processing requirements could pose too much demand when hosting lightning for public use (though I guess you could just disable that component for all but selfhost/paid clients via config)

I'm fully expecting that this feature request is out of scope for the project, or at best a "far down the road" kind of thing. Still, the only stupid questions are the ones never asked.

Thanks for reading!

Hi All, Would it be within the scope of this bot to add voice bridge support? While I currently lack any real understanding of how lightning currently functions, I'm aware of some potential obstacles: - It may not be possible to simply plop a whole new major component on top of the existing system without some major overhauls - Bandwidth and processing requirements could pose too much demand when hosting lightning for public use (though I guess you could just disable that component for all but selfhost/paid clients via config) I'm fully expecting that this feature request is out of scope for the project, or at best a "far down the road" kind of thing. Still, the only stupid questions are the ones never asked. Thanks for reading!

hi! voice support would be a pretty big thing to implement, and the resources required would require better hardware than the bot currently requires, but this is something i'm looking to implement in the eventual future. as for how this could be done on my end,

  • discordgo has the dgvoice package which should simplify things
  • guilded will be dead soon, and they never had voice support
  • stoat's new voice support uses livekit, and that seems to have a go package
  • i don't think this is possible with telegram
  • element call seems horrendous but it could be implemented

as for when this could be done, this will be an eventually type of thing, but it'd be pretty cool

hi! voice support would be a pretty big thing to implement, and the resources required would require better hardware than the bot currently requires, but this is something i'm looking to implement in the eventual future. as for how this could be done on my end, - discordgo has the [dgvoice](https://github.com/bwmarrin/dgvoice) package which should simplify things - guilded will be dead soon, and they never had voice support - stoat's new voice support uses livekit, and that seems to have a [go package](https://github.com/livekit/server-sdk-go?tab=readme-ov-file#publishing-audio-from-pcm16-samples) - i don't think this is possible with telegram - element call seems horrendous but it could be implemented as for when this could be done, this will be an eventually type of thing, but it'd be pretty cool
This-guy-breaks-shit commented 2025年10月16日 13:35:43 +02:00 (Migrated from github.com)
Copy link

Hi William, thanks for the fast reply!

This is actually quite a surprise, I wasn't expecting voice support to be possible at all let alone using existing packages (at least for some platforms). It's a shame that Telegram and Element are difficult/not possible, but supporting voice to begin with would be a huge leap.

I don't have boatloads of time on my hands and my Go experience is limited. That said, I do have experience with other C-based languages, so I might create a branch to have a crack at it in my own time (at least for Discord and Stoat). It's entirely likely that this is way out of my depth, but I'll let you know if something comes of it regardless.

Anyway, thanks again for your help. Hopefully I'll end up with something worth contributing.

Hi William, thanks for the fast reply! This is actually quite a surprise, I wasn't expecting voice support to be possible _at all_ let alone using existing packages (at least for some platforms). It's a shame that Telegram and Element are difficult/not possible, but supporting voice to begin with would be a huge leap. I don't have boatloads of time on my hands and my Go experience is limited. That said, I _do_ have experience with other C-based languages, so I might create a branch to have a crack at it in my own time (at least for Discord and Stoat). It's entirely likely that this is way out of my depth, but I'll let you know if something comes of it regardless. Anyway, thanks again for your help. Hopefully I'll end up with something worth contributing.

totally agree that voice support would be a big leap, and i also lack boatloads of time (thanks, school!), so it's nice to see someone taking a stab at this! i'm not too worried about code quality for an initial implementation, since i can always clean it up (削除) instead of doing homework (削除ここまで).

also, element call shouldn't be as painful as i anticipated, since parts are based on livekit, with the usual random matrix insanity added on top

totally agree that voice support would be a big leap, and i also lack boatloads of time (thanks, school!), so it's nice to see someone taking a stab at this! i'm not too worried about code quality for an initial implementation, since i can always clean it up ~~instead of doing homework~~. also, element call shouldn't be as painful as i anticipated, since [parts are based on livekit](https://github.com/element-hq/element-call?tab=readme-ov-file#-overview), with the usual random matrix insanity added on top
Sign in to join this conversation.
No Branch/Tag specified
develop
irc-debug-logging
fluxer-webhooks
mautrix-fork
pluralkit
xmpp
v0.8.9
v0.8.8
v0.8.7
v0.8.6
v0.8.5
v0.8.4
v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.8.0-rc.12
v0.8.0-rc.11
v0.8.0-rc.10
v0.8.0-rc.9
v0.8.0-rc.8
v0.8.0-rc.7
v0.8.0-rc.6
v0.8.0-rc.5
v0.8.0-rc.4
v0.8.0-rc.3
v0.8.0-rc.2
v0.8.0-rc.1
v0.8.0-beta.13
v0.8.0-beta.12
v0.8.0-beta.11
v0.8.0-beta.10
v0.8.0-beta.9
v0.8.0-beta.8
v0.8.0-beta.7
v0.8.0-beta.6
v0.8.0-beta.5
v0.8.0-beta.4
v0.8.0-beta.3
v0.8.0-beta.2
v0.8.0-beta.1
v0.8.0-alpha.13
v0.8.0-alpha.12
v0.8.0-alpha.11
0.8.0-alpha.10
0.8.0-alpha.9
0.8.0-alpha.8
0.8.0-alpha.7
0.8.0-alpha.6
0.8.0-alpha.5
0.8.0-alpha.4
0.8.0-alpha.3
0.8.0-alpha.2
0.8.0-alpha.1
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2a
0.6.2
0.6.1
0.6.0
0.5.8
0.5.7
0.5.6
0.5.5
0.4.13
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
Labels
Clear labels
scope
bolt
anything specific to the hosted product offered as bolt
scope
bridge
anything specific to the bridge application itself
scope
core
anything affecting the main framework
scope
discord
anything specific to the discord plugin
scope
epic
something which requires a large set of changes (new platforms, new types of things to bridge, etc.)
scope
irc
scope
matrix
anything specific to the matrix plugin
scope
osmium
scope
stoat
anything specific to the stoat plugin
scope
telegran
anything specific to the telegram plugin
status
blocked
this is blocked due to something else
status
deferred
status
question
further information is requested or a reproduction is needed
type
breaking
this would change something in a public api
type
bug
Something isn't working
type
build
the docker images and related scripts i think
type
dependencies
dependency-related things
type
documentation
Improvements or additions to documentation
type
enhancement
New feature or request
type
regression
a bug introduced by an update
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jersey/lightning#121
Reference in a new issue
jersey/lightning
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?