override protected void OnAttach() { if (factory==null) factory = new FLVContentReaderFactory(); Application.PeerCast.ContentReaderFactories.Add(factory); }