1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +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,28 +134,28 @@ Stream Architecture:
</pre> </pre>
Bandwidth Test Workflow: Bandwidth Test Workflow:
<pre> <pre>
+------------+ +----------+ +------------+ +----------+
| Client | | Server | | Client | | Server |
+-----+------+ +-----+----+ +-----+------+ +-----+----+
| | | |
| connect vhost------> | | connect vhost-------------> |
| &lt;-----result(success) | | &lt;-----------result(success) |
| | | |
| &lt;----call(start play) | | &lt;----------call(start play) |
| result(playing)-----> | | result(playing)----------> |
| &lt;-------data(playing) | | &lt;-------------data(playing) |
| &lt;-----call(stop play) | | &lt;-----------call(stop play) |
| result(stopped)-----> | | result(stopped)----------> |
| | | |
| &lt;-call(start publish) | | &lt;-------call(start publish) |
| result(publishing)--> | | result(publishing)-------> |
| data(publishing)----> | | data(publishing)---------> |
| &lt;--call(stop publish) | | &lt;--------call(stop publish) |
| result(stopped)(1)--> | | result(stopped)(1)-------> |
| | | |
| &lt;--------------report | | &lt;--------------------report |
| final(2)------------> | | final(2)-----------------> |
| &lt;END> | | &lt;END> |
@see: class SrsBandwidth comments. @see: class SrsBandwidth comments.
</pre> </pre>