I want to use github.com/kkdai/youtube/v2 and github.com/bwmarrin/discordgo to play youtube audio in my channel I write this code I debug and found that video, err := client.GetVideo(url) and stream, _, err := client.GetStream(video, &formats[0]) are returning correctly, but the audio coming out of my script sounds weird. Can anyone help me?
I want to use github.com/kkdai/youtube/v2 and github.com/bwmarrin/discordgo to play youtube audio in my channel I write this code I debug and found that
video, err := client.GetVideo(url)
andstream, _, err := client.GetStream(video, &formats[0])
are returning correctly, but the audio coming out of my script sounds weird. Can anyone help me?This is log in console