"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VIDEO_EVENT_TYPES = void 0;
exports.getEventName = getEventName;
exports.stringifySrcArguments = stringifySrcArguments;
exports.VIDEO_EVENT_TYPES = ['prepare', 'play', 'stop', 'pause', 'resume', 'ended', 'error'];
function getEventName(event) {
    const srcArgumentsString = stringifySrcArguments(event.srcArguments.uri, event.srcArguments.x, event.srcArguments.y, event.srcArguments.width, event.srcArguments.height);
    return `${event.type}_${srcArgumentsString}`;
}
function stringifySrcArguments(uri, x, y, width, height) {
    return `${uri}$${x}_${y}_${width}_${height}`;
}
//# sourceMappingURL=IVideoEvent.js.map