The stream push interruption fault scenario is used to verify situations where CSS stream push is unexpectedly interrupted. By observing the performance post-fault, you can verify if the stream push client has a retry mechanism and assess whether downstream playback is affected.
Experiment Preparation
Note:
1. Stream push interruption will genuinely disconnect the live stream. Please carefully evaluate the impact when conducting experiments in a production environment.
2. The stream push interruption fault is equivalent to manually operating online stream disconnection on the CSS console.
3. For primary-secondary streams, stream push interruption will disconnect both primary and secondary streams simultaneously. To disconnect one stream only, see the Primary-secondary stream single path disconnection fault.
4. Stream push interruption does not have a recovery action and requires the client to actively recover stream push.
Experiment Steps
Step 1: Create an experiment
1. Log in to Tencent Smart Advisor > Chaotic Fault Generator, and follow the steps in Quick Start Guide to create an experiment. In the action group configuration, select Audio & Video for Instance Type, and CSS (Stream Push Domain Name) for Instance Object. Click Add Instance to add the stream push domain name corresponding to the experiment stream. 2. After adding the domain name, click Experiment Actions and then Add Now to add the experiment action. Select the Stream push interruption fault action and configure the action parameters, where the StreamName field is the stream you will inject the fault into (supporting up to 20 different streams for concurrent operations).
3. After confirmation, click Next to enter the Global Configuration page, select Execution Method for the action, and configure Guardrail Policy and Monitoring Metrics .
Note:
Fault actions for CSS (stream push domain name) currently do not support configuring monitoring metrics.
4. Click Submit when it is completed, then click Experiment Details. The system will automatically pre-check the resources you added to determine if they meet the experiment execution conditions (Pre-check does not execute the experiment actions).
Stream push interruption will perform the following verification. Ensure the environment passes the pre-check before starting the experiment, or it may fail. After issues are fixed, you can click Double-Check to initiate the pre-check again.
Check whether the selected domain name is enabled and is the stream push domain name.
Confirm whether the specified stream is an online stream.
Step 2: Execute the experiment
Click Execute on the action to start executing the fault action.
Step 3: Observe results
If your client has a retry policy, the CSS stream will quickly recover. If the recovery is too fast, you might not notice the interruption effect. You can go to CSS > Monitoring > Stream Interruption Records to determine the specific disconnection time.
Was this page helpful?