Hello. I’m running into problems with the file size of some messages. I’m using the Chat SDK to send videos on iOS. Specifically I’m using this function sendFileMessageWithParams: progressHandler: completionHandler: and I on larger files I keep getting this error.
First, I’d like to confirm that this is a Sendbird imposed limit, and if so what is the limit? Also can I increase this limit? I can’t seem to find any documentation around it.
The actual error I get is this Error Domain=File size limit exceeded. Code=800260 "File size limit exceeded." UserInfo={NSLocalizedDescription=File size limit exceeded.} which is returned in the completion block.
@Tyler thank you. I have a follow up question to the 5MB limit as well. Is that limit imposed when someone uploads a file using the Sendbird UIKit SBUChannelViewController? Because that appears to be possible. I was able to send a file of 11.6 MB that way.
I just confirmed this. Went to the Sendbird dashboard and looked at the chat in question. Downloaded the video form there and inspected the size. It’s 11.2MB.
@Tyler Do you have an update on this? I’m talking to sales to increase the file size limits on messages, but our team is still seeing irregularities with the 5MB limit being enforced particularly when sending videos from the camera roll directly using the Sendbird UIKit chat implementation.