Open MathJud opened 1 year ago
I would like to work on this issue. Please assign me this issue.
@sukhman-sukh Thanks a lot for this offer. I assigned you to the issue.
@MathJud Sorry for delay. I was working on the issue and went though code base. While implementing the record feature I am using import 'package:record/record.dart';
which is using await record.start(const RecordConfig(), path: 'aFullPath/myFile.m4a');
to start recording.
I want to know what path should I specify.
Is qual storing any messages on user end at any location?
@sukhman-sukh Thanks for your work! The file should be saved locally and then handed over via RPC to libqaul.
1) record the file into the local flutter app storage.
2) send the path to the recorded file via to a chat group using the protobuf RPC message chatfile > SendFileRequest
(see https://github.com/qaul/qaul.net/blob/0da91d6af5f8b99cc77f43f436a0608f3dea32fc/rust/libqaul/src/services/chat/chatfile_rpc.proto#L32 )
In order to hand the file over to libqaul for sending:
libqaul_worker
to send the file to libqaul (see https://github.com/qaul/qaul.net/blob/0da91d6af5f8b99cc77f43f436a0608f3dea32fc/qaul_ui/packages/qaul_rpc/lib/src/libqaul_worker.dart#L261 )The feature is almost ready! Thanks to @sukhman-sukh & @brenodt ! The tests have shown the following discussion points and problems that need to be resolved:
In Chat's the user should be able to send voice messages in direct chats.
Testing