Closed acomagu closed 5 years ago
I increased the return value of PCMFrameLen(https://github.com/jonas747/dca/blob/10e959e9d3e808cd961308760de0c1c36285fed7/encode.go#L61) experimentally but didn't affect...
I found the reason in discordgo. https://github.com/bwmarrin/discordgo/blob/8325a6bf6dd6c91ed4040a1617b07287b8fb0eba/voice.go#L411 The 960 is hard coded as the length of frame. I close this issue because it's discordgo problem. Sorry.
I tried play sound with Discord VC.
Code:
This plays it 2x as fast. Setting
FrameDuration: 20
fix it. It's expected behavior?Or maybe Discord side problem?(Sorry, but really I'm not familiar with DCA or Opus.)