Skip to content

Commit e4ddc85

Browse files
Merge pull request #265793 from jsaurezlee-msft/patch-2
Update twilio-to-acs-video-android-tutorial.md
2 parents 463ebe3 + aa97ce4 commit e4ddc85

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/communication-services/tutorials/includes/twilio-to-acs-video-android-tutorial.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ val call: Call = callAgent.startCall(
165165
)
166166
```
167167

168-
#### Connect to a team call
168+
#### Connect to a Teams call
169169

170170
##### With External Identity
171171

172-
Connecting to a team call is almost identical to connecting to a call. Instead of using StartCallOptions, the client application uses JoinCallOptions with a TeamsMeetingLocator.
172+
Connecting to a Teams call is almost identical to connecting to a call. Instead of using StartCallOptions, the client application uses JoinCallOptions with a TeamsMeetingLocator.
173173

174174
The Teams meeting link can be retrieved using Graph APIs. The retrieval process is detailed in the [graph documentation](/graph/api/onlinemeeting-createorget?tabs=http&view=graph-rest-beta&preserve-view=true).
175175

@@ -567,32 +567,32 @@ room.getStats { statsReports ->
567567
}
568568
```
569569
### Azure Communication Services
570-
To access media statistics, instantiate the MediaStatsCallFeature from the Call object.
570+
To access media statistics, instantiate the MediaStatisticsCallFeature from the Call object.
571571

572572
**Java**
573573
``` java
574-
MediaStatsCallFeature mediaStatsCallFeature = call.feature(Features.MEDIA_STATS);
574+
MediaStatisticsCallFeature mediaStatisticsCallFeature = call.feature(Features.MEDIA_STATISTICS);
575575
```
576576
**Kotlin**
577577
```kotlin
578-
val mediaStatsCallFeature = call.feature(Features.MEDIA_STATS)
578+
val mediaStatisticsCallFeature = call.feature(Features.MEDIA_STATISTICS)
579579
```
580580

581-
Subscribe to the `sampleReported` event to receive updates on media statistics. The default sampling interval is set to one second. Adjust the interval by using the `setSampleIntervalInSeconds` method within the MediaStatsCallFeature.
581+
Subscribe to the `reportReceived` event to receive updates on media statistics. The default sampling interval is set to one second. Adjust the interval by using the `updateReportIntervalInSeconds` method within the MediaStatsCallFeature.
582582
**Java**
583583
```java
584-
mediaStatsCallFeature.setSampleIntervalInSeconds(5);
584+
mediaStatisticsCallFeature.updateReportIntervalInSeconds(15);
585585

586-
mediaStatsCallFeature.addOnSampleReportedListener(event -> {
586+
mediaStatisticsCallFeature.addOnReportReceivedListener(event -> {
587587
// Stats are available
588588
});
589589

590590
```
591591
**Kotlin**
592592
```kotlin
593-
mediaStatsCallFeature.apply {
594-
sampleIntervalInSeconds = 5
595-
addOnSampleReportedListener { event ->
593+
mediaStatisticsCallFeature.apply {
594+
updateReportIntervalInSeconds(15)
595+
addOnReportReceivedListener { event ->
596596
// Stats are available
597597
}
598598
}

0 commit comments

Comments
 (0)