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

Call NetStreamAppendBytesAction.END_SEQUENCE in endOfStream. #152

Merged
merged 1 commit into from
Apr 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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