mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-02 22:59:33 +02:00
added 1 sec buffering to rtmp player
This commit is contained in:
parent
c442e1fc2d
commit
db3fc521d8
|
@ -42,6 +42,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
private function init():void {
|
private function init():void {
|
||||||
|
videoDisplay.mx_internal::videoPlayer.bufferTime = 1;
|
||||||
|
|
||||||
streamer = FlexGlobals.topLevelApplication.parameters.streamer;
|
streamer = FlexGlobals.topLevelApplication.parameters.streamer;
|
||||||
if(streamer == null) {
|
if(streamer == null) {
|
||||||
Alert.show('Missing flashvars: streamer');
|
Alert.show('Missing flashvars: streamer');
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue