React native audio recording and google speech API - react-native

I'm using Expo's Audio library to record user speech, and sends them to Google Speech API for translation.
The only format that seems to match Google speech's accepted encoding is AMR_WB. However, I am not able to find any React Native audio library to play AMR_WB files (3gp extension).
Allowing both translation and playing back of the user's recording is a core requirement.
Any suggestion on what I can do?

Related

What structure to implement for a document based app on react native

I’m a newbie to the programming world,
I’m building an app on react native for iOS and Android
The objective of the app is to give subscribers access to different pdf/word documents.
My question is to understand what structure is to be implemented for an efficient app. The question is ?
Should I develop an api which gives me The ability to upload documents and subscribers to the app can ‘Download’ PDFs. Should I use Google drive api or develop my own?
Or is there any other more efficient way to achieve the objective.
Thank you
You can use react-native-fs if your application includes the document read, download, and upload(to any URL). If you'll use Google Drive you'll be relying too much on Google services, but this package allows you to add custom operations.
Edit
You can use downloadFile for downloading a file from URL and uploadFiles for uploading.

How to play widevine drm content in react native webview or exoplayer?

I need to integrate a website to the WebView of my react native application. Website delivers DRM protected videos, to maintain the authentication flow of the website I am using webview as I don't want any legal complications later. How can I play widevine DRM videos in webview ? I have one solution in mind i.e. after authentication take the video source somehow and play it with exoplayer, but cannot figure out how to do so. Any help will be appreciated.

itunes connect metadata rejected video third party, how to resolve?

I uploaded my app to itunes connect and I waited a few days.. and then the app that I uploaded was denied one time. I send them one video explaining the app, but anyway they rejected the app.
This is the first message:
We began the review of your app but are still not able to continue because we need access to a video that demonstrates your app in use when launched on the physical device and integrating with third party product. Please showcase all app features and functionality within the video content provided. The simulation video provided will not suffice.
This is the second message:
The simulation video provided will not suffice. We need access to a video that demonstrates your app in use when launched on the physical device, and integrating with the third party product. Please showcase all app features and functionality within the video content provided.
What do I need to do? Use a screen capture software and film my app in use in the iPhone? Upload to youtube and share the link in the review notes of the app? A simple demonstration? or a expanded demonstration?

YouTube Data API V3 with iOS7 for uploading video using iPhone app

I am trying to upload a video to my YouTube channel using an iPhone application that I'm implementing. Things I have done so far;
Integrate google-api-objectivec-client in to my project
Create a project in Google API console and obtain Client ID and API
key
What I need now are,
To know that, can I upload a video to YouTube by giving Gmail
address that linked with YouTube, Password, Client ID and API key without implementing Auth 2.0 seperately?
Sample Objective C code for uploading a video to YouTube. As an
example, there is a JAVA code that I have used in my Android
application but there isn't Objective C code for use for my iPhone
application.
What is the difference between gdata-objectivec-client and
google-api-objectivec-client?
UPDTE
iOS 7 and above features, coding, tutorial is appreciated with this matter

How to play .ima4 audio file in website

I have recently created an iPhone app where i recorded voice in .ima4 format. This application uploads these recordings to my web server, where user can play these recorded files.
But i don't know how to decode or play .ima4 files in a website.
Its better to use html5 for audio playing
Consider this link for workAround for ima4 format
Refer soundmanager link for playing audio in html