Does AVPlayer support a MPEG-TS H264 stream?

Hello. I'm developing an app, which needs to work with almost-raw TS data, there's no viable option for HLS for now, we're receiving the streams proxied from a UDP multicast to HTTP via udpxy. Only VLC seems to accept this stream, however MobileVLCKit (or atleast its wrappers) are kind of a mess, so I'd like to look into AVPlayer to solve this.

This is my code:

VideoPlayer(
      player: AVPlayer(
        url: URL(
           string: "http://udpxy-main1-srv2.globtv.xyz/udp/239.0.0.22:4444")!
      )
    )

As for some reasons there are no errors reported when using Swift, even though nothing plays, I tried using Flutter & BetterPlayer (which uses AVPlayer as its backend), and the error is:

Error Domain=AVFoundationErrorDomain Code=-11850 "Operation Stopped" UserInfo={NSLocalizedFailureReason=The server is not correctly configured., NSLocalizedDescription=Operation Stopped, NSUnderlyingError=0x280544e10 {Error Domain=NSOSStatusErrorDomain Code=-12939 "(null)"}}
Error Domain=AVFoundationErrorDomain Code=-11850 "Operation Stopped" UserInfo={NSLocalizedFailureReason=The server is not correctly configured., NSLocalizedDescription=Operation Stopped, NSUnderlyingError=0x28055c570 {Error Domain=CoreMediaErrorDomain Code=-12939 "byte range and no content length - error code is 200" UserInfo={NSDescription=byte range and no content length - error code is 200, NSURL=http://udpxy-main1-srv2.globtv.xyz/udp/239.0.0.22:4444}}}

However, all I'm getting is nothing with some controls, but the video doesn't play. Thank you for your answers!

Did you find any solution to the problem?

Does AVPlayer support a MPEG-TS H264 stream?
 
 
Q