render audio in realtime in Watch OS - watchos

Is it possible to render PCM audio in realtime to the speaker/headphones/active audio route on the Apple Watch? In iOS, this is possible through AudioUnits using AudioToolbox. In Watch OS, the closest thing seems to be AVAudioEngine and it's manual render mode, but the documentation is confusing and suggests manual render mode is disconnected from an output source. Any advice on rendering audio bytes on realtime on Watch OS would be much appreciated.
Thanks.

You should be able to do this starting WatchOS 6.0+ and the new AVAudioSourceNode. See Apple Documentation here: https://developer.apple.com/documentation/avfoundation/avaudiosourcenode
As of this writing AVAudioSourceNode is in beta.

Related

agora.io video : can't change audio volume

i am trying to implementing agora video to my project already tried build it on WebGL and VR and it's work great, but for some reason cant change the audio volume on Quest device, even thought my quest volume is set to 0 but still hear it for some reason
Thanks in advance!

React native video as GL texture

It seems it’s not possible to use a video as a texture with expo-gl (texImage2D is not able to take any video params, cf. context definition and API documentation). This feature is currently requested on the canny.
I'm looking to convert an expo-av video to an ArrayBuffer with pixel data or any way to pass a video as a texture to a shader.
I made some research but I didn't find any solution for the moment:
gl-react: video processing: https://github.com/gre/gl-react/issues/215
react-native-gpuimage (react-native-video is not working inside GL.Node): https://github.com/CubeSugar/react-native-GPUImage/issues/1
Actually, this could be interesting: https://github.com/shahen94/react-native-video-processing. This library purpose is to edit, trim and compress videos, but there's actually no way to pass custom shaders.
A lot of issues has been open on Github (even on the expo org expo-three package) but there's no answer yet. I'm looking for resources or any advice to accomplish this. For the moment, the best solution I can see is to do a sprite sheet.

How to make simple Audio Player in React Native

I am working on React-Native application. I have to play Audio using URL(podcast) source.
The UI should be like following.
I have tried react-native-video library, But, The UI is different.
https://www.npmjs.com/package/react-native-video
Is there any other library available to achieve this?
I have to show Progressbar(Slider), Play/Pause/Stop, Title. And I have to play audio in background state too.
Any suggestions?
You can use this library,
it has everything like Play audio files, stream audio from URL
https://www.npmjs.com/package/react-native-sound-player
react-native-track-player provides almost all features a audio player, you can also use it to play audio in background, used it for this app

Mini210 can not play any video

I have the Mini210 board, I Installed both WINCE6 & Android on it.
I can not play any video, Like MP4 ,264 or AVI on it.
it does not recognize any of this formats.
I looked at It's BSP on wince, it only have two drivers. and does not have any driver for MFC( multi format video codec).
any Idea how to fix this problem?
In WinCE it is I believe your responsibility to select the required video format support in Platform Builder

Can I play flash video file on iPad?

I want to make simple project which play flash video file from online.
I've searched some articles and read carefully.
But I can't understand, how to play flash video files on iPad by Code.
So I need help from you.
Please.
Simply put, without being jailbroken, No you cannot.
The closest thing to being able to view flash in iOS is Frash, and I am not even sure if it is actively being developed or supported any more.
You can always check out the open source project for Frash. by Comex.
All IOS devices don´t support Flash player, but is be possible to use a Javascript or HTML5 player for video.
No, iWhatever's currently do not and to the best of my surfing knowledge, have no intention of supporting flash format due to some argument between apple and adobe.
At the end of the day, the Flash video format is a container for a movie that’s been compressed by some codec. If you can get to the source file, you know the format of the container, you know the codec that was used to encode the video, and you know how to write code to convert that into audio streams and video frames, then yes, you can play Flash videos on the iPad.
So, to recap:
Get the Flash video file.
Get to the encoded video data in the Flash file.
Decode the video and convert it, either into raw audio and video or to another format that the iPad can play.
Play the result of #3.
Needless to say, this is quite the endeavor. It’s better to download the movies to your desktop and convert them there before loading them into your application.
Yes you can! The question is whether or not you can play the video itself not whether or not ipads support flash player.
the answer is this.. new versions of "flash video" have a f4v file extension. These videos are basically a h.264 mp4 files. You "may" be able to play it in an ipad simply by renaming it to .mp4
If that doesn't work then use a utility like Miro to convert your "flash video" to a format that your ipad will accept. http://www.mirovideoconverter.com/