fethica / FRadioPlayer

A simple radio player framework for iOS, macOS, tvOS.

Home Page:https://fethica.github.io/FRadioPlayer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After call interrupted stream metadata = nil

andrey-lisovskiy opened this issue · comments

After that incoming call has interrupted stream, call ended, then first
func radioPlayer(_ player: FRadioPlayer, metadataDidChange artistName: String?, trackName: String?) returns empty data, new data arrived few minutes later.

See log:

2019-07-14 19:22:40.063156+0300 Free Radio[15846:3911976] metadataDidChange = Sting - All This Time
2019-07-14 19:25:06.641497+0300 Free Radio[15846:3911976] metadataDidChange = 
2019-07-14 19:25:06.678216+0300 Free Radio[15846:3911976] playerStateDidChange = Ready to play
2019-07-14 19:25:06.678296+0300 Free Radio[15846:3911976] playerStateDidChange = Loading finished
2019-07-14 19:27:21.571133+0300 Free Radio[15846:3911976] metadataDidChange = Sting - Brand New Day

Thanks for reporting the issue, the player should pause when there is an interruption, I will check this.