With iosrct 6.0.12 release which included the fix of the issue https://github.com/cordova-rtc/cordova-plugin-iosrtc/issues/442 ionic iOS can uses the current WebRTC API so this code is unnecessary.
With iosrct 6.0.12 release which included the fix of the issue https://github.com/cordova-rtc/cordova-plugin-iosrtc/issues/442 ionic iOS can uses the current WebRTC API so this code is unnecessary.