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

Commit

Permalink
Merge pull request #152 from bclwhitaker/bugfix/hls-ended
Browse files Browse the repository at this point in the history
Call NetStreamAppendBytesAction.END_SEQUENCE in endOfStream.
  • Loading branch information
dmlap committed Apr 22, 2015
2 parents f0c9262 + 9edf7cf commit 65adecb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified dist/video-js.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/com/videojs/providers/HTTPVideoProvider.as
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ package com.videojs.providers{

public function endOfStream():void{
_ending = true;
appendBytesAction(NetStreamAppendBytesAction.END_SEQUENCE);
}

public function abort():void{
Expand Down Expand Up @@ -572,7 +573,6 @@ package com.videojs.providers{
_model.broadcastEvent(new VideoPlaybackEvent(VideoPlaybackEvent.ON_STREAM_CLOSE, {info:e.info}));
_model.broadcastEventExternally(ExternalEventName.ON_PAUSE);
_model.broadcastEventExternally(ExternalEventName.ON_PLAYBACK_COMPLETE);

_startOffset = 0;
_pausedSeekValue = 0;
break;
Expand Down

0 comments on commit 65adecb

Please sign in to comment.