VapiAI / client-sdk-flutter

MIT License
8 stars 6 forks source link

Unable to set audio device if user project does not have `daily_flutter` as a direct dependency. #11

Closed sahej-dev closed 2 months ago

sahej-dev commented 2 months ago

The method to set audio device required an argument of type DeviceId which is defined in the daily_flutter (a third-party package). Hence, any project using this package which is not directly depending on daily_flutter is unable to use the method.

void setAudioDevice({required DeviceId deviceId}) {
    _client!.setAudioDevice(deviceId: deviceId);
}