How to use a fork of a cordova plugin in ionic

Hey guys,

I am struggling to accept the low soundquality while recording audio with the native media plugin and the corresponding cordova plugin.
8khz in Android is just not bareable for customers.

So I would like to use this one instead where I can set the compression and bitrate myself.

Here is my challenge:
How can I install that thing within ionic?
I tried removing the original cordova plugin and installing the new one. Of course this was not enough since the new one has additional functions like startRecordWithCompression(option);

These cannot be found, understandable.

What steps are needed to get the new plugin integrated?
Can you point me to somewhere where I can read and learn to achieve that?