98 |
- |
1 |
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
|
|
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>StartStream</title><link rel="stylesheet" type="text/css" href="phplotdoc.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="PHPlot Reference Manual" /><link rel="up" href="reference.html" title="PHPlot Function Reference" /><link rel="prev" href="SetYTitleColor.html" title="SetYTitleColor" /><link rel="next" href="TuneXAutoRange.html" title="TuneXAutoRange" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">StartStream</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetYTitleColor.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="TuneXAutoRange.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="StartStream"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">StartStream</span></h2><p>StartStream — Begin a Motion-JPEG (or other type) plot stream</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->StartStream()</pre></div><div class="refsect1"><a id="idp1379331196"></a><h2>Description</h2><p>
|
|
|
3 |
<code class="function">StartStream</code> is used to begin producing streaming
|
|
|
4 |
plots. This is a series of plots that are displayed rapidly, resulting in
|
|
|
5 |
a moving video-like sequence.
|
|
|
6 |
<code class="function">StartStream</code> outputs the initial HTTP headers for the
|
|
|
7 |
stream, disables browser-side caching, and prepares for the plot stream.
|
|
|
8 |
</p></div><div class="refsect1"><a id="idp1379332756"></a><h2>Parameters</h2><p>
|
|
|
9 |
None
|
|
|
10 |
</p></div><div class="refsect1"><a id="idp1379333364"></a><h2>Notes</h2><p>
|
|
|
11 |
The three functions <code class="function">StartStream()</code>,
|
|
|
12 |
<a class="xref" href="PrintImageFrame.html" title="PrintImageFrame"><span class="refentrytitle">PrintImageFrame</span></a>, and <a class="xref" href="EndStream.html" title="EndStream"><span class="refentrytitle">EndStream</span></a>
|
|
|
13 |
are used together to produce streaming plots.
|
|
|
14 |
Scripts producing streaming plots must use a web server.
|
|
|
15 |
The PHP CLI will not work, because streaming plots require HTTP headers.
|
|
|
16 |
</p><p>
|
|
|
17 |
For more on streaming plots, see <a class="xref" href="adv-streaming.html" title="4.9. Streaming Plots">Section 4.9, “Streaming Plots”</a>.
|
|
|
18 |
</p></div><div class="refsect1"><a id="idp1379335812"></a><h2>Example</h2><p>
|
|
|
19 |
See <a class="xref" href="PrintImageFrame.html" title="PrintImageFrame"><span class="refentrytitle">PrintImageFrame</span></a> for a partial example, and
|
|
|
20 |
<a class="xref" href="adv-streaming.html#adv-streaming-example" title="4.9.3. Streaming Plots - Example">Section 4.9.3, “Streaming Plots - Example”</a> for the complete example.
|
|
|
21 |
</p></div><div class="refsect1"><a id="idp1379337196"></a><h2>History</h2><p>
|
|
|
22 |
This function was added in PHPlot-5.8.0.
|
|
|
23 |
Prior releases are not able to produce streaming plots.
|
|
|
24 |
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetYTitleColor.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="TuneXAutoRange.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetYTitleColor </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> TuneXAutoRange</td></tr></table></div></body></html>
|