As other comments suggest, this might be due to transcoding. There is tool Tdarr which transcodes media in advance. h264 could be the safest choice for mobile (hw support) and web.
I am full stack developer with "can do" attitude, leaning towards backend, devops with background in embedded electronics (IoT) and mechatronics (production systems). Interest in broad number of industrial fields will pay off in your project.