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

Live Stream with 2 different audio tracks can go out of sync #627

Closed
cdguy opened this issue Nov 10, 2023 · 2 comments
Closed

Live Stream with 2 different audio tracks can go out of sync #627

cdguy opened this issue Nov 10, 2023 · 2 comments

Comments

@cdguy
Copy link

cdguy commented Nov 10, 2023

In order replicate the issue, please use my test video named "LiveTV with 5-1 sound and Stereo Sound"
https://go.wetransfer.com/b-zvg8ImxsWw

how to replicate:

1- Start the stream with the 5.1 audio track.
-> no issues here
2- switch to the Stereo Audio Track
-> Sometimes the audio track change is instant.
->Sometimes it takes time to change the audio track (and the video stops playing during this time) but the audio is still in sync
-> Sometimes after the audio track is changed, the video and audio goes out of sync
3- when I switch back to the 5.1 audio track, the sound outputted from KSplayer is Stereo (I mean the active audio channel is sterero).

Thanks!

@kingslay
Copy link
Owner

你使用那个audio player type

@cdguy
Copy link
Author

cdguy commented Nov 11, 2023

你使用那个audio player type

I used both AudioUnit and AvAudioEngine; and I got the same issue @kingslay

theonlymo pushed a commit to theonlymo/KSPlayer that referenced this issue Nov 16, 2023
* 'develop' of github.com:kingslay/KSPlayer:
  解决本地依赖问题
  解决字幕无法显示的问题
  fix kingslay#624
  fix kingslay#528
  add log
  fix  kingslay#618
  fix  kingslay#618
  fix build
  fix kingslay#627
  add sponsor
  fix build
  fix kingslay#528

# Conflicts:
#	Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift
#	Sources/KSPlayer/MEPlayer/FFmpegDecode.swift
#	Sources/KSPlayer/MEPlayer/MEPlayerItem.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants