Comments (6)
Actually I got it wrong: some messages are ogg and some are m4a but the problem with the encrypted messages is that the content_type is application/octet-stream.
The event mimetype is correct though, so using that one works.
from matrix-stt-bot.
@remoremorali , I'm facing an issue with encrypted audio message not processed at all, so I guess it's exactly the issue you are mentioning.
Did you have a chance to submit a PR? If not, would you mind advising on the code place to make the changes?
from matrix-stt-bot.
I figured out pull request is there and already merged (#3).
@hibobmaster , could you please, help me to understand if encrypted rooms ever worked for you? I have only Element clients and bot just doesn't get triggered on audio messages in encrypted rooms.
I have encryption configured and working, non-encrypted rooms also works fine.
from matrix-stt-bot.
I've changed events to listen to as broad range as possible:
# setup event callbacks
self.client.add_event_callback(
self.message_callback,
(
RoomMessageAudio,
RoomEncryptedAudio,
RoomMessage,
RoomMessageUnknown,
RoomEncryptedMedia,
UnknownEncryptedEvent,
Event,
),
)
But it still doesn't work - I'm running the code under the debugger and it just not executing this code for encrypted rooms.
One more thing that concerns me, it's that bot never 'read' those messages - it's like something prevents it from getting those messages ever touch the code.
... and one more thing... it's not only with encrypted channels - it's with any channels, except for default's '#discuss'. The bot joining all those rooms, but never get the messages.
from matrix-stt-bot.
@alexander-potemkin You should import E2EE room keys follow the readme.
And here's a guide about how to login via access_token and make it work in E2EE room. #4 (comment)
from matrix-stt-bot.
@hibobmaster , thank you - I've commented on #4 regarding session key.
What confuse me, it's that things doesn't work on un-ecrypted room as well.
from matrix-stt-bot.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix-stt-bot.