Is it possible to send big payload via PubNub messages, e.g. audio, images, video, etc.?

All PubNub accounts support message sizes up to 32KB. For really big payloads we recommend:

  1. Sending a URL via PubNub that points to the big payload (stored in a database or a storage service such as Amazon S3) or other CDN service.

  2. Break the message up into multiple parts and reassemble on the receiving (subscriber) side.

You can also check the message size before you send it instead of sending and then getting a message too large error.