# Sending SBDFileMessage with a video is slow in iOS(swift)

**URL:** <https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346>\
**Category:** iOS\
**Tags:** group-channel, syncmanager\
**Created:** [June 1, 2020, 8:07pm UTC](https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346 "2020-06-01T20:07:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cris\_Warren](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/cris_warren/32/130_2.png) [@Cris\_Warren](https://community.sendbird.com/u/Cris_Warren)\
**Post date:** [June 1, 2020, 8:07pm UTC](https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346/1 "2020-06-01T20:07:32Z")

</div>

sending a **SBDFileMessage** with a video as the file is slow, after the message user click send and leaves the chat the message is still **sending…** but when they go back into the chat since message has not sent because it takes anywhere from 5-30 seconds to send, the message is not part of the **messageCollection** … is there anyway that sending FileMessages to be faster? should we lock the user in the View until the message sends or fails to send?

---

<div class="post-metadata">

**Author:** ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)\
**Post date:** [June 8, 2020, 10:07pm UTC](https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346/2 "2020-06-08T22:07:59Z")

</div>

Hey @Cris_Warren this could be as a result of a combination of poor internet connection coupled with large file sizes. I do not think locking the user in the chat view until the message sends will improve the performance.

---

<div class="post-metadata">

**Author:** ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)\
**Post date:** [June 8, 2020, 10:08pm UTC](https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346/3 "2020-06-08T22:08:33Z")

</div>

On that note, where is your app’s region at compared to where your users are at?

---

<div class="post-metadata">

**Author:** ![Cris\_Warren](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/cris_warren/32/130_2.png) [@Cris\_Warren](https://community.sendbird.com/u/Cris_Warren)\
**Post date:** [June 10, 2020, 3:36pm UTC](https://community.sendbird.com/t/sending-sbdfilemessage-with-a-video-is-slow-in-ios-swift/346/5 "2020-06-10T15:36:43Z")

</div>

@Jed_Gyeong I noticed you’re part of the staff, hope you don’t mind me tagging you in the thread,  
any tips or suggestions with this issue?
