Comments (5)
@adeelabbas we will take a look into your demo. have you changed anything or you are using the original demo?
from api-examples.
I added code to use AVAssetWriter and AVAudioSession to write a local audio file
from api-examples.
i would suggest you to stick to agora audio capture, and use onRecordedAudioFrame callback to process the audio recording file writing. If you are starting your own AVAudioSession, it would be easy to conflict with agora sdk.
from api-examples.
Do you folks have a sample app that we can use to record local audio file using onRecordedAudioFrame
callbacks?
from api-examples.
@adeelabbas
if you only need to record local mic, you can refer to this demo
https://github.com/AgoraIO/API-Examples/blob/main/iOS/APIExample/APIExample/Examples/Advanced/RawMediaData/RawMediaData.swift
if you want to record all audios in the channel, you may look into this to learn to how process raw audio data.
https://github.com/AgoraIO/API-Examples/blob/main/iOS/APIExample/APIExample/Examples/Advanced/RawAudioData/RawAudioData.swift
from api-examples.
Related Issues (20)
- Screen share not working when setExternalVideoSource
- Live Streaming uses the GlobalSettings so it does not set the user to audience when choosing that role
- Unable to set camera video and screen share both stream at the same time in on going video call for same channel.
- Handling when user click STOP SHARE button on Chrome? HOT 1
- Agora cloud recording's best fit layout is not working properly HOT 1
- 收到remote端同时的摄像头和共享桌面视频流,应该怎么分开这两个视频流用于分开显示 HOT 1
- 接口joinChannelEx返回错误码-8的问题 HOT 1
- demo
- Implement Video playback for video calls
- Issue with Agora ScreenSharing Android
- IOS demo运行项目进入崩溃 HOT 1
- engine.muteLocalAudioStream(true), it doesn't work. HOT 1
- How to use IVideoSource in agora 4.2.6 HOT 3
- enableVideoImageSource in Android SDK sample does not work HOT 1
- Agora cloud recording- failed to find worker HOT 1
- Is it possible to share screen and Video feed together in Android
- iOS push image panorama to AgoraVideoFrame?
- iOS `setVideoFrameDelegate` does not work as expected.
- Is the speech enhancement algorithm running locally or in the cloud?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-examples.