kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
GNU General Public License v3.0
886 stars 184 forks source link

SwiftUI KSVideoPlayerView got no audio at first time when play live stream(flv) #663

Closed MarveleE closed 7 months ago

MarveleE commented 7 months ago

Describe the bug SwiftUI KSVideoPlayerView got no audio at first time when play live stream(flv) while reload the player view, the audio came back

Platform (please complete the following information):

Additional context use this url to test https://stream-changsha-ct-113-240-120-74.edgesrv.com:443/live/1126960rZo1Gu65T.flv?wsAuth=391fc3d26fe08ecdce42b24b171b3195&token=web-h5-0-1126960-97b8314bb93dc18ab4536654aa9f606e32240d4262ff8ff3&logo=0&expire=0&did=10000000000000000000000000001501&pt=2&st=0&sid=371718856&mcid2=0&vhost=play1&origin=tct&mix=0&isp=scdncthuncshw

MarveleE commented 7 months ago

fixed in 2.2.0 close it