Skip to content

Commit 27b5751

Browse files
Updated documentation
1 parent df3a2b0 commit 27b5751

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docs/audio-injection.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,11 @@ desired_caps = {
105105
## Step 3: Control Audio in Test
106106
Inject the uploaded audio file from LambdaTest into the recorder or app when you are at the dedicated space for microphone input.
107107

108-
**Inject / Replace File**
108+
**Inject File**
109109
```python
110110
driver.execute_script('lambda-audio-injection: {"action":"inject","arguments":{"media_url":"lt://MEDIA123..."}}')
111111
```
112112

113-
**Start Audio**
114-
```python
115-
driver.execute_script('lambda-audio-injection: {"action":"start"}')
116-
```
117-
118-
**Stop Audio**
119-
```python
120-
driver.execute_script('lambda-audio-injection: {"action":"stop"}')
121-
```
122113
:::note
123114
The injected audio can come from a standalone audio file **or** from the audio track of a recorded video.
124115
:::

0 commit comments

Comments
 (0)