I am trying to download ts files from a web server by using AsyncGetToFile method and storing them in a temporary ts file. After that, I am sending the downloaded file to video player through a roStreamSocket object but the player stays buffering and doesn't start to play the video. All these operations are being handled by proxy server that I have coded in BrightScript. Any help would be appreciated!
Byte Array is being populated. There is no problem with that. Here is some code (fileToReturn is the file path and dataType is video/MP2T ) :