mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,27 @@
|
||||
package org.osmf.net.httpstreaming
|
||||
{
|
||||
import org.osmf.net.NetStreamMetricsBase;
|
||||
|
||||
public class HTTPNetStreamMetrics extends NetStreamMetricsBase
|
||||
{
|
||||
|
||||
private var httpNetStream:HTTPNetStream;
|
||||
|
||||
public function HTTPNetStreamMetrics(param1:HTTPNetStream)
|
||||
{
|
||||
super(param1);
|
||||
httpNetStream = param1;
|
||||
}
|
||||
|
||||
public function get downloadRatio() : Number
|
||||
{
|
||||
return httpNetStream.downloadRatio;
|
||||
}
|
||||
|
||||
public function getBitrateForIndex(param1:int) : Number
|
||||
{
|
||||
return this.resource.streamItems[param1].bitrate;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user