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

[video_player_videohole] DASH - live stream - audio stops #574

Open
Tracked by #620
mhoeckner opened this issue May 11, 2023 · 4 comments
Open
Tracked by #620

[video_player_videohole] DASH - live stream - audio stops #574

mhoeckner opened this issue May 11, 2023 · 4 comments

Comments

@mhoeckner
Copy link
Contributor

Hi all

we got issues with DASH live stream playlist. The stream starts fine. But the player does not fetch any new audio segments after initial buffering. As a consequence, audio stops playing. Video still running.
We checked at streaming server -> no fetch requests from player after initial loading

Example code heres -> https://github.com/mhoeckner/flutter_tizen_test -> password I will send @haesik and @swift-kim

Any ideas why this i happening?
Stream successfully works on Web Shaka 4.3.5

Thank you in advance
regards
Markus

flutter-tizen doctor -v
[!] Flutter (Channel unknown, 3.7.1, on macOS 13.3.1 22E261 darwin-x64, locale en-AT)
! Flutter version 3.7.1 on channel unknown at /Users/markushockner/development/flutter-tizen/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Warning: flutter on your path resolves to /Users/markushockner/development/flutter/bin/flutter, which is not inside your current Flutter SDK checkout
at /Users/markushockner/development/flutter-tizen/flutter. Consider adding /Users/markushockner/development/flutter-tizen/flutter/bin to the front of
your path.
! Warning: dart on your path resolves to /Users/markushockner/development/flutter/bin/dart, which is not inside your current Flutter SDK checkout at
/Users/markushockner/development/flutter-tizen/flutter. Consider adding /Users/markushockner/development/flutter-tizen/flutter/bin to the front of your
path.
! Unknown upstream repository.
Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
• Framework revision 7048ed95a5 (3 months ago), 2023-02-01 09:07:31 -0800
• Engine revision 800594f1f4
• Dart version 2.19.1
• DevTools version 2.20.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Tizen toolchain - develop for Tizen devices
• Framework revision e3fa9d40b4 (13 days ago), 2023-04-28 17:16:15 +0900
• Engine revision 3a1a4b0df0
• Tizen Studio 5.0 at /Users/markushockner/tizen-studio
• .NET SDK 7.0.200 at /usr/local/share/dotnet/dotnet

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/markushockner/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• ANDROID_HOME = /Users/markushockner/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14B47b
• CocoaPods version 1.12.1

[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /usr/local/bin/chrome_unsafe

[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.78.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0

[✓] Connected device (3 available)
• macOS (desktop) • macos • darwin-x64 • macOS 13.3.1 22E261 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.92
• Tizen GU50AU8079UXZG (mobile) • 172.16.66.3:26101 • flutter-tester • Tizen 6.0

[✓] HTTP Host Availability
• All required HTTP hosts are available

@hyue7
Copy link
Collaborator

hyue7 commented May 23, 2023

Hi, @mhoeckner
This seems like MMplayer do not handle audio duration with dash live stream with segment timline(in mpd file):

<SegmentTemplate startNumber="16805" duration="450000" timescale="90000" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/T_$Time$.m4s" presentationTimeOffset="5743854056554200" deubgTC="20230523.083718.19">
      <SegmentTimeline>
        <S t="5743854057454200" d="450000" i="16805 = 20230523.083718.19.m4s"/>
        <S t="5743854057904200" d="450000" i="16806 = 20230523.083723.19.m4s"/>
        <S t="5743854058354200" d="450000" i="16807 = 20230523.083728.19.m4s"/>
        <S t="5743854058804200" d="450000" i="16808 = 20230523.083733.19.m4s"/>
      </SegmentTimeline>
    </SegmentTemplate>

if live with segment timline, it is possible that time and duration is not availble, cause pause audio download.

@xuelian-bai
Copy link

@mhoeckner Hi, Markus, as Yue said, it's bug of Tizen platform, and has been fixed, but you may need to wait for OTN for this fix

@mhoeckner
Copy link
Contributor Author

@hyue7 and @xuelian-bai - thank you for support - I will retry it in the next days after update.

@mhoeckner
Copy link
Contributor Author

@xuelian-bai - any plans when the update will be shipped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants