videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.49k stars 422 forks source link

refactor: add dateTimeObject and dateTimeString to Cues for backwards compatibility #1409

Closed harisha-swaminathan closed 1 year ago

harisha-swaminathan commented 1 year ago

Adds dateTimeObject and dateTimeString back to segment metadata cues for backwards compatibility

codecov[bot] commented 1 year ago

Codecov Report

Merging #1409 (260324f) into main (3c5a5bc) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1409   +/-   ##
=======================================
  Coverage   85.55%   85.55%           
=======================================
  Files          41       41           
  Lines       10143    10145    +2     
  Branches     2349     2351    +2     
=======================================
+ Hits         8678     8680    +2     
  Misses       1465     1465           
Files Changed Coverage Δ
src/segment-loader.js 96.48% <100.00%> (+<0.01%) :arrow_up:
src/util/time.js 92.68% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more