开发者

Media player not reading from socket

开发者 https://www.devze.com 2023-03-17 09:49 出处:网络
Im attempting to write a song file through a socket and have the media player read from it, however the media player will crash on certain songs with a \"Connection Reset by Peer\" error.When I remove

Im attempting to write a song file through a socket and have the media player read from it, however the media player will crash on certain songs with a "Connection Reset by Peer" error. When I remove the id3 information from these songs, the song will be able to stream fine and the media player will not crash.

The only difference in the songs that play and the 开发者_StackOverflow社区ones that dont is that if there is a lot of id3 information (such as album art) then the song wont play.

Also, if I do not use the socket, but instead just have the media player read straight from a URL, the media player will work fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消