Source: models/stream.js

define('application/models/stream', [
    'rofl/models/api/abstract'
], function (
    Abstract
) {
    'use strict';

    return Abstract.extend({

        /**
         * Initialises the stream model.
         */
        init: function () {

            this._streamUrl = null;
        },

        /**
         * Returns the stream url.
         *
         * @returns {string|null} - The stream url or null if not set.
         */
        getStreamUrl: function () {
            return this._streamUrl;
        }
    });
});