This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by s.shvyrev on 20.05.2014. | |
*/ | |
package { | |
import flash.events.EventDispatcher; | |
import flash.events.NetStatusEvent; | |
import flash.events.SecurityErrorEvent; | |
import flash.net.NetConnection; | |
import flash.utils.clearInterval; | |
import flash.utils.setInterval; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" | |
width="100%" height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off" | |
xmlns:model="datech.comdi.model.*" xmlns:layouts="datech.comdi.ui.layouts.*" | |
xmlns:panels="datech.comdi.ui.panels.*" | |
preloader="datech.comdi.ui.components.preloader.ComdiPreloader" | |
backgroundColor="0xb8babf" | |
initialize="initPlayer()" xmlns:player="datech.comdi.ui.components.player.*" | |
xmlns:external="datech.comdi.external.*" xmlns:settings="datech.comdi.settings.*" | |
xmlns:utils="datech.comdi.utils.*"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function insert(item:WebinarRecordLogItem):void { | |
fixtime(item); | |
while (_last && item.time > _last.time) { | |
_last && _mergedpush(_last); | |
next(); | |
fixtime(item); | |
} | |
debug && log.info("\t" + item.time + " --> " + item.line); | |
_merged.push(item); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function truncateDecimal(value:Number):Number { | |
return Number(value.toFixed(1)) - Number(value.toFixed(0)) == 0 ? Number(value.toFixed(0)) : Number(value.toFixed(1)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(_minBitrate < _netStream.info.maxBytesPerSecond){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by s.shvyrev on 23.05.2014. | |
*/ | |
package com.comdi.kraken.player.utils.environment_test { | |
import com.comdi.kraken.player.utils.environment_test.event.EnvironmentTestErrorEvent; | |
import flash.events.EventDispatcher; | |
import flash.events.IEventDispatcher; | |
import flash.events.TimerEvent; | |
import flash.net.NetStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!live && (playlist.length == 0 || !playlist) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by s.shvyrev on 17.06.2014. | |
*/ | |
package utils { | |
import flash.display.Bitmap; | |
import flash.display.Shape; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.geom.Rectangle; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/26/3APf8rq2A6mGczTacnHH7EepxmcllAMY.jpg","fileId":161935},"key":"presentation.slide.setCurrent","time":1401088770.5962} | |
[trace] WebinarRecordLogFacade [INFO] 3992590 --> {"data":{"slideName":"10.jpg","drawing":[],"thumbnail":{"url":"http://storage.webinar.ru/files/2014/05/26/pXC8chBLsC3WhnERn2xyoCi9iCnH0drp.jpg"},"id":1985531,"url":"http://storage.webinar.ru/files/2014/05/26/Qj1sobw5PJh3fhydCbLZTVEasZIffizJ.jpg","fileId":161935},"key":"presentation.slide.setCurrent","time":1401088775.4549} | |
[trace] WebinarRecordLogFacade [INFO] 3994080 --> {"data":{"slideName":"11.jpg","drawing":[],"thumbnail":{"url":"http://storage.webinar.ru/files/2014/05/26/KkmiHpDZo0Mgn7N73vdK6JsYNohuSqtB.jpg"},"id":1985533,"url":"http://storage.webinar.ru/files/2014/05/26/hXjucqRkKAuj8SEe499YlW9g3R3Au0gH.jpg","fileId":161935},"key":"presentation.slide.setCurrent","time":1401088776.9451} | |
[trace] WebinarRecordLogFacade [INFO] 3996520 --> {"data":{"slideName":"10.jpg","drawing":[],"thumbnail":{"url":"http://storage.webinar.ru/files/2014/05/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Diagnostics; | |
namespace RTMP | |
{ | |
public class FlvStreamer |
OlderNewer