protobufs icon indicating copy to clipboard operation
protobufs copied to clipboard

Added audio_permitted to ChannelSettings

Open mc-hamster opened this issue 1 year ago • 3 comments

Audio over meshtastic may not be an elegant experience and this will help ensure that audio was intended by the channel originator. Not expecting this to be a hard stop on bad actors, but it's a start.

mc-hamster avatar Jul 18 '24 03:07 mc-hamster

I don't believe there is risk of this happening currently on the tradition band LoRA meshes due to audio module only being available on 2.4GHz LoRA, but it's a good idea to guard against its eventual usage there. I'm wondering if there are other portnums of traffic we might guard against by default though. Perhaps we could have a uint32 as an enum w/ flags enabling those portnums on a channel.

thebentern avatar Jul 18 '24 21:07 thebentern

I don't believe there is risk of this happening currently on the tradition band LoRA meshes due to audio module only being available on 2.4GHz LoRA, but it's a good idea to guard against its eventual usage there. I'm wondering if there are other portnums of traffic we might guard against by default though. Perhaps we could have a uint32 as an enum w/ flags enabling those portnums on a channel.

Re: Only available on 2.4ghz - I'm planning on changing that. :)

Great idea idea on the enum!

mc-hamster avatar Jul 18 '24 21:07 mc-hamster

Re: Only available on 2.4ghz - I'm planning on changing that. :)

I'm keen on this idea as well. Especially the idea of a voice memo over the mesh. The T-Deck has full i2s audio that we are just utilizing for ringtones currently. Way under-utilized IMO.

thebentern avatar Jul 18 '24 21:07 thebentern