fill window in libvlc (iOS app)
Posted: 28 Aug 2023 20:41
Hello. I'm new here so pls go easy on me. I have an app developer building an app which uses libvlc to play and stream video such as RTSP etc. It works well except that it plays video without changing it (I know, that's what it's supposed to do!), but we would like to have any video fill the window it's in, for example if we have a window in the app that's 16:9, but the stream is natively 4:3, libvlc would adjust the stream to fill the 16:9 window. Main use case is IP cameras whose native aspect is 4:3 that we want to fit in a 16:9 window (even if that means the stream will become a little squashed/stretched). There are other uses we'd like this for too. I would be grateful if anyone knows any code/tips that we can use in our app to make libvlc do this by default. Happy to reimburse for your time. Many thanks.