             print("category " + category.rawValue);
             print("mode " + mode.rawValue);
             print("displayNotification " + displayNotification.description);
-            
-            //        log("url: "+url.absoluteString)
+            print("url: " + url.absoluteString)
+
             /* set session category and mode with options */
             if #available(iOS 10.0, *) {
                 try AVAudioSession.sharedInstance().setCategory(category, mode: mode, options: [.mixWithOthers])

        var url : URL
        
        if(audioType == "network" || audioType == "liveStream"){
            let urlStr : String = path.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
            if let u = URL(string: urlStr) {
                return u
            } else {
                print("Couldn't parse myURL = \(urlStr)")
                return nil
            }
            

                    result(FlutterError(
                        code: "PLAY_ERROR",
                        message: "Cannot play "+assetPath,
                        details: item.error?.localizedDescription)
                    );
                @unknown default:
                    fatalError()
