I am making a flutter app that needs to access video streams where the data is raw MPEG 1 video packets in a websocket.
I managed to get it working by sending the data through localhost UDP and then playing that UDP stream using flutter_vlc_player. BUT, this only works on android and won’t work on iOS. I tried to switch to media_kit but had no luck, media kit says it supports UDP, DATA and raw mpeg video but doesn’t have any documentation on how to specify that method and them. The connection string I had to use for vlc was ‘udp/mpgv://@${InternetAddress.loopbackIPv4.address}:$port’. I wonder if anyone knows what connection string I would have use for media kit or a different way to do this.