Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.3.2
-
None
-
Qt 5.3.2 Qt Creator with mingw. Windows 7 64 bit
Description
When sending a datagram read from a .ts video file created with VLC, QUdpSocket sends out corrupted packets. Wireshark shows the source and destination fields of the UDP packet are empty. Manually created MPEG-TS null packets passed through the same datagram building code results in UDP packets that are fully formed. Both fread and QFile methods result in the same problem. Unsighed char arrays are used because of my need for compatibility with the larger set of programs that I need to use this with, but I don't think it has any effect. This same .ts file streams out correctly when using a winsock based implementation. (not included in this example) I also observed this problem when using the .append method instead of memmove to build each datagram.