Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DASH Streaming support on android and ios and web #820

Open
Anthrapper opened this issue Feb 2, 2024 · 0 comments
Open

DASH Streaming support on android and ios and web #820

Anthrapper opened this issue Feb 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Anthrapper
Copy link

Flutter Version

My version : 3.16.9

Lib Version

My version : latest

Platform (Android / iOS / web) + version

Platform : Android + IOS + Web

Describe the bug

Getting playback error while playing DASH MPD streams in android (But it's playing audio)
E/ExoPlayerImplInternal(29813): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) E/ExoPlayerImplInternal(29813): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) E/ExoPlayerImplInternal(29813): at java.lang.Thread.run(Thread.java:1012) I/ExoPlayerImpl(29813): Release 9da1171 [ExoPlayerLib/2.18.1] [violet, Redmi Note 7 Pro, Xiaomi, 34] [goog.exo.core, goog.exo.exoplayer, goog.exo.decoder, goog.exo.datasource, goog.exo.extractor]

Where as in IOS and WEB, it's neither showing any errors nor playing the stream. The package description says it supports dash streaming in all platforms though.

Small code to reproduce

import 'package:assets_audio_player/assets_audio_player.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State {
  final audio = Audio.liveStream(
    'https://livesim.dashif.org/livesim/testpic_2s/Manifest.mpd',
  );

  final AssetsAudioPlayer _assetsAudioPlayer = AssetsAudioPlayer();

  @override
  void initState() {
    _assetsAudioPlayer.open(audio);
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(),
      ),
    );
  }
}

@Anthrapper Anthrapper added the bug Something isn't working label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants