[PHP] Re: Server streaming?
- Date: Fri, 30 Dec 2016 19:30:07 +0100
- From: "Christoph M. Becker" <cmbecker69@xxxxxx>
- Subject: [PHP] Re: Server streaming?
On 30.12.2016 at 06:11, Jeffry Killen wrote:
> Key methods and javasript object properties not responding properly.
> References to currentTime property ( time line of the audio file) causing
> failures and errors.
> I have found some posted info suggesting the problem may be that the
> server (in my case Mac OSX Apache 2.24, localhost for dev purposes)
> may not support streaming.
That is possible, but I suggest to look at the HTTP headers to be sure.
First check whether the request headers actually have a Range or
If-Range header; then check whether the response has status code 206 or
416 (or something else). For details refer to
> This posting includes a php script that
If the request contains a Range header, $_SERVER['HTTP_RANGE'] would be
set; otherwise not.
> Is there anything in the manual that might help me out with that, or other
> info, suggestions?
> The posting is here:
> I presume that the php script would need to respond to an async request.
Probably yes, but I don't see how that would be relevant.
> Thanks for time and attention
Christoph M. Becker
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php