How do I send Videos on a texting app made in MIT?

hey so i made a simple chat app where users can message each other but the app is actually supposed to be for asl so instead of texting i want people to send videos to each other

right now i only know how to code it so people send text messages not videos and idk how to add video messaging

so i basically have two questions

  1. how do you input a camera into the app so the user can record a video

  2. how do you send that recorded video to the other person in the chat

also just note can you try to make the code simple for me and if the code i made is useless for this, sorry!

imma send my code here

and imma send the design here

k thanks

You would need at least two extensions to record videos suitable for messaging.

  1. to record the video (joedevcamera)
  2. to encode/optimise the video (e.g resize) for messaging (ffmpegkit by vknow360)