Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

HLS Merge Changes #80

Merged
merged 13 commits into from
Feb 18, 2014
Merged

HLS Merge Changes #80

merged 13 commits into from
Feb 18, 2014

Conversation

tomjohnson916
Copy link
Contributor

The dist/SWF is the result of the hls-seeking branch merge.

  • Added support for using NetStream in Data Generation Mode
  • Extended base support for external appendData for integration with HLS / Media Source plugins
  • Fixed bug with viewport sizing on videos which don't present meta data
  • Fixed bugs with buffered and duration reporting on non-linear streams
  • Added refined seeking for use on non-linear streams
  • Extended endOfStream for use with Media Sources API

tomjohnson916 and others added 13 commits January 7, 2014 22:11
HTML expects buffered end time to be reported relative to the "start" of the video but the netstream reports it relative to the playhead position. In the model, add the buffered value coming from the netstream to the current playtime before returning it to javascript.
Previously, the position of the playhead was being added onto the buffered time both inside the HTTPVideoProvider and the model. Fixed it so that the playhead position is only added once, inside provider.
Instead of requiring an explicit call into the SWF to set the new starting offset for the netstream time, capture it when seekForSeconds is called in HTTPVideoProvider.
In order to distinguish between just running out of buffer and completing the stream when in data generation mode, it's necessary to signal back to the the HTTPVideoProvider. Media sources uses endOfStream to accomplish this so we're exposing that method on the SWF.
@heff
Copy link
Member

heff commented Feb 12, 2014

Could you expand on the title/description? What should be added to the swf changelog when this is pulled in?

@heff
Copy link
Member

heff commented Feb 12, 2014

I'd like to pull in the latest version of the swf into the 4.4 video.js release. Is there any specific testing that should be done to make sure basic HTTP mp4 playback hasn't changed with this?

Also, since PRs require one other person to review, who should review this? Or have both @dmlap and @seniorflexdeveloper reviewed it all already?

@dmlap
Copy link
Member

dmlap commented Feb 12, 2014

@heff: I've reviewed it but still want to do some testing. Will update in here with those results.

@heff
Copy link
Member

heff commented Feb 14, 2014

@dmlap, this is the change that the release is waiting on, correct?

@tomjohnson916
Copy link
Contributor Author

Per @BCjwhisenant internal comments yesterday, I believe this is verified and good to go.

@heff
Copy link
Member

heff commented Feb 18, 2014

@seniorflexdeveloper, can you help me by answering this question:

Could you expand on the title/description? What should be added to the swf changelog when this is pulled in?

Some kind of summary of features being added would be great.

@tomjohnson916
Copy link
Contributor Author

@heff -

  • Added support for using NetStream in Data Generation Mode
  • Extended base support for external appendData for integration with HLS / Media Source plugins
  • Fixed bug with viewport sizing on videos which don't present meta data
  • Fixed bugs with buffered and duration reporting on non-linear streams
  • Added refined seeking for use on non-linear streams
  • Extended endOfStream for use with Media Sources API

@heff
Copy link
Member

heff commented Feb 18, 2014

Awesome, thanks.

@heff heff merged commit 522e97e into videojs:master Feb 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants