예제 #1
0
        public bool Stop()
        {
            var result = NativeApi.HWEncoderStop(EncodeHandle);

            NativeErrorListener.Check(result, this, "Stop");
            return(result == 0);
        }
예제 #2
0
        public void Destroy()
        {
            var result = NativeApi.HWEncoderDestroy(EncodeHandle);

            NativeErrorListener.Check(result, this, "Destroy");
        }
예제 #3
0
        public void UpdateSurface(IntPtr texture_id, UInt64 time_stamp)
        {
            var result = NativeApi.HWEncoderUpdateSurface(EncodeHandle, texture_id, time_stamp);

            NativeErrorListener.Check(result, this, "UpdateSurface");
        }
예제 #4
0
        public void SetConfigration(NativeEncodeConfig config)
        {
            var result = NativeApi.HWEncoderSetConfigration(EncodeHandle, LitJson.JsonMapper.ToJson(config));

            NativeErrorListener.Check(result, this, "SetConfigration");
        }