Changeset 772
- Timestamp:
- 01/07/10 16:09:19 (3 years ago)
- Location:
- trunk/fl5
- Files:
-
- 3 edited
-
player.swf (modified) (previous)
-
src/com/longtailvideo/jwplayer/player/PlayerVersion.as (modified) (1 diff)
-
src/com/longtailvideo/jwplayer/utils/NetClient.as (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerVersion.as
r771 r772 3 3 4 4 public class PlayerVersion { 5 protected static var _version:String = "5. 0.771";5 protected static var _version:String = "5.1.772"; 6 6 7 7 public static function get version():String { -
trunk/fl5/src/com/longtailvideo/jwplayer/utils/NetClient.as
r458 r772 5 5 6 6 7 public class NetClient {7 public dynamic class NetClient { 8 8 /** Function to callback all events to **/ 9 9 private var callback:Object; … … 13 13 public function NetClient(cbk:Object):void { 14 14 callback = cbk; 15 }; 16 15 } 17 16 18 17 /** Forward calls to callback **/ … … 24 23 } 25 24 callback.onData(out); 26 }; 27 25 } 28 26 29 27 /** Checking the available bandwidth. **/ 30 28 public function close(... rest):void { 31 29 forward({close: true}, 'close'); 32 }; 33 30 } 34 31 35 32 /** Checking the available bandwidth. **/ 36 33 public function onBWCheck(... rest):Number { 37 34 return 0; 38 }; 39 35 } 40 36 41 37 /** Receiving the bandwidth check result. **/ … … 44 40 forward({bandwidth: rest[0]}, 'bandwidth'); 45 41 } 46 }; 47 42 } 48 43 49 44 /** Captionate caption handler. **/ 50 45 public function onCaption(cps:String, spk:Number):void { 51 46 forward({captions: cps, speaker: spk}, 'caption'); 52 }; 53 47 } 54 48 55 49 /** Captionate metadata handler. **/ 56 50 public function onCaptionInfo(obj:Object):void { 57 51 forward(obj, 'captioninfo'); 58 }; 59 52 } 60 53 61 54 /** Cuepoint handler. **/ 62 55 public function onCuePoint(obj:Object):void { 63 56 forward(obj, 'cuepoint'); 64 }; 65 57 } 66 58 67 59 /** CDN subscription handler. **/ 68 60 public function onFCSubscribe(obj:Object):void { 69 61 forward(obj, 'fcsubscribe'); 70 }; 71 62 } 72 63 73 64 /** Get headerdata information from netstream class. **/ … … 81 72 } 82 73 forward(dat, 'headerdata'); 83 }; 84 74 } 85 75 86 76 /** Image data (iTunes-style) handler. **/ 87 77 public function onID3(... rest):void { 88 78 forward(rest[0], 'id3'); 89 }; 90 79 } 91 80 92 81 /** Image data (iTunes-style) handler. **/ 93 82 public function onImageData(obj:Object):void { 94 83 forward(obj, 'imagedata'); 95 }; 96 84 } 97 85 98 86 /** Lastsecond call handler. **/ 99 87 public function onLastSecond(obj:Object):void { 100 88 forward(obj, 'lastsecond'); 101 }; 102 89 } 103 90 104 91 /** Get metadata information from netstream class. **/ 105 92 public function onMetaData(obj:Object):void { 106 93 forward(obj, 'metadata'); 107 }; 108 94 } 109 95 110 96 /** Receive NetStream playback codes. **/ … … 115 101 forward(dat, 'playstatus'); 116 102 } 117 }; 118 103 } 119 104 120 105 /** Quicktime broadcaster pixel. **/ 121 106 public function onSDES(... rest):void { 122 107 forward(rest[0], 'sdes'); 123 }; 124 108 } 125 109 126 110 /** Receiving the bandwidth check result. **/ 127 111 public function onXMPData(... rest):void { 128 112 forward(rest[0], 'xmp'); 129 } ;113 } 130 114 131 115 public function onXMP(... rest):void { 116 onXMPData(rest); 117 } 118 132 119 /** RTMP Sample handler (what is this for?). **/ 133 120 public function RtmpSampleAccess(... rest):void { 134 121 forward(rest[0], 'rtmpsampleaccess'); 135 }; 136 122 } 137 123 138 124 /** Textdata handler (MP4 text tracks). **/ 139 125 public function onTextData(obj:Object):void { 140 126 forward(obj, 'textdata'); 141 }; 142 }; 127 } 128 129 } 143 130 }
Note: See TracChangeset
for help on using the changeset viewer.
