Example #1
0
        public void Initialize()
        {
            //1. initialize the database,
            _dbEngine = new DBEngine();

            //2. init the MBBMS
            // MBBMSEngine.init();

            //3. init the main view data model
            _uiDataModel = new UIDataModel(this);

            // 4.init the cmmb demux
            //StreamResourceInfo streaminfo = Application.GetResourceStream(new Uri("Resources/cmmb.mfs", UriKind.Relative));
            //var cmmb_stream = streaminfo.Stream;
            //_demux = new CmmbDemux(streaminfo.Stream);
            //cmmb_stream.Close();

            //5. init cmmb stream provider
            _cmmbStreamQueue = new WorkQueue();
            _provider        = new MUXProvider(_cmmbStreamQueue);
        }
Example #2
0
        public void Initialize()
        {
            //1. initialize the database,
            _dbEngine = new DBEngine();

            //2. init the MBBMS
            // MBBMSEngine.init();

            //3. init the main view data model
            _uiDataModel = new UIDataModel(this);

            // 4.init the cmmb demux
            //StreamResourceInfo streaminfo = Application.GetResourceStream(new Uri("Resources/cmmb.mfs", UriKind.Relative));
            //var cmmb_stream = streaminfo.Stream;
            //_demux = new CmmbDemux(streaminfo.Stream);
            //cmmb_stream.Close();

            //5. init cmmb stream provider
            _cmmbStreamQueue = new WorkQueue();
            _provider = new MUXProvider(_cmmbStreamQueue);
        }