Simple class for routing sounds to speaker / phone speaker. Made because to solve webRTC routing problems.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like JBMessage in your projects.
platform :ios, '8.0'
pod 'JBSoundRouter'
###** Note ** After a bit of strugling I've realized that integration with CocoaPods isn't so stabile. Please avoid it until 0.36 goes out of beta.
If your want to use JBSoundRouter inside Objective-C class please import JBSoundRouterDefines in your Project-Bridging-Header.h
#import "JBSoundRouterDefines.h"
JBSoundRouter.routeSound(JBSoundRoute.Speaker)
[JBSoundRouter routeSound:JBSoundRouteSpeaker];
JBSoundRouter.routeSound(JBSoundRoute.PhoneSpeaker)
[JBSoundRouter routeSound:JBSoundRoutePhoneSpeaker];