Ignore:
Timestamp:
09/17/10 11:23:53 (4 years ago)
Author:
jeroen
Message:

fixed a bug in RTMPT error handling. Fixed a bug in HTTP continuous bitrate switching. Fixed a bug for playlist PNG rollovers without itemActive element. Added logic for hiding the image/description of playlist buttons when the button is <40px high or <240px wide. Added RST documentation on HTTP _droppedframes, HTTP DVR, RTMP DVRCast, RTMP _droppedframes, RTMP Tunneling and small playlist button element hiding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/src/com/longtailvideo/jwplayer/media/RTMPMediaProvider.as

    r1268 r1280  
    11/** 
    22 * Wrapper for playback of _video streamed over RTMP. 
    3  * 
    4  * All playback functionalities are cross-server (FMS, Wowza, Red5) 
    53 **/ 
    64package com.longtailvideo.jwplayer.media { 
     
    8886                        _connections = new Array(); 
    8987            var untunneled:NetConnection = new NetConnection(); 
    90             untunneled.addEventListener(NetStatusEvent.NET_STATUS, statusHandler); 
    9188            untunneled.objectEncoding = ObjectEncoding.AMF0; 
    9289            untunneled.client = new NetClient(this); 
     
    9491            var tunneled:NetConnection = new NetConnection(); 
    9592            tunneled = new NetConnection(); 
    96             tunneled.addEventListener(NetStatusEvent.NET_STATUS, statusHandler); 
    9793            tunneled.objectEncoding = ObjectEncoding.AMF0; 
    9894            tunneled.client = new NetClient(this); 
     
    508504                        _stream.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); 
    509505                        _stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorHandler); 
    510                         if(getConfigProperty('dvr')) { 
    511                                 _stream.bufferTime = 5; 
     506                        if(getConfigProperty('dvr') || getConfigProperty('subscribe')) { 
     507                                _stream.bufferTime = 3; 
    512508                        } else {  
    513509                                _stream.bufferTime = config.bufferlength; 
     
    535531                        _connections[_connection].addEventListener(IOErrorEvent.IO_ERROR, errorHandler); 
    536532                        _connections[_connection].addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorHandler); 
     533                        _connections[_connection].addEventListener(NetStatusEvent.NET_STATUS, statusHandler); 
    537534                        clearTimeout(_connectionTimeout); 
    538535                    } else { 
Note: See TracChangeset for help on using the changeset viewer.