• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different between direct and redirect path

#1
Hi
I have a video file in my project and try to show it in my app android
I use two way for show it
1: show video directly => http://example.com/files/video.mp4
2: show video with redirect (in this way,i have script file that i send file name to it and redirect to video)
<?php
$file_id = $_GET['file_name'];
redirect('http://example.com/files/".$file_id);
?>

And the main issue is :
When i show video directly,download speed is high and there is no problem
But when i use my script for show video,it is very slow

Why?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.