How can i make a video chat that sends user a video to other user. similar to this picture of blocks
Thank you.
How can i make a video chat that sends user a video to other user. similar to this picture of blocks
Do you simply want to send video files to each other ?
You can upload binary files to cloudDB, but such heavy use may incur the wrath of the cloudDB techs...
Consider an alternative such as Firebase Storage, which will give you 10GB of free storage.
If videos will take a heavy storage, then what about a picture?
Similarly, you can upload images to cloudDB, in their own tag's value, or you could convert them to base64 and include that as a part of a list or csv string of data in a tag's value. (Note that the base64 of an image is roughly 1.3 x the size of the actual image file size.)
What about audio?
Yes, but encode at a low bitrate to keep the file size down.
Well can you give me example of audio because i dont know how to make one
Everytime i make one the previous audio doesent save
Show your relevant blocks for recording and saving audio.
The sound recorder still has a bug in the default file path (includes a directory, My Documents
with a space in it)
Use the File component to set a path to your ASD
Don't use !
as a tag name, use a string with letters from the alphabet and if you want numbers, but you should start with a letter.
Remove the spaces and punctuation marks from your filename:
AUD from (user).3gp >> AUDfromUser.3gp
It is not file:///
but file://
(two slashes only)
You need to provide a full path to save a binary file to cloudDB
Another use can then return the selected sound from the list.
Thanks, you are so smart
You will need to test what has changed, what is coming back, and again use if/else statements to test for tags, just as you do with GotValue.
I have did what you did
But all of the audio that i recorded changed all of the old audio and became the same audio thay i recorded ago
You know what, audio is nothing
Video makes more sense than audio
i've done some simple chat-app with Python. Same line of thought,it's composed a client and a server. Make a client is easy, but deploy the server and write the backend program is difficult then writing client.
[mod edit - image removed due to foul language]
You can try much the same with video files.
You need to create unique tags for each video file you upload. You can use a clock component for this and the systemtime block to add a unique number in milliseconds.