flutter_plugin_playlist icon indicating copy to clipboard operation
flutter_plugin_playlist copied to clipboard

Some remote streams require to hit play button twice to begin playback

Open Mitsik opened this issue 6 years ago • 4 comments

Hi, I use project's example on iOS 13. I set this url as assetUrl: http://stream.89.0rtl.de/mix/mp3-256/liveonlineradio/play you need to tap Play button twice to start playback other urls work as expected Any help appreciated Thanks

Mitsik avatar Mar 16 '20 21:03 Mitsik

Hey there @Mitsik

I'll have to test it out here. If you can provide the code where you call the plug-in as an example it could help me.

I'll be back with more info.

gafsel avatar Mar 19 '20 00:03 gafsel

Hey @gafsel ! thank you for your time! I just took example project from this repo and added more items to playlist. If you run the app on device and run playback you can find that some streams don't start playback when you hit 'next' requires you to hit play button once more. this behaviour is only on iOS device, not Android here is what I have, I copied existing items so only assetsUrl fields are different :D ` await rmxAudioPlayer.addAllItems([ new AudioTrack( trackId: 'friend_bon_jovi', album: "Friends", artist: "Bon Jovi", assetUrl: "http://stream.srg-ssr.ch/m/rsp/mp3_128", title: "I'll be there for you"), new AudioTrack( album: "Friends", artist: "Ross", assetUrl: "http://relay.publicdomainproject.org:80/classical.mp3", title: "The Sound"),

  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://stream.laut.fm/schlageradio",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://stream.laut.fm/schlageradio",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://stream.89.0rtl.de/mix/mp3-256/liveonlineradio/play",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://mp3channels.webradio.antenne.de/top-40",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://stream.laut.fm/bluesclub?type=.mp3/;stream.mp3",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://stream.laut.fm/bluesrockcafe?type=.mp3/;stream.mp3",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "https://audiostreams.deluxemusic.tv/lounge/mp3-192/radio_de",
      title: "The Sound"),
  new AudioTrack(
      album: "Friends",
      artist: "Ross",
      assetUrl:
      "http://mp3ad.egofm.c.nmdn.net/ps-egofm_128/livestream.mp3?type=.mp3/;stream.mp3",
      title: "The Sound"),
]);

await rmxAudioPlayer.setLoop(true);

await _play();` 

Mitsik avatar Mar 19 '20 20:03 Mitsik

Hi, @gafsel ! hope you are doing well these days! just wanted to show you one issue I've got in xcode: http://prntscr.com/ru6rph It builds successfully just wonder can it affect somehow? Thanks

Mitsik avatar Apr 06 '20 16:04 Mitsik

Hi, I use project's example on iOS 13. I set this url as assetUrl: http://stream.89.0rtl.de/mix/mp3-256/liveonlineradio/play you need to tap Play button twice to start playback other urls work as expected Any help appreciated Thanks

hey hope you are doing well these days

i have same problem here. Any help appreciated

masooddalman avatar Apr 17 '20 05:04 masooddalman