Why am I getting 'appIsNotActive' error when starting recording?
Why am I getting 'appIsNotActive' error when starting recording?
This error occurs when you try to start recording while your app is in the background. iOS doesn’t allow apps to begin audio recording in the background.Solution:
Handle the appIsNotActive error by catching it specifically and showing an alert asking the user to bring the app to the foreground before attempting to start recording.Ensure your app is in the foreground before attempting to start recording.
Why is my session initialization failing?
Why is my session initialization failing?
Session initialization can fail for several reasons:Common causes:
- Invalid partner information
- Network connectivity issues
- Authentication token problems
- Missing microphone permissions
Why is content generation taking too long?
Why is content generation taking too long?
Content generation delays can be caused by:Common causes:
- Long session duration (more audio to process)
- Poor audio quality requiring additional processing
- Network issues during upload
- High server load during peak times
- Large session context or metadata
- Monitor session events for real-time updates
- Implement timeout handling
- Check network connectivity
- Ensure good audio recording conditions
Why am I not receiving session delegate events?
Why am I not receiving session delegate events?
If you’re not receiving delegate events, check:Common issues:
- Delegate not properly set during initialization
- Delegate object deallocated
- Not implementing the protocol method correctly
Why is audio quality poor in my recordings?
Why is audio quality poor in my recordings?
Poor audio quality can affect AI-generated content accuracy:Common causes:
- Background noise interference
- Device microphone obstruction
- Poor recording environment
- Low device volume settings
- Hardware issues
- Record in quiet environments
- Ensure microphone isn’t blocked
- Test with different devices
- Check device audio settings
- Implement audio level monitoring
How do I debug token provider issues?
How do I debug token provider issues?
Token provider problems can prevent SDK functionality:Common issues:
- Token expiration
- Invalid token format
- Network issues during token fetch
- Authentication service problems
Why is offline mode not working correctly?
Why is offline mode not working correctly?
Offline mode issues can include:Common problems:
- Data not syncing when back online
- Sessions lost during offline mode
- Storage space issues
- Incorrect offline state detection
- Check available device storage
- Monitor offline/online events
- Verify network state detection
- Test offline functionality in controlled conditions
How do I handle memory issues with the SDK?
How do I handle memory issues with the SDK?
Memory management best practices:Common causes:
- Not properly ending sessions
- Retaining large audio buffers
- Memory leaks in delegate implementations
- Multiple concurrent sessions
- Always end or cancel sessions when done
- Implement proper delegate cleanup
- Monitor memory usage during development
- Use Instruments to profile memory usage