Nixed debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@703 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -221,7 +221,7 @@ public class FlvVideoPlayer extends EventDispatcher
|
|||||||
|
|
||||||
protected function handleStreamNetStatus (event :NetStatusEvent) :void
|
protected function handleStreamNetStatus (event :NetStatusEvent) :void
|
||||||
{
|
{
|
||||||
log.debug("NetStatus", "level", event.info.level, "code", event.info.code);
|
// log.debug("NetStatus", "level", event.info.level, "code", event.info.code);
|
||||||
|
|
||||||
switch (event.info.code) {
|
switch (event.info.code) {
|
||||||
case "NetStream.Play.Stop":
|
case "NetStream.Play.Stop":
|
||||||
@@ -266,12 +266,10 @@ public class FlvVideoPlayer extends EventDispatcher
|
|||||||
*/
|
*/
|
||||||
protected function handleMetaData (info :Object) :void
|
protected function handleMetaData (info :Object) :void
|
||||||
{
|
{
|
||||||
log.info("Got video metadata:");
|
// log.debug("Got video metadata:");
|
||||||
for (var n :String in info) {
|
// for (var n :String in info) {
|
||||||
log.info(" " + n + ": " + info[n]);
|
// log.debug(" " + n + ": " + info[n]);
|
||||||
}
|
// }
|
||||||
|
|
||||||
// TODO: total duration is info.duration
|
|
||||||
|
|
||||||
if ("duration" in info) {
|
if ("duration" in info) {
|
||||||
_duration = Number(info.duration);
|
_duration = Number(info.duration);
|
||||||
|
|||||||
Reference in New Issue
Block a user