You can control the settings of your Hubs. To set a maximum time limit for the videos and voice messages in each Hub, go to your Hub Settings. Here you can set a maximum duration for each video and audio post.

If you set a limit you will see a countdown clock when recording.

Please note the time limits can differ per Swarm plan.