Skip to content

Commit

Permalink
Jennifer's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
atovpeko committed Nov 10, 2023
1 parent 141028c commit 449945b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions media-pull/develop/integration-best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ You need the following to start using <Vg k="MPULL" /> RESTful API:

- The scene of the channel is live, profile set to `BROADCASTING`
- <Vg k="MPULL" /> is enabled
- Message Notification Service is enabled to monitor <Vg k="MPULL" /> events

Agora also recommends enabling the Message Notification Service to monitor <Vg k="MPULL" /> events.

## Check the limits

Expand All @@ -28,7 +29,7 @@ Agora sets the following QPS limits for the <Vg k="MPULL" /> RESTful API:

|API |QPS limit |
|:--------|:---------------------|
|Create|<ul><li>Creating cloud players with names is limited to 2 queries per second. </li><li>Creating cloud players without names is limited to 50 queries per second.</li></ul>|
|Create|<ul><li>Creating Media Pull tasks (cloud players) with names is limited to 2 queries per second. </li><li>Creating cloud players without names is limited to 50 queries per second.</li></ul>|
|Delete|Deleting cloud players is limited to 100 queries per second.|
|List|<ul><li>For a project with filter, the limit of the query rate is 2 times per second and 15 times per minute.</li><li>When there is no filter, the limit of query rate is 10 times per second and 20 times per minute.</li></ul>|

Expand Down Expand Up @@ -63,7 +64,7 @@ The maximum number of supported streams is as follows:
|:---------------|:----------------------|:---------------------|:----------------------|:--------------------------------|
| Media Pull | <ul><li>SD 20</li> <li>HD 20</li> <li>FHD 10</li></ul> | <ul><li>SD 20</li> <li>HD 10</li> <li>FHD 5</li></ul> |<ul><li>SD 20</li> <li>HD 10</li> <li>FHD 5</li></ul> | <ul><li>SD 20</li> <li>HD 20</li> <li>FHD 5</li></ul> |

<Admonition type="caution" title="Important">If you need to inject multiple streams of different resolutions at the same time, make sure you meet the following requirements:<ul><li>The number of streams per resolution cannot exceed the corresponding limit for that resolution.</li><li>The total number of streams cannot exceed the limit set for the higher resolution. For example, if you need to inject both SD and HD streams in mainland China, the total number of streams cannot exceed 100. If you need to inject HD and FHD, the total number cannot exceed 50.</li></ul></Admonition>
<Admonition type="caution" title="Important">If you need to inject multiple streams of different resolutions at the same time, make sure you meet the following requirements:<ul><li>The number of streams per resolution cannot exceed the corresponding limit for that resolution.</li><li>The total number of streams cannot exceed the limit set for the higher resolution. For example, if you need to inject both SD and HD streams in Europe, the total number of streams cannot exceed 20. If you need to inject HD and FHD, the total number cannot exceed 10.</li></ul></Admonition>

## Ensure the high availability of REST services

Expand Down
2 changes: 1 addition & 1 deletion media-push/develop/integration-best-practices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The maximum number of supported streams is as follows:
|:-------------|:----------------------|:----------------------|:----------------------|:--------------------------------|
| Media Push | <ul><li>SD 300</li><li>HD 50</li><li>FHD 20</li></ul> | <ul><li>SD 20</li><li>HD 5</li><li>FHD 0</li></ul> |<ul><li>SD 20</li><li>HD 5</li><li>FHD 0</li></ul> | <ul><li>SD 20</li><li>HD 5</li><li>FHD 0</li></ul> |

<Admonition type="caution" title="Note">If you need to upload multiple streams of different resolutions at the same time, make sure you meet the following requirements:<ul><li>The number of streams per resolution cannot exceed the corresponding limit for that resolution.</li><li>The total number of streams cannot exceed the limit set for the higher resolution. For example, if you upload both SD and HD streams in mainland China, the total number of streams cannot exceed 100. If you upload HD and FHD, the total number cannot exceed 50.</li></ul></Admonition>
<Admonition type="caution" title="Note">If you need to upload multiple streams of different resolutions at the same time, make sure you meet the following requirements:<ul><li>The number of streams per resolution cannot exceed the corresponding limit for that resolution.</li><li>The total number of streams cannot exceed the limit set for the higher resolution. For example, if you upload both SD and HD streams in America, the total number of streams cannot exceed 20. If you upload HD and FHD, the total number cannot exceed 5.</li></ul></Admonition>

## Ensure the high availability of REST services

Expand Down

0 comments on commit 449945b

Please sign in to comment.