* core: update/fix webrtc frame encryption function to return error * ios: update C header * more tests