1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00

add bandwidth workflow

This commit is contained in:
winlin 2013-12-22 17:54:32 +08:00
parent 7a6d5693b7
commit 6ab8974c18

View file

@ -134,29 +134,29 @@ Stream Architecture:
</pre>
Bandwidth Test Workflow:
<pre>
+------------+ +----------+
| Client | | Server |
+-----+------+ +-----+----+
| |
| connect vhost------> |
| &lt;-----result(success) |
| |
| &lt;----call(start play) |
| result(playing)-----> |
| &lt;-------data(playing) |
| &lt;-----call(stop play) |
| result(stopped)-----> |
| |
| &lt;-call(start publish) |
| result(publishing)--> |
| data(publishing)----> |
| &lt;--call(stop publish) |
| result(stopped)(1)--> |
| |
| &lt;--------------report |
| final(2)------------> |
| &lt;END> |
+------------+ +----------+
| Client | | Server |
+-----+------+ +-----+----+
| |
| connect vhost-------------> |
| &lt;-----------result(success) |
| |
| &lt;----------call(start play) |
| result(playing)----------> |
| &lt;-------------data(playing) |
| &lt;-----------call(stop play) |
| result(stopped)----------> |
| |
| &lt;-------call(start publish) |
| result(publishing)-------> |
| data(publishing)---------> |
| &lt;--------call(stop publish) |
| result(stopped)(1)-------> |
| |
| &lt;--------------------report |
| final(2)-----------------> |
| &lt;END> |
@see: class SrsBandwidth comments.
</pre>