opentok / opentok-network-test

Sample app to test network connectivity and statistics (bps, packet-lost)
MIT License
112 stars 56 forks source link

Fixed an error in OTDefaultAudioDevice #17

Closed kevinbruneau closed 8 years ago

kevinbruneau commented 8 years ago

Variable count in OTDefaultAudioDevice was redeclared. Therefore, the value outside the else scope was always 0 after the else. This also caused a warning: "The variable count is never read".

bsrao commented 8 years ago

good catch!. but please use latest audio driver from here : https://github.com/opentok/opentok-ios-sdk-samples/blob/develop/7.External-Audio-Device/External-Audio-Device/OTDefaultAudioDevice.m

Will replace the audio driver here with latest one soon.