How to store voice message from clients

70 views
Skip to first unread message

Some Beygi

unread,
Apr 15, 2020, 10:32:48 AM4/15/20
to Tinode General
i wants to add voice message capability to iOS, is possible to use drafty type message and upload voice to server then store url of uploaded file in drafty message?

Gene

unread,
Apr 15, 2020, 11:35:59 AM4/15/20
to Tinode General
Here is a conversation on a similar subject:

To summarize:

1. Propose what voice messages should look like visually. Look at the examples from WeChat, Whatsapp, Telegram, FB Messenger
3. Come up with a proposal for Drafty to encapsulate the voice data. It should be very similar to images an attachments: small files should be sent inline, large files uploaded to the cloud.
4. Talk to me, make sure I agree with your proposal.
5. Select the client you want to work with first: webapp, Android or iOS.  Make sure you understand how the client implements Drafty.
6. Implement and test the proposal.
7. Send me a pull request.

Some Beygi

unread,
Apr 16, 2020, 12:01:29 PM4/16/20
to Tinode General
OK; thanks; 
I will first ready about drafty message; and ask questions about that; then start develop;
Reply all
Reply to author
Forward
0 new messages