Skip to content

Commit 1b70623

Browse files
committed
Resort core events
1 parent 135b86f commit 1b70623

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/core/events/CoreEvents.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class CoreEvents extends EventsBase {
4343
this.ATTEMPT_BACKGROUND_SYNC = 'attemptBackgroundSync';
4444
this.BUFFERING_COMPLETED = 'bufferingCompleted';
4545
this.BUFFER_CLEARED = 'bufferCleared';
46-
this.BYTES_APPENDED_END_FRAGMENT = 'bytesAppendedEndFragment';
4746
this.BUFFER_REPLACEMENT_STARTED = 'bufferReplacementStarted';
47+
this.BYTES_APPENDED_END_FRAGMENT = 'bytesAppendedEndFragment';
4848
this.CHECK_FOR_EXISTENCE_COMPLETED = 'checkForExistenceCompleted';
4949
this.CMSD_STATIC_HEADER = 'cmsdStaticHeader';
5050
this.CURRENT_TRACK_CHANGED = 'currentTrackChanged';
@@ -54,22 +54,31 @@ class CoreEvents extends EventsBase {
5454
this.INIT_FRAGMENT_LOADED = 'initFragmentLoaded';
5555
this.INIT_FRAGMENT_NEEDED = 'initFragmentNeeded';
5656
this.INTERNAL_MANIFEST_LOADED = 'internalManifestLoaded';
57-
this.ORIGINAL_MANIFEST_LOADED = 'originalManifestLoaded';
57+
this.LOADING_ABANDONED = 'loadingAborted';
5858
this.LOADING_COMPLETED = 'loadingCompleted';
59-
this.LOADING_PROGRESS = 'loadingProgress';
6059
this.LOADING_DATA_PROGRESS = 'loadingDataProgress';
61-
this.LOADING_ABANDONED = 'loadingAborted';
60+
this.LOADING_PROGRESS = 'loadingProgress';
6261
this.MANIFEST_UPDATED = 'manifestUpdated';
62+
this.MEDIAINFO_UPDATED = 'mediaInfoUpdated';
6363
this.MEDIA_FRAGMENT_LOADED = 'mediaFragmentLoaded';
6464
this.MEDIA_FRAGMENT_NEEDED = 'mediaFragmentNeeded';
65-
this.MEDIAINFO_UPDATED = 'mediaInfoUpdated';
65+
this.ORIGINAL_MANIFEST_LOADED = 'originalManifestLoaded';
6666
this.QUOTA_EXCEEDED = 'quotaExceeded';
67+
this.SEEK_TARGET = 'seekTarget';
6768
this.SEGMENT_LOCATION_BLACKLIST_ADD = 'segmentLocationBlacklistAdd';
6869
this.SEGMENT_LOCATION_BLACKLIST_CHANGED = 'segmentLocationBlacklistChanged';
6970
this.SERVICE_LOCATION_BASE_URL_BLACKLIST_ADD = 'serviceLocationBlacklistAdd';
7071
this.SERVICE_LOCATION_BASE_URL_BLACKLIST_CHANGED = 'serviceLocationBlacklistChanged';
7172
this.SERVICE_LOCATION_LOCATION_BLACKLIST_ADD = 'serviceLocationLocationBlacklistAdd';
7273
this.SERVICE_LOCATION_LOCATION_BLACKLIST_CHANGED = 'serviceLocationLocationBlacklistChanged';
74+
this.SETTING_UPDATED_ABR_ACTIVE_RULES = 'settingUpdatedAbrActiveRules';
75+
this.SETTING_UPDATED_CATCHUP_ENABLED = 'settingUpdatedCatchupEnabled';
76+
this.SETTING_UPDATED_LIVE_DELAY = 'settingUpdatedLiveDelay';
77+
this.SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT = 'settingUpdatedLiveDelayFragmentCount';
78+
this.SETTING_UPDATED_MAX_BITRATE = 'settingUpdatedMaxBitrate';
79+
this.SETTING_UPDATED_MIN_BITRATE = 'settingUpdatedMinBitrate';
80+
this.SETTING_UPDATED_PLAYBACK_RATE_MAX = 'settingUpdatedPlaybackRateMax';
81+
this.SETTING_UPDATED_PLAYBACK_RATE_MIN = 'settingUpdatedPlaybackRateMin';
7382
this.SET_FRAGMENTED_TEXT_AFTER_DISABLED = 'setFragmentedTextAfterDisabled';
7483
this.SET_NON_FRAGMENTED_TEXT = 'setNonFragmentedText';
7584
this.SOURCE_BUFFER_ERROR = 'sourceBufferError';
@@ -81,18 +90,10 @@ class CoreEvents extends EventsBase {
8190
this.UPDATE_TIME_SYNC_OFFSET = 'updateTimeSyncOffset';
8291
this.URL_RESOLUTION_FAILED = 'urlResolutionFailed';
8392
this.VIDEO_CHUNK_RECEIVED = 'videoChunkReceived';
93+
this.VIDEO_ELEMENT_RESIZED = 'videoElementResized';
8494
this.WALLCLOCK_TIME_UPDATED = 'wallclockTimeUpdated';
8595
this.XLINK_ELEMENT_LOADED = 'xlinkElementLoaded';
8696
this.XLINK_READY = 'xlinkReady';
87-
this.SEEK_TARGET = 'seekTarget';
88-
this.SETTING_UPDATED_LIVE_DELAY = 'settingUpdatedLiveDelay';
89-
this.SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT = 'settingUpdatedLiveDelayFragmentCount';
90-
this.SETTING_UPDATED_CATCHUP_ENABLED = 'settingUpdatedCatchupEnabled';
91-
this.SETTING_UPDATED_PLAYBACK_RATE_MIN = 'settingUpdatedPlaybackRateMin';
92-
this.SETTING_UPDATED_PLAYBACK_RATE_MAX = 'settingUpdatedPlaybackRateMax';
93-
this.SETTING_UPDATED_ABR_ACTIVE_RULES = 'settingUpdatedAbrActiveRules';
94-
this.SETTING_UPDATED_MAX_BITRATE = 'settingUpdatedMaxBitrate';
95-
this.SETTING_UPDATED_MIN_BITRATE = 'settingUpdatedMinBitrate';
9697
}
9798
}
9899

0 commit comments

Comments
 (0)