Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/doris 1508 upgrade to v4.5 #35

Merged
merged 414 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
e431e8b
Fix/cmcd (#3745)
dsilhavy Aug 27, 2021
b26a5b8
Feature: buffer robustness (#3743)
dsilhavy Aug 27, 2021
5f7f307
Add missing information about errorSettings to index.d.ts and Setting…
dsilhavy Aug 27, 2021
734b4af
Fix availabilityTimeOffset for live MSS (#3746)
bbert Sep 2, 2021
73e60d5
Fix/cmcd nor (#3747)
dsilhavy Sep 2, 2021
3572686
Only check if the stream is completed if no request could be generate…
dsilhavy Sep 2, 2021
356b6f6
Allow for registering a custom function to select the intial track (#…
ShikiSeiren Sep 3, 2021
283df6b
[MSS] fix issue when selecting new audio track and new text track sim…
bbert Sep 3, 2021
5e31f9f
Add track selection mode based on selectionPriority attribute (#3751)
dsilhavy Sep 5, 2021
66bc8f9
Fix wrong timing calculation for client/server clock drift. (#3759)
dsilhavy Sep 6, 2021
6a0d37c
Remove clientServerTimeShift from _calcAvailabilityTimeFromPresentati…
dsilhavy Sep 6, 2021
1cf8138
fix, complete types definition file (#3755)
bbert Sep 6, 2021
e18baf8
Fix javascript errors on reset (#3757)
bbert Sep 7, 2021
257ddb4
Fix live playback on WebOS (#3750) (#3754)
lkinasiewicz Sep 8, 2021
dcccdd3
Stream: do not reset() on protection error (#3756)
bbert Sep 8, 2021
ef00170
Feature enable low latency (#3684)
dsilhavy Sep 8, 2021
079d81f
Change JSDoc description, remove outdated setAutoSwitchQuality
dsilhavy Sep 9, 2021
7724971
Fix outer period seek to 0 (#3767)
dsilhavy Sep 9, 2021
7a397c9
Fix: #3769 - Handle all 2XX status codes on license request (#3770)
Pavelas Sep 10, 2021
a7b014e
Disable enableSeekDecorrelationFix by default
dsilhavy Sep 11, 2021
d05d1ca
Fix a bug in the GapController.js when unregistering events
dsilhavy Sep 15, 2021
757de7d
Fix/media fragment needed (#3772)
dsilhavy Sep 20, 2021
15ad813
Test suite live delay (#3714)
vrosenberg Sep 21, 2021
15c4e12
Activate gap jumping when seeking close to the end of a period. (#3775)
dsilhavy Sep 22, 2021
bb7ccaa
Adjust logic to check for _getNextStreams
dsilhavy Sep 23, 2021
b4b86d9
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy Sep 24, 2021
e67223a
Fix wrong link to docs in package.json
dsilhavy Sep 24, 2021
797d50b
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy Sep 24, 2021
9a2cd8b
Add version 4.1.0 dist files
dsilhavy Sep 24, 2021
82a0d98
Avoid creating one HTTPLoader instance per request (#3779)
bbert Sep 29, 2021
262fdee
Increase version number to 4.1.1
dsilhavy Sep 29, 2021
4b4a45d
[MSS] Do not update manifest if already updating at tracks switching …
bbert Sep 30, 2021
a2b9623
Fix exception in GapController.js when enableSeekFix is set to true
dsilhavy Oct 4, 2021
b7d585c
Check for stableBufferTime larger than 0 in MediaPlayerModel.js
dsilhavy Oct 9, 2021
ea3d3b9
Fix issue on text track selection (#3783)
bbert Oct 11, 2021
c1f889d
Fix scheduleWhilePaused not working (#3785)
chanh1964 Oct 12, 2021
e1618ab
Update README.md
dsilhavy Oct 12, 2021
a94af64
Fix seek with null value in PlaybackController.js (#3789)
dsilhavy Oct 14, 2021
83c9f6d
TextTracks: check video size only for html rendering on 'loadedemetad…
bbert Oct 19, 2021
8aac307
Avoid uncaught exception on SourceBuffer.abort() in buffer already re…
bbert Oct 28, 2021
1381ccb
Refactor/protection (#3793)
dsilhavy Nov 1, 2021
4079679
Add laurl example MPD
dsilhavy Nov 1, 2021
0d1a4c3
Add warning to DRM samples if not using https protocol
dsilhavy Nov 1, 2021
5965ab6
Check for isNaN when setting the seek target in the StreamProcessor.js
dsilhavy Nov 1, 2021
c760875
Enable/Disable UTC sync via settings flag (#3802)
dsilhavy Nov 2, 2021
2b3976b
Add example for fastswitch
dsilhavy Nov 5, 2021
1011442
DVR Window Refactoring (#3809)
dsilhavy Nov 12, 2021
6e7612a
Refactor protection and fix key rotation (#3805)
bbert Nov 15, 2021
e0eecfe
Update SessionToken.getSessionId()
bbert Nov 15, 2021
c787a25
Show warning in case location.protocol is http when accessing the ref…
dsilhavy Nov 16, 2021
4b13cda
Rename event STREAM_SWITCH_STARTED into PERDIO_SWITCH_STARTED
bbert Nov 16, 2021
06e639e
Add dynamic attribute for calls to getAverageThrougput (#3814)
dsilhavy Nov 17, 2021
3786007
Check for video element readystate in PlaybackController.updateCurren…
dsilhavy Nov 17, 2021
e3ab4ae
Do not filter ks if no protData is given, otherwise player fails sile…
dsilhavy Nov 18, 2021
df2caff
Increase version number to 4.2.0
dsilhavy Nov 19, 2021
cda64e6
Fix scheduleWhilePaused in demo page
dsilhavy Nov 24, 2021
6ae9184
Merge tag 'v4.1.0' of https://github.com/Dash-Industry-Forum/dash.js …
grabofus Nov 26, 2021
e4a48bd
Remove unavailable stream
dsilhavy Nov 29, 2021
731693e
Add resolution to monitoring example
dsilhavy Nov 29, 2021
4723070
Merge branch 'development'
dsilhavy Nov 29, 2021
6b64a61
Add dist files for 4.2.0
dsilhavy Nov 29, 2021
cbb8b52
Fix error in JSDoc in ProtectionController.js
dsilhavy Nov 29, 2021
f5456f9
Increase version number to 4.2.1
dsilhavy Nov 29, 2021
9d243e3
Fix/3808 (#3823)
dsilhavy Nov 29, 2021
312655d
Fix race condition when using "autoplay" in the reference UI (#3825)
dsilhavy Nov 30, 2021
00f6ecb
Update sources.json (#3827)
mesikapp Dec 1, 2021
2a6be28
Wait for video element ready state to change to HAVE_METADATA before …
dsilhavy Dec 2, 2021
f8c986a
Update Unified Streaming URL
dsilhavy Dec 6, 2021
80eef5e
Add demo page to load stream via query parameters
dsilhavy Dec 9, 2021
8815d22
Fix typo
dsilhavy Dec 9, 2021
362757d
fix SessionToken typings
bbert Dec 10, 2021
23f210f
Adding AACH in the list of supported codecs for mssparser (#3830)
bittu Dec 16, 2021
cc514c8
feat: Preserve cdata on manifest parsing and expose on dash event mes…
vodlogic Dec 16, 2021
d28901e
Enable gap seek fix by default (#3832)
dsilhavy Dec 17, 2021
4a3bd46
Add an example how to use parsed MPD objects instead or urls
dsilhavy Dec 17, 2021
4e65945
Fix typo
dsilhavy Dec 17, 2021
5c9be46
Fix typo
dsilhavy Dec 17, 2021
57c0f0b
Apply a minor offset when using MPD anchors with #t=0 for dynamic str…
dsilhavy Dec 20, 2021
46afc17
Add sample for MPD anchors
dsilhavy Dec 20, 2021
10ce555
Fix title in sample page
dsilhavy Dec 21, 2021
3d6cc6b
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy Dec 23, 2021
5dbc06a
Add dist files for release 4.2.1
dsilhavy Dec 23, 2021
c0c986e
Throw new error in case of invalid settings (#3843)
bbert Jan 5, 2022
634343d
Increae version number to 4.3.0
dsilhavy Jan 5, 2022
89a296c
Fix live seeking (#3837)
bbert Jan 5, 2022
0f4196e
Fix: Load the last remaining segment when the user seeks to end (#3847)
dsilhavy Jan 7, 2022
cd63ff0
Fix events without presentation time and id (#3851)
dsilhavy Jan 7, 2022
01b2785
Close comment header in ControlBar.js
dsilhavy Jan 7, 2022
1deba49
Merge branch 'patch/v4.1.x-doris' into patch/v4.3.x-doris
grabofus Jan 11, 2022
8a9a799
chore: bump version
grabofus Jan 12, 2022
b3e56e4
Fix SourceBufferSink reset process (#3854)
bbert Jan 18, 2022
f21d328
Exclude text StreamProcessor when checking buffer level for initial p…
dsilhavy Jan 21, 2022
bbfb56c
Change regex that checks for valid license server url in reference UI
dsilhavy Jan 26, 2022
13a8c23
Set default fragment request timeout to 10 seconds
dsilhavy Jan 29, 2022
a83535d
Improve special character escaping in CMCD string values (#3866)
littlespex Jan 31, 2022
e8ed11d
Add types definition for custom initial track selection function (#3867)
bbert Jan 31, 2022
2e4661a
Add support for multiple system strings for a single key system (#3859)
dsilhavy Jan 31, 2022
af17c3c
Fix issue in GapContoller when reset playback (#3868)
bbert Feb 1, 2022
e263c71
BufferController: fix issue in adjustSeekTarget after a track switch …
bbert Feb 8, 2022
e7a5b50
Fix VideoModel currentTime and seeking (#3872)
bbert Feb 8, 2022
dacea9a
Adjust error message in GapController.js
dsilhavy Feb 9, 2022
decf209
Remove getNormalizedTime (#3876)
piersoh Feb 11, 2022
3840297
Fix/positive ept delta dynamic manifest (#3878)
dsilhavy Feb 14, 2022
c70fe9f
Add Akamai Controlbar to npm package
dsilhavy Feb 14, 2022
a854eef
divide browserstack sessions and run tests parallel (#3880)
vrosenberg Feb 16, 2022
9684cb2
Fix calculation of thumbnail timestamp for multiple periods (#3881)
dsilhavy Feb 16, 2022
e3bacc2
Remove isValidUrl check from ReferenceUI as it caused license servers…
dsilhavy Feb 17, 2022
a2ed768
Feature/settings url (#3865)
ShikiSeiren Feb 18, 2022
f562b03
Corrected ServiceDescription handling (#3879)
piersoh Feb 18, 2022
baa5eac
Only show console error instead of error when invalid setting is prov…
dsilhavy Feb 18, 2022
98fda66
Remove hardcoded value in reference client
dsilhavy Feb 18, 2022
76fa1c2
Remove console.log
dsilhavy Feb 18, 2022
55a2d99
Bugfix/settings url (#3885)
dsilhavy Feb 23, 2022
72b7f4e
Remove non available sample streams
dsilhavy Feb 23, 2022
1febf9e
Remove non available sample streams
dsilhavy Feb 23, 2022
c0d3be8
Revert default key system string order for Playready as we saw multip…
dsilhavy Feb 24, 2022
6c191a7
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy Feb 25, 2022
99ea09e
Version 4.3.0 dist files
dsilhavy Feb 25, 2022
8e4dc0a
Increase version number to 4.3.1
dsilhavy Feb 25, 2022
035e5f0
JSON stringify the license request payload to Clearkey servers (#3894)
dsilhavy Feb 25, 2022
0078c8e
Update SessionToken typings (add getUsable()) (#3892)
bbert Mar 7, 2022
e0048cc
feat: Update manifest source url without re-initialising player (#3900)
vodlogic Mar 21, 2022
0cc7834
DVB Metrics Reporting 'withCredentials' (#3898)
mattjuggins Mar 21, 2022
b9be635
Fix BOLA rule on track switch (#3884)
bbert Mar 23, 2022
3dc7251
Remove non-standard `t` metric from HttpList reports (#3883)
piersoh Mar 25, 2022
095ad26
feat: Trigger event when AdaptationSet is removed due to all represen…
vodlogic Apr 1, 2022
a893c4b
fix: prevent duplicate captions
eowino Apr 1, 2022
dc38f3c
4.3.0-doris.1
eowino Apr 1, 2022
0cff033
Merge pull request #16 from DiceTechnology/fix/DORIS-867-dash-closed-…
eowino Apr 1, 2022
2c87ac4
Feature/service description (#3831)
dsilhavy Apr 6, 2022
a289e40
CMCD: whitelist HTTP headers (#3893)
vrosenberg Apr 11, 2022
4812677
PlaybackController: fix concurrent internal seeks (#3903)
bbert Apr 11, 2022
45b96be
Adjust liveDelay directly in PlaybackController.js if fetch API with …
dsilhavy Apr 12, 2022
713ae51
Update scheduled CircleCI cron job: Trigger on Sunday and Wednesday
dsilhavy Apr 12, 2022
5c8a775
feat: downgradePlayReadyPSSH
grabofus Apr 12, 2022
2b41d57
fix: accessing byteLength of undefined
grabofus Apr 12, 2022
cb294ce
4.3.0
grabofus Apr 12, 2022
130b2b2
4.3.1
grabofus Apr 12, 2022
612ae58
Merge pull request #19 from DiceTechnology/feat/DORIS-1257-downgrade-…
grabofus Apr 12, 2022
7fcc6a2
chore: update gitignore
grabofus Apr 13, 2022
a706caf
feat: supportedCodecs
grabofus Apr 13, 2022
2733dd2
fix: support array type config options
grabofus Apr 13, 2022
04f6ce5
fix: compare codecs lowercase without spaces
grabofus Apr 13, 2022
708e538
chore: added example codec
grabofus Apr 13, 2022
0c0f632
4.3.2
grabofus Apr 13, 2022
a6b4bec
Merge pull request #20 from DiceTechnology/feat/DORIS-1259-supported-…
grabofus Apr 13, 2022
5a5a0ac
Fix error in Settings.js JSDoc
dsilhavy Apr 14, 2022
1abe2d4
feat: replaceCodecs
grabofus Apr 14, 2022
71dc41a
fix: replaceCodecs after parsing
grabofus Apr 14, 2022
1ac81fa
4.3.3
grabofus Apr 14, 2022
b8b2b2b
chore: remove named touples
grabofus Apr 14, 2022
1a64423
ProducerReferenceTime (#3895)
mattjuggins Apr 14, 2022
2aad3e7
Feature/lint enforce indent (#3921)
dsilhavy Apr 14, 2022
7f67f19
Fix regression from PR #3831 in MssParser (#3925)
bbert Apr 19, 2022
ad1ba6c
[MSS] Fix start FragmentInfo requests on seeking event (#3924)
bbert Apr 20, 2022
4caf828
fix: Prevent exception when PlayReady CDM returns UTF-8 unwrapped mes…
vodlogic Apr 20, 2022
3d42188
Adjust linting config for quotes and fix corresponding errors
dsilhavy Apr 20, 2022
293482e
Merge pull request #21 from DiceTechnology/feat/DORIS-1259-supported-…
grabofus Apr 20, 2022
81e506f
Change precedence of ServiceDescription elements (#3923)
mattjuggins Apr 20, 2022
e51b2c5
Add additional unit test for ServiceDescriptionController
dsilhavy Apr 20, 2022
3793614
chore: Add detectPlayreadyMessageFormat to settings type (#3927)
vodlogic Apr 20, 2022
2bedb63
fix: playback stalling for no reason (#3888)
bwallberg Apr 22, 2022
25da43a
Feature/reduce settings url length (#3918)
ShikiSeiren Apr 22, 2022
52d481a
Add missing fields to index.d.ts and JSDoc in Settings.js
dsilhavy Apr 22, 2022
ba35a2b
fix: replace strings before support check
grabofus Apr 25, 2022
1031d62
4.3.4
grabofus Apr 25, 2022
e5e7882
Merge pull request #22 from DiceTechnology/feat/DORIS-1259-supported-…
grabofus Apr 25, 2022
05f0943
Use getValidTimeAheadOfTargetTime for static manifests when no valid …
dsilhavy Apr 25, 2022
5bfe8a6
Fixed text-role not appearing in url, fixed drm-changes not being ref…
ShikiSeiren Apr 26, 2022
b74dc46
Add example for keeping DRM MediaKeySessions in DRM section (#3934)
dsilhavy Apr 28, 2022
decaad5
Fix regression in key system selection based on priority (#3935)
bbert Apr 29, 2022
19d290a
ProtectionController: abort license request on stop/reset (#3937)
bbert May 3, 2022
c5d1323
Fix deleting all cues from text tracks (#3938)
bbert May 3, 2022
f55f437
Fix textual description on ref client landing page
dsilhavy May 3, 2022
c203885
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy May 4, 2022
826aa71
Add dist files for version 4.4.0
dsilhavy May 4, 2022
2bb1cd2
Increase version number to 4.4.1
dsilhavy May 4, 2022
50376f5
Check for keyPairs in clearkeys object before updating the key sessio…
dsilhavy May 4, 2022
05f0a6b
Fix/clearkey from ref UI: Check for initData in protData before overw…
dsilhavy May 10, 2022
bf89ee9
Fix SegmentTimeline's segment getter from requested time (#3928)
bbert May 10, 2022
212e04b
Fix wrong value in ReferenceUI for abrBOLA
dsilhavy May 12, 2022
2602917
Fix/abandon request (#3944)
dsilhavy May 12, 2022
19b4089
Use lastBitrateCachingInfo.enabled and lastMediaSettingsCachingInfo.e…
dsilhavy Jun 2, 2022
c81cb7d
Fix text track enabling for MSS live streams (#3966)
bbert Jun 27, 2022
3d870ed
JSDoc cleanup (#3968)
dsilhavy Jun 27, 2022
d7cc9b8
Dispatch volumechange from the native video element via dedicated Med…
dsilhavy Jun 27, 2022
f9f3623
Fix _checkPortalSize and initialRatio caluculation for unsorted Repre…
dsilhavy Jun 28, 2022
dbfdec0
fix: seeking live streams when missing mediaSource.setLiveSeekableRan…
grabofus Jun 30, 2022
6727500
Fix wrong description of PLAYBACK_LOADED_DATA event (#3978)
dsilhavy Jul 4, 2022
81c26e4
Fix a bug that lead to undefined customParametersModel after calling …
dsilhavy Jul 4, 2022
53c418d
Do not trigger inline and inband events multiple times after a manife…
dsilhavy Jul 6, 2022
daaad61
Merge remote-tracking branch 'origin/patch/v4.3.x-doris' into patch/v…
grabofus Jul 11, 2022
ea4a267
4.4.1
grabofus Jul 11, 2022
2ab999c
chore: eslint
grabofus Jul 11, 2022
5b1127e
Fix for a rounding error not allowing BUFFERING_COMPLETED to get fire…
jensenn Jul 12, 2022
bde5c93
Account for events defined in different periods in the EventControlle…
dsilhavy Jul 12, 2022
7fdbf4e
Extends the License Request Complete event to include the original se…
WilhelmFaber Jul 12, 2022
b98673e
Add example for multi audio tracks with initial track selection
dsilhavy Jul 12, 2022
66501e1
Overwrite manifest mediaPresentationDuration if duration mismatch (#3…
alkerway Jul 15, 2022
1f046c1
Add check for isNaN in enableManifestDurationMismatchFix
dsilhavy Jul 15, 2022
54a45d7
Add support for specifying the start time of the stream as part of th…
dsilhavy Jul 15, 2022
a3de367
Fix wrong description in JSDoc
dsilhavy Jul 18, 2022
a69379b
Fix 'd' trace httpList metric reporting (#3986)
piersoh Jul 18, 2022
c4e86d5
Divide duration of inband events by timescale (#3991)
dsilhavy Jul 18, 2022
b903950
Parse to float instead of int when calculating start time
dsilhavy Jul 19, 2022
e3ab669
Add missing vectors with "//" in url to functional tests (#3997)
dsilhavy Jul 22, 2022
75f59f2
Fix multitrack captions sample: lang values in manifest have changed
dsilhavy Jul 22, 2022
b89fe4f
Run functional tests by groupname (#3998)
dsilhavy Jul 22, 2022
1ff9797
Fix multi audio drm sample
dsilhavy Jul 22, 2022
97b58a8
If play is failing I suspect some attributes such as isDynamic to be …
dsilhavy Jul 22, 2022
a621b4a
Merge branch 'development' of https://github.com/Dash-Industry-Forum/…
dsilhavy Jul 25, 2022
3d2b826
Add dist files for release 4.4.1
dsilhavy Jul 25, 2022
1d0f6c7
Increase version number to 4.5.0
dsilhavy Jul 25, 2022
594767c
Pass url to RequestModifier.modifyRequestHeader (#3995) (#3996)
lkinasiewicz Jul 26, 2022
5dc7ec0
Add hashtag mechanism to sample menu selection (#4002)
dsilhavy Jul 26, 2022
f5422bd
Implement new catchup seeking/pausing logic as discussed during F2F (…
dsilhavy Jul 27, 2022
544d5e7
Fix wrong link to controlbar in Low Latency testplayer
dsilhavy Jul 27, 2022
09c5016
Add popup to low latency testplayer and fix catchup mechanism "enable…
dsilhavy Jul 27, 2022
dff5371
Remove console.log from sample index page
dsilhavy Jul 27, 2022
176796e
Add missing library to sample section
dsilhavy Jul 27, 2022
bf31b48
Fix stalling when using buffer.fastSwitchEnabled setting (#4004)
lkinasiewicz Aug 9, 2022
5ee8bca
Fix wrong call to _abortBeforeAppend (#4019)
dsilhavy Aug 9, 2022
4534b0f
Add ua-parser-js to enable reliable browser name and version parsing …
dsilhavy Aug 9, 2022
373dc51
Lower minPlaybackRateChange for non Safari browsers depending on the …
dsilhavy Aug 9, 2022
d970936
Fix/initialize drm from manifest (#4023)
dsilhavy Aug 10, 2022
91db0fa
Remove check in getValidTimeAheadOfTargetTime that caused stall in st…
dsilhavy Aug 12, 2022
46f331f
Replace "+" and "/" with "-" and "_" when generating B64 representati…
dsilhavy Aug 15, 2022
87c36b4
Add an example how to define robustness levels for DRM playback (#4028)
dsilhavy Aug 19, 2022
c200845
Feature/content steering (#4031)
dsilhavy Aug 29, 2022
931ddf6
Stop steering requests when playback has ended
dsilhavy Aug 30, 2022
e6b71ea
Allow requests to be modified in an async manner (#4024)
littlespex Sep 12, 2022
1e0efe0
Feature/deployment adjustments (#4041)
dsilhavy Sep 14, 2022
e188a15
Use hash to compare files when pushing to Akamai CDN
dsilhavy Sep 14, 2022
e438872
Add content steering to sample view
dsilhavy Sep 20, 2022
bc3458f
Stschr/lang matcher dash parser (#4036)
stschr Sep 20, 2022
212a0e0
make language matching more robust (#4015)
stschr Sep 20, 2022
2935efa
WPE fix: Avoid pruning buffered ranges already enqueued for playback …
eocanha Sep 20, 2022
3d8ce30
Add missing parameter avoidCurrentTimeRangePruning to index.d.ts
dsilhavy Sep 20, 2022
33c58ff
Fix wrong matching of lang attribute for embedded texttracks (#4047)
dsilhavy Sep 20, 2022
a1b90c9
Check if track.lang is not an empty string otherwise extendedFilter c…
dsilhavy Sep 20, 2022
79aca58
Improve matchSettings function in MediaController.js to account for e…
dsilhavy Sep 20, 2022
e043ec1
Add missing streamId to DroppedFramesHistory.js (#4048)
dsilhavy Sep 20, 2022
9b164a8
Only consider buffer replacements in the GapController.js for audio a…
dsilhavy Sep 21, 2022
6946888
Fix a bug in the StreamController.js that caused call to play() multi…
dsilhavy Sep 27, 2022
7c4cd7a
Merge branch 'development'
dsilhavy Sep 28, 2022
cff34a8
Add dist files for version 4.5.0
dsilhavy Sep 28, 2022
a83b542
fix: customParametersModel undefined after reset called (#30)
hongfeih-es Nov 3, 2022
ca58b44
Merge remote-tracking branch 'origin/patch/v4.4.x-doris' into feat/DO…
grabofus Nov 7, 2022
ab6d3c9
4.5.1
grabofus Nov 7, 2022
c4ee16d
Merge remote-tracking branch 'origin/master-doris' into feat/DORIS-15…
grabofus Nov 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 77 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,34 @@ commands:
steps:
- run:
name: Build and run unit tests
command: npm run build
command: |
npm run build
npm run test

functional_steps:
steps:
- functional_precondition
- checkout
- dependencies_setup
- build_unit_test_steps
- functional_test_setup

run_test_suite:
parameters:
browser:
default: "chrome"
type: string
protocol:
default: "https"
type: string
groupname:
default: ""
type: string
steps:
- run:
name: Run functional tests (<<parameters.browser>> / <<parameters.protocol>>) <<parameters.groupname>>
command:
node test/functional/runTests.js --selenium=remote --reporters=junit --app=remote --browsers=<<parameters.browser>> --protocol=<<parameters.protocol>> --groupname="<<parameters.groupname>>"
jobs:
build-and-unit-test:
executor: dashjs-executor
Expand All @@ -62,8 +88,7 @@ jobs:
name: Deploy
command: |
if [ "${CIRCLE_BRANCH}" = "development" ] && [ -n "$DEPLOY_HOST" ] && [ -n "$DEPLOY_USER" ] && [ -n "$DEPLOY_PASSWORD" ]; then
sudo npm install -g grunt-cli
grunt deploy --git-commit=$CIRCLE_SHA1 --ftp-host=$DEPLOY_HOST --ftp-user=$DEPLOY_USER --ftp-pass=$DEPLOY_PASSWORD
node deploy.js --host=$DEPLOY_HOST --user=$DEPLOY_USER --password=$DEPLOY_PASSWORD
else
echo "Not on development branch or deploy not configured. Dry run only, nothing will be deployed."
fi
Expand Down Expand Up @@ -112,23 +137,52 @@ jobs:
- store_test_results:
path: test/functional/reports

functional-tests-all:
functional-tests-VOD_LIVE:
executor: dashjs-executor
steps:
- functional_precondition
- checkout
- dependencies_setup
- build_unit_test_steps
- functional_test_setup
- run:
name: Run functional tests (chrome / https)
command:
node test/functional/runTests.js --selenium=remote --reporters=junit --app=remote --browsers=chrome --protocol=https
- run:
name: Run functional tests (chrome / http)
when: always # run tests even if some previous tests failed
command:
node test/functional/runTests.js --selenium=remote --reporters=junit --app=remote --browsers=chrome --protocol=http
- functional_steps
- run_test_suite:
groupname: VOD (Static MPD)
- run_test_suite:
groupname: LIVE (Dynamic MPD)
- run_test_suite:
groupname: Live Low Latency
- store_test_results:
path: test/functional/reports

functional-tests-DRM:
executor: dashjs-executor
steps:
- functional_steps
- run_test_suite:
groupname: DRM (modern)
- run_test_suite:
groupname: DRM Content (conservative/legacy)
- store_test_results:
path: test/functional/reports

functional-tests-Subtitles_Thumbnails_Audio_Smooth:
executor: dashjs-executor
steps:
- functional_steps
- run_test_suite:
groupname: Subtitles and Captions
- run_test_suite:
groupname: Thumbnails
- run_test_suite:
groupname: Audio-only
- run_test_suite:
groupname: Smooth Streaming

- store_test_results:
path: test/functional/reports

functional-tests-only-http:
executor: dashjs-executor
steps:
- functional_steps
- run_test_suite:
protocol: http
- store_test_results:
path: test/functional/reports

Expand All @@ -151,11 +205,14 @@ workflows:
scheduled-workflow:
triggers:
- schedule:
cron: "0 0 * * 0"
cron: "0 0 * * 0,3"
filters:
branches:
only:
- development
jobs:
- functional-tests-all
- functional-tests-VOD_LIVE
- functional-tests-DRM
- functional-tests-Subtitles_Thumbnails_Audio_Smooth
- functional-tests-only-http

39 changes: 39 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"globals": {
"dashjs": true,
"WebKitMediaSource": true,
"MediaSource": true,
"WebKitMediaKeys": true,
"MSMediaKeys": true,
"MediaKeys": true
},
"parser": "babel-eslint",
"rules": {
"no-caller": 2,
"no-undef": 2,
"no-unused-vars": 2,
"no-use-before-define": 0,
"strict": 0,
"no-loop-func": 0,
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
]
}
}
53 changes: 53 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: deploy

on:
workflow_call:
inputs:
envname:
required: true
type: string
deploy_path:
required: true
type: string
secrets:
host:
required: true
user:
required: true
private_key:
required: true

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "14.x"
- name: Install dependencies
run: npm install
- name: Run build
run: npm run build
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v2
env:
replacement_string: ${{ format('{0} - commit <a href="https://github.com/Dash-Industry-Forum/dash.js/commit/{1}">{2}</a>', github.ref_name, github.sha, github.sha)}}
with:
find: "<!-- commit-info -->"
replace: ${{env.replacement_string}}
include: "samples/dash-if-reference-player/index.html"
- name: Copy to deploy directory for deployment
run: |
mkdir ${{inputs.envname}}
cp -R contrib dist samples test/functional/config test/functional/tests ${{inputs.envname}}
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.private_key }}
known_hosts: unnecessary

- name: Deploy with rsync
run: rsync -av -c -e "ssh -o StrictHostKeyChecking=no -oHostKeyAlgorithms=+ssh-dss" ${{inputs.envname}} ${{ secrets.user }}@${{ secrets.host }}:${{ inputs.deploy_path }}
17 changes: 17 additions & 0 deletions .github/workflows/deploy_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: deploy

on:
push:
branches:
- 'master'

jobs:
deploy_staging:
uses: ./.github/workflows/deploy.yml
with:
envname: latest
deploy_path: '/377335/dash.js'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
private_key: ${{secrets.PRIVATE_KEY}}
17 changes: 17 additions & 0 deletions .github/workflows/deploy_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: deploy

on:
push:
branches:
- 'development'

jobs:
deploy_staging:
uses: ./.github/workflows/deploy.yml
with:
envname: nightly
deploy_path: '/377335/dash.js'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
private_key: ${{secrets.PRIVATE_KEY}}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/simple.html
samples/mpds
#################
## Node.js
#################
Expand Down Expand Up @@ -187,3 +188,5 @@ build/typings/

# Vim
.vimrc

dashjs-*.tgz
39 changes: 0 additions & 39 deletions .jscsrc

This file was deleted.

34 changes: 0 additions & 34 deletions .jshintrc

This file was deleted.

Loading