Skip to content

Instantly share code, notes, and snippets.

/**
* 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;
<?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.*">
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);
}
private function truncateDecimal(value:Number):Number {
return Number(value.toFixed(1)) - Number(value.toFixed(0)) == 0 ? Number(value.toFixed(0)) : Number(value.toFixed(1));
}
if(_minBitrate < _netStream.info.maxBytesPerSecond){
/**
* 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;
!live && (playlist.length == 0 || !playlist)
/**
* 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.
/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/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace RTMP
{
public class FlvStreamer