@ Override public IBinder onBind ( Intent intent ) { Log . i ( TAG , "Service binding in response to " + intent ) ; initializeDefaultSources ( ) ; initializeDefaultSinks ( mPipeline ) ; return mBinder ; }
Initialize the service and data source when a client binds to us .