How to know video is coming or not?


hi,

 

if video not coming, i'm showing image in live player (using ns.info.databufferbytelength ).

but working fmle stream. not working online broadcaster stream.

 

if broadcast stream online broadcater code showing every time "no video" in trace.

 

any solution check video coming or not in player?

 

case "netstream.play.start" :           if(ns.info.databufferbytelength > 24)           {                     trace("video");                     image.visible = false;           }           else           {                         trace("no video");                     image.visible = true;                                } 

i don't think shopwing enough code explain trying - show looks middle of switch.  in case, should using trace() see status of conditions can determine why same result.



More discussions in ActionScript 3


adobe

Comments