IOS Safari Video Streaming Issue

Videos retrieved from OwnCloud through a C# WebAPI and sent using Stream object from C# WebAPI to HTML video tag is not working on IOS Safari browser while using direct link for the same video is working normally. How can we solve this issue using the same technique?