Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/org/mineap/nndd/player/PlayerController.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 569 by mineap, Fri May 20 12:21:17 2011 UTC revision 573 by mineap, Sun May 22 09:09:58 2011 UTC
# Line 1808  package org.mineap.nndd.player Line 1808  package org.mineap.nndd.player
1808                                                                                    
1809                                          // 100%読み込みしたはずなのに読み込み済みバイト数が異常に少ない。                                          // 100%読み込みしたはずなのに読み込み済みバイト数が異常に少ない。
1810                                          if(this.bytesLoaded <= 64){                                          if(this.bytesLoaded <= 64){
1811                                                  if(this.streamingRetryCount <= 3 ){                                                  if(this.streamingRetryCount <= 1 ){
1812                                                          // 再生し直す                                                          // 再生し直す
1813                                                          this.streamingRetryCount++;                                                          this.streamingRetryCount++;
1814                                                            var timeStr:String = String(int(10000*this.streamingRetryCount / 1000));
1815                                                          stop();                                                          stop();
1816                                                          logManager.addLog("ニコ動へのアクセスの再試行(動画読み込みに失敗:読み込み済みバイト数:" + this.bytesLoaded + ")");                                                          logManager.addLog("ニコ動へのアクセスの再試行(動画読み込みに失敗:読み込み済みバイト数:" + this.bytesLoaded + ")");
1817                                                          videoPlayer.label_downloadStatus.text = "動画の読み込みに失敗したため、再試行します。(" + this.streamingRetryCount  +"回目 )";                                                          videoPlayer.label_downloadStatus.text = "動画の読み込みに失敗したため、再試行します。(" + timeStr + "秒後、" + this.streamingRetryCount  +"回目 )";
1818                                                                                                                    
1819                                                          if(nicoVideoAccessRetryTimer != null){                                                          if(nicoVideoAccessRetryTimer != null){
1820                                                                  nicoVideoAccessRetryTimer.stop();                                                                  nicoVideoAccessRetryTimer.stop();
1821                                                                  nicoVideoAccessRetryTimer = null;                                                                  nicoVideoAccessRetryTimer = null;
1822                                                          }                                                          }
1823                                                          nicoVideoAccessRetryTimer = new Timer(5000*this.streamingRetryCount, 1);                                                          nicoVideoAccessRetryTimer = new Timer(10000*this.streamingRetryCount, 1);
1824                                                          nicoVideoAccessRetryTimer.addEventListener(TimerEvent.TIMER_COMPLETE, function(event:Event):void{                                                          nicoVideoAccessRetryTimer.addEventListener(TimerEvent.TIMER_COMPLETE, function(event:Event):void{
1825                                                                  (event.currentTarget as Timer).stop();                                                                  (event.currentTarget as Timer).stop();
1826                                                                  play();                                                                  play();
# Line 2907  package org.mineap.nndd.player Line 2908  package org.mineap.nndd.player
2908                   */                   */
2909                  private function setNicoVideoPageInfo(videoId:String, delay:int, onlyOwnerText:Boolean = false):void{                  private function setNicoVideoPageInfo(videoId:String, delay:int, onlyOwnerText:Boolean = false):void{
2910                                                    
2911                          if(retryCount > 5){                          if(retryCount > 3){
2912                                  trace("setNicoVideoPageInfoのリトライオーバー");                                  trace("setNicoVideoPageInfoのリトライオーバー");
2913                                  logManager.addLog("動画ページ詳細情報の取得に失敗(リトライオーバー):" + _videoID);                                  logManager.addLog("動画ページ詳細情報の取得に失敗(リトライオーバー):" + _videoID);
2914                                  return;                                  return;

Legend:
Removed from v.569  
changed lines
  Added in v.573

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26