예제 #1
0
        public static void OnFirstRemoteVideoDecodedHandlerThread(uint uid, int width, int height, int elapsed)
        {
            RemoteVoideoInfo rvi = new RemoteVoideoInfo();

            rvi.this_   = the_form;
            rvi.uid     = uid;
            rvi.width   = width;
            rvi.height  = height;
            rvi.elapsed = elapsed;
            main_thread_sync_context_.Post(
                new SendOrPostCallback(OnFirstRemoteVideoDecodedHandlerUI), rvi);
        }
예제 #2
0
        public static void OnFirstRemoteVideoDecodedHandlerUI(object state)
        {
            RemoteVoideoInfo rvi = (RemoteVoideoInfo)state;

            rvi.this_.OnFirstRemoteVideoDecodedHandler(rvi.uid, rvi.width, rvi.height, rvi.elapsed);
        }