Each content version is automatically pushed out to a variety of hosting facilities and global Content Delivery Network and is stored in the Cloud Content Manager via reference to the original piece of content. A unique hash code is generated to identify the master content and all of the transcoded versions and that hash code is returned to you as a 'Smart URL' like http://m.mogreet.com/oc/a9mzdf8f for use in additional applications and services.
Your application then uses the Smart URL to refer to the content to look up the device type, identify the correct version, and serve the right content to the device via the most appropriate delivery protocol, including HTTP, RTSP and RTMP, to ensure perfect play back each time. The Cloud Content Manager maintains a constantly growing database of known devices and their capabilities, including media supported, preferred container, codec, best bitrate and frame rate, etc.
There is currently no cost for ingesting image and audio files, unlike other services, you pay for ingesting and transcoding video content based on input video length, not by the length of all the output transcoded versions. When your application(s) or messaging uses the Smart URL to deliver the content, you are billed for the number of Smart URL calls made at the rate of 100 per penny. There are no other hosting, storage, bandwidth or transfer fees.See Pricing Documentation
A smart URL is a simple, short URL (like http://m.mogreet.com/oc/a9mzdf8f) which distributes the correct version of a piece of content (image, audio, video) based on the end user's device. This gives you a simple way to deploy your content once, while making it accessible to any mobile or connected device, around the world.
For example, if you ingested a 45 second QuickTime movie, the platform will automatically create 20 or more versions of that content: several .mp4, .3gp with both h.264 and mpeg4 codecs, streaming .flv, an .m4v, a compressed .mov, all at different screen resolutions, frame rates and bitrates. In the response of the ingestion API call you will receive back a URL like this: http://m.mogreet.com/oc/a9mzdf8f
This link may be used anywhere that can play or display a content file over the global internet, like a web page, an SMS or MMS message, in a social media or mobile application.
When the user's device does an HTTP GET request to the magic URL, the Mogreet platform captures the connecting device's User Agent (uaprofile), and compares that to the platform device database (9,705 and growing!) The device database maps the user agent to the make, and model of the device, and captures information on the screen resolution, OS, and media capabilities of the device. Using that data, the Mogreet content adaptation layer (the MOCAL) chooses the most appropriate, highest quality version of the master content that can be delivered to the requesting device, and does an HTTP redirect to the actual version file, which is hosted in a global CDN. The Global CDN resolves to the nearest edge node with that file, and delivers the content. The Smart URL is a combination of device detection, content adaptation, and global caching delivery network.
curl https://api.mogreet.com/moms/transaction.send \
-d "client_id=123" \
-d "token=e15b9a70b1cv4re36eab1cb0" \
-d "campaign_id=456" \
-d "to=1236547890" \
--data-urlencode "message=Hello world"