Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

- #219 fix the clip dimensions if none is set for the stream. #223

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions plugins/httpstreaming/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Version history:
- #70 fixes for live streams
- #70 fixes for buffer start value.
- #136 when we are streaming live and not in dvr mode set the duration to zero in the index handler instead of the metadata callback.
- #219 fix the clip dimensions if none is set for the stream.

3.2.10
------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,28 +172,19 @@ package org.flowplayer.httpstreaming {
}
}

/*override protected function onMetaData(event:ClipEvent):void {
override protected function onMetaData(event:ClipEvent):void {
log.debug("in NetStreamControllingStremProvider.onMetaData: " + event.target);

//#70 remove clip duration for live streams and when not dvr recording
if (clip.live && !isDvr) {
clip.metaData.duration = 0;
clip.duration = 0;
clip.durationFromMetadata = 0;
//#219 fix the clip dimensions if none is set for the stream.
if (isNaN(clip.metaData.width)) {
clip.metaData.width = _player.screen.getDisplayObject().width;
clip.metaData.height = _player.screen.getDisplayObject().height;
}

super.onMetaData(event);


if (! clip.startDispatched) {
clip.dispatch(ClipEventType.START, pauseAfterStart);
clip.startDispatched = true;
}

if (pauseAfterStart) {
pauseToFrame();
}
switching = false;
} */
}

override public function get allowRandomSeek():Boolean {
return true;
Expand Down