Hi, I tried it and I got the context below when initializing.
Change
New devices: [ .... ]
When I disconnect AirPods, the log Output won't be shown anymore but I got nothing more.
When I disconnect the AirPods, it was not shown on Settings app.
I tried this code
for i in 0..<60 {
sleep(1)
for device in discovery_session.devices {
print(device.localizedName)
}
}
session.stopRunning()
Then it seems that the devices list is not updated. This code prints the same content every time while the app is runnning.
I don't have EarPods now, so I will try it later.
Topic:
Media Technologies
SubTopic:
Audio
Tags: