我正在使用官方 libspotify.so 在 android 中进行 spotify 流式传输。现在我可以连接到 Spotify AP,但状态仍未登录。
Initialise() 成功,callback_notify_main_thread 被调用
10-26 14:00:05.925: PID:1419, TID:1419 D/MBS: --- Session:Initialise
10-26 14:00:05.935: PID:1419, TID:1419 D/MBS: --- Session:callback_notify_main_thread
10-26 14:00:05.935: PID:1419, TID:1419 D/MBS: --- Session:Initialise:end:0
login() 调用“成功”,callback_log_message 显示无法离线登录,日志状态为 false
10-26 14:00:05.935: PID:1419, TID:1419 D/MBS: --- Session:login
10-26 14:00:05.935: PID:1419, TID:1419 D/MBS: --- Session:OnLogMessage, data: 11:00:05.943 I [offline_authorizer.cpp:297] Unable to login offline: no such user
10-26 14:00:05.945: PID:1419, TID:1419 D/MBS: --- Session:login:end:0
10-26 14:00:05.945: PID:1419, TID:1419 D/MBS: --- Session:IsLoggedIn:false
更多 callback_log_messages 来自不同的线程
10-26 14:00:05.945: PID:1419, **TID:1427** D/MBS: --- Session:OnLogMessage, data: 11:00:05.951 I [ap:1752] Connecting to AP ap.spotify.com:4070
10-26 14:00:05.965: PID:1419, **TID:1427** D/MBS: --- Session:OnLogMessage, data: 11:00:05.969 I [network.cpp:438] Connecting to 78.31.8.42:4070
10-26 14:00:06.015: PID:1419, **TID:1427** D/MBS: --- Session:OnLogMessage, data: 11:00:06.014 I [ap:1226] Connected to AP: 78.31.8.42:4070
在连接到发现 ap 后,日志记录状态仍然为 false,没有调用 callback_logged_in
10-26 14:33:38.095: PID:1419, TID:1419 D/MBS: --- Session:IsLoggedIn:false
任何想法,谢谢。