public bool Stop() { var result = NativeApi.HWEncoderStop(EncodeHandle); NativeErrorListener.Check(result, this, "Stop"); return(result == 0); }
public void Destroy() { var result = NativeApi.HWEncoderDestroy(EncodeHandle); NativeErrorListener.Check(result, this, "Destroy"); }
public void UpdateSurface(IntPtr texture_id, UInt64 time_stamp) { var result = NativeApi.HWEncoderUpdateSurface(EncodeHandle, texture_id, time_stamp); NativeErrorListener.Check(result, this, "UpdateSurface"); }
public void SetConfigration(NativeEncodeConfig config) { var result = NativeApi.HWEncoderSetConfigration(EncodeHandle, LitJson.JsonMapper.ToJson(config)); NativeErrorListener.Check(result, this, "SetConfigration"); }