rxlabz / audioplayer

A flutter plugin to play audio files iOS / Android / MacOS / Web ( Swift/Java )
https://pub.dartlang.org/packages/audioplayer
494 stars 189 forks source link

Can we get the audioSessionId? #142

Open UwaisWisitech opened 3 years ago

UwaisWisitech commented 3 years ago

I want to retrieve audioSessionId, how can I get that?

moda20 commented 3 years ago

on what platform you are trying to do this?

UwaisWisitech commented 3 years ago

I want it on android and iOS both.

On Fri, 16 Oct 2020 at 12:44 AM, moda20 notifications@github.com wrote:

on what platform you are trying to do this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rxlabz/audioplayer/issues/142#issuecomment-709536560, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYECNB6GTJNBVTOX27EKTSK5CXXANCNFSM4SQOQAWA .

moda20 commented 3 years ago

I don't think this repository implements mediaSession at all, at least on android i am pretty sure. And what are you doing with it exactly? I did extend an older version of this repo to include mediaSessions and audio focus, if you are interested in that. Otherwise, you would have to code it yourself.

UwaisWisitech commented 3 years ago

I want to implement custom equaliser on playing audio, for that I need audioSessionId.

On Fri, 16 Oct 2020 at 1:24 AM, moda20 notifications@github.com wrote:

I don't think this repository implements mediaSession at all, at least on android i am pretty sure. And what are you doing with it exactly? I did extend an older version of this repo to include mediaSessions and audio focus, if you are interested in that. Otherwise, you would have to code it yourself.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rxlabz/audioplayer/issues/142#issuecomment-709556396, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALBYECIE4TJYONYKZWHUPRLSK5HRDANCNFSM4SQOQAWA .

moda20 commented 3 years ago

Like I said this repository, does not implement mediaSession in the firstPlace. So you can't get a sessionID with it.