

# Frequently asked questions for the Amazon Chime SDK
<a name="chime-sdk-faq"></a>

The topics in the following sections provide answers to frequently asked questions about the Amazon Chime SDK. Expand the topics to learn more.

**Topics**
+ [Meeting FAQs](#meeting-faqs)
+ [Media pipeline FAQs](#media-pipeline-faqs)
+ [PSTN audio FAQs](#pstn-faqs)

## Meeting FAQs
<a name="meeting-faqs"></a>

**Topics**
+ [Attendees](#attendee-faqs)
+ [Security and encryption](#security-faqs)
+ [Audio/video](#av-faqs)
+ [Live transcription](#transcription-faqs)
+ [Service quotas](#service-quota-faqs)
+ [Namespace migration](#migration-faqs)
+ [Monitoring](#monitoring-faqs)
+ [Logging](#logging-faqs)
+ [Error messages](#error-msg-faqs)

### Attendees
<a name="attendee-faqs"></a>

#### Who can join an Amazon Chime SDK meeting?
<a name="who-can-join"></a>

Only attendees with a required join token. When you use the [CreateAttendee](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateAttendee.html), [BatchCreateAttendee](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html), or [CreateMeetingWithAttendees](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html) APIs, you create join tokens that you pass to clients and enable them to join meetings. The tokens generated by those APIs are authenticated by the service, and that grants permission to join the meeting. 

**Note**  
The Amazon Chime SDK doesn’t create meeting IDs or join URLs for meeting attendees. 

#### What are the meeting attendee quotas?
<a name="attendee-quotas"></a>

Attendee quotas are per meeting. The Amazon Chime SDK supports 250 attendees in a standard session, and 100 attendees in a high-definition session. If you need more attendees, consider using media replication. That allows up to 10,000 attendees after requesting a limit increase through the [AWS Support Center console](https://console.aws.amazon.com/support/home#/AWS). For more information about media replication, refer to [Using media replication for Amazon Chime SDK meetings](media-replication.md), earlier in this guide.

#### Am I charged if there are no attendees in a meeting?
<a name="charges"></a>

 No. The Amazon Chime SDK only charges you when attendees join a meeting. Also, meetings automatically end 5 minutes after the last active attendee drops or leaves the meeting. 

#### What’s the difference between AttendeeDeleted, AttendeeLeft, and AttendeeDropped meeting events?
<a name="attendee-diffs"></a>

`AttendeeLeft` is triggered when an attendee decides to leave a meeting. `AttendeeDropped` is triggered when an attendee is disconnected from a meeting, usually because of network issues. `AttendeeDeleted` is triggered when the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteAttendee.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteAttendee.html) API is called.

`AttendeeLeft` is also triggered when:
+ When the `DeleteAttendee` API is called from the server-side meeting handler, along with `AttendeeDeleted`.
+ Your client calls the `meetingSession.audioVideo.Stop` API from the [client library for JavaScript](js-sdk-intro.md), the corresponding APIs in the [iOS](sdk-for-ios.md) and [Android](sdk-for-android.md) SDKs, or when a meeting ends.

For more information about meeting events, refer to [Understanding Amazon Chime SDK meeting lifecycle events](using-events.md), earlier in this guide.

#### How long do meetings run if attendees join but drop off due to bad connections and no one ends the meeting?
<a name="meeting-time"></a>

Meetings end automatically when:
+ The meeting time exceeds 24 hours.
+ The meeting is a replica meeting and the primary meeting ends.
+ In a non-replica meeting, no attendees connect for 5 continuous minutes.

#### How long will the Amazon Chime SDK try to reconnect with an attendee?
<a name="reconnect-attempts"></a>

By default, the [ Amazon Chime SDK client library for JavaScript](https://aws.github.io/amazon-chime-sdk-js/index.html) tries to reconnect for two minutes, as specified in `MeetingSessionConfiguration` meeting event. Also, the Amazon Chime SDK sends an `AttendeeDropped` event if the attendee is dropped from the meeting and never reconnects to the session.

For more information about meeting events, see [Monitoring](#monitoring-faqs), later in this FAQ.

### Security and encryption
<a name="security-faqs"></a>

#### Does the Amazon Chime SDK support end-to-end AWS 256-bit encryption?
<a name="256-encryption"></a>

Yes. All media is encrypted in-transit and flows through the service. Media is encrypted between the clients and the specific media instance hosting the meeting. The media instance decrypts audio for mixing, then encrypts the mixed audio for transmission to the client. If media is being recorded via media capture, media is encrypted between the media instance and the capture instance. 

### Audio/video
<a name="av-faqs"></a>

**Topics**
+ [General](#av-general)
+ [Codecs and simulcast](#codecs-simulcast)
+ [Echo reduction](#echo-reduction-faqs)
+ [Noise suppression](#noise-suppression-faqs)
+ [Background blur](#bg-blur-faqs)
+ [Screen sharing](#share-faqs)

#### General
<a name="av-general"></a>

##### Does the Amazon Chime SDK pause video when it's backgrounded?
<a name="background-pause"></a>

No. However, video streams may be paused when bandwidth is constrained.

##### How do you prioritize video streams and tiles during meetings? Can you stop a specific video stream during a meeting?
<a name="stream-priority"></a>

You can programmatically control the video streams that each client subscribes to. This allows you to implement logic such as “presenter always visible” or “meeting host always visible” in a paginated display. If a client is resource constrained, you can turn off the lowest priority streams. For more information, refer to [User Guide for Priority-based Downlink Policy](https://aws.github.io/amazon-chime-sdk-js/modules/prioritybased_downlink_policy.html) on GitHub.

#### Codecs and simulcast
<a name="codecs-simulcast"></a>

##### Which video and audio codecs do you support?
<a name="av-codecs"></a>

**Video codecs **  
H.264, VP8, VP9, and AV1.

**Audio codecs**  
Opus, 16 kHz, 48 kHz, and 48 kHz stereo.

##### How does the Amazon Chime SDK support multiple resolutions?
<a name="multi-resolution"></a>

 We support video simulcast with VP8 and H.264, and scalable video encoding with VP9. The [ Amazon Chime SDK client library for JavaScript](https://aws.github.io/amazon-chime-sdk-js/index.html) allows you to specify codec preferences for sending video. The iOS and Android client libraries automatically select a codec for you, based on a device’s capabilities. For more information about video codecs, refer to [Configuring video codecs for Amazon Chime SDK meetings](js-meeting-manage-codecs.md), earlier in this guide. For more information about adaptive simulcast and different policies, refer to [Video Simulcast](https://aws.github.io/amazon-chime-sdk-js/modules/simulcast.html) on GitHub. 

#### Echo reduction
<a name="echo-reduction-faqs"></a>

##### Can I selectively apply echo reduction to specific attendees in a meeting?
<a name="echo-reduction"></a>

No. Echo Reduction is enabled at the meeting level for all attendees when you call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html) or [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html) APIs. For more information about using echo reduction, refer to [Adding Echo Reduction to your application](https://aws.github.io/amazon-chime-sdk-js/modules/amazonvoice_focus.html#adding-echo-reduction-to-your-application), and [Enabling Voice Focus with Echo Reduction](https://aws.github.io/amazon-chime-sdk-js/modules/amazonvoice_focus.html#enabling-voice-focus-with-echo-reduction), both on GitHub.

#### Noise suppression
<a name="noise-suppression-faqs"></a>

##### Which noise suppression provider does the Amazon Chime SDK use?
<a name="noise-suppression"></a>

We use Amazon Voice Focus, a noise suppression technology built by AWS. To learn more about Amazon Voice Focus, refer to [Understanding VoiceFocus for the Amazon Chime SDK PTSN audio service](voice-focus.md), and [Configuring for Amazon Voice Focus](network-config.md#voice-focus-config), earlier in this guide.

##### Who can turn noise suppression on and off?
<a name="suppression-on-off"></a>

Depending on how you code your solution, meeting attendees usually turn noise suppression on or off. The Amazon Chime SDK client libraries expose programmatic controls for noise suppression, and you choose how to implement them. For example, you can provide a toggle button, or a setting at the app level for controlling noise suppression. For more information, refer to [Amazon Voice Focus](https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/09_Amazon_Voice_Focus.md) on GitHub. 

#### Background blur
<a name="bg-blur-faqs"></a>

##### How much CPU does background blur use?
<a name="blur-cpu"></a>

We have v1 and v2 algorithms. The v1 algorithm has four options based on CPU utilizations (10% to 40%). The v2 algorithm effectively takes an amount of blur to be high, medium or low. The [JavaScript browser based demo ](https://github.com/aws/amazon-chime-sdk-js/blob/59fe66553c09c1ef28747edf773f6cc52d3805a7/demos/browser/app/meetingV2/meetingV2.ts#L185) on GitHub provides a working example.

#### Screen sharing
<a name="share-faqs"></a>

##### What is the screen sharing resolution in web clients?
<a name="share-resolution"></a>

For a JavaScript client, the browser provides the screen frames for the client library. The resolution is the native resolution of the shared screen, capped by the maximum resolution supported by the meeting. You can set frame rates, but remember that higher frame rates increase CPU loads.

You can also choose a codec for sharing. In standard definition meeting, resolution is 1080p and encoded at 1.5 Mbps. In high definition meetings, resolution is 4K encoded at 2.5 Mbps.

##### Why can’t I share my screen on a mobile device browser?
<a name="no-mobile-share"></a>

Mobile device browsers don’t support screen capture or screen share. You need to use the [iOS](https://github.com/aws/amazon-chime-sdk-ios) or [Android](https://github.com/aws/amazon-chime-sdk-android) SDKs on GitHub to develop an app that supports screen sharing. For more information, refer to the following topics on GitHub:
+ [Content Share (JavaScript)](https://github.com/aws/amazon-chime-sdk-js/blob/main/guides/02_Content_Share.md).
+ [Content Share (iOS)](https://github.com/aws/amazon-chime-sdk-ios/blob/master/guides/content_share.md).
+ [Content Share (Android)](https://github.com/aws/amazon-chime-sdk-android/blob/master/guides/content_share.md)

### Live transcription
<a name="transcription-faqs"></a>

#### How can I redact PII from transcriptions?
<a name="pii-redaction"></a>

You use Amazon Transcribe to redact PII. When you use the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StartMeetingTranscription.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StartMeetingTranscription.html) API to transcribe a meeting, you can specify the content redaction type and the different PII entities to redact. 

**Note**  
Due to the predictive nature of machine learning, Amazon Transcribe may not identify and remove all instances of sensitive data, and it may not comply with medical privacy laws, such as the U.S. Health Insurance Portability and Accountability Act of 1996 (HIPAA). For more information, refer to [Redacting or identifying personally identifiable information](https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html), in the *Amazon Transcribe Developer Guide*.

#### Can I track when transcription starts or ends during a meeting?
<a name="transcription-start-stop"></a>

Yes. If you subscribe to `transcribeEvent`, every client receives that event, and you can display it in your client to end users. For more information, refer to [Understanding Amazon Chime SDK live transcription events](transcription-events.md), earlier in this guide.

The following example shows one way to subscribe to `transcribeEvent`.

```
useEffect(() => {
        if (audioVideo) {
            audioVideo.transcriptionController?.subscribeToTranscriptEvent((transcriptEvent) => {
                setTranscripts(transcriptEvent);
            });
        }
    }, [audioVideo]);
```

For more information about using `transcribeEvent`, refer to [Understanding Amazon Chime SDK live transcription events](transcription-events.md), earlier in this guide.

#### How do I filter out profanity?
<a name="profanity"></a>

You use Amazon Transcribe to create custom vocabularies and vocabulary filters, and when you call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StartMeetingTranscription.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_StartMeetingTranscription.html) API, you provide `VocabularyFilterName` and `VocabularyFilterMethod` values to mask unwanted words. For more information, refer to [Custom vocabularies](https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html) and [Creating a vocabulary filter](https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-filter-create.html) in the *Amazon Transcribe Developer Guide*.

#### Which languages does live transcription support for meetings?
<a name="transcript-languages"></a>

For real-time live transcription, Amazon Transcribe supports:
+  Chinese Simplified (zh-CN)
+ English (Australian (en-AU)
+ British (en-GB)
+ US (en-US))
+ French (France(fr-FR) and Canadian (fr-CA))
+ German (de-DE)
+ Hindi (hi-IN)
+ Italian (it-IT)
+ Japanese (jp-JP)
+ Korean (ko-KR)
+ Portuguese (Brazilian (pt-BR)
+ Spanish (US (es-US))
+ Thai (th-TH)

For more information about the languages available for transcription in real time or batch, refer to [Supported languages and language-specific features](https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html), in the *Amazon Transcribe Developer Guide*.

### Service quotas
<a name="service-quota-faqs"></a>

#### I updated a quota in US-EAST-1 (N Virginia). Does the update only apply to the US-EAST endpoint?
<a name="quota-regions"></a>

Yes. Service quotas are applied per API endpoint. Switching to a different API endpoint applies the default limits. 

### Namespace migration
<a name="migration-faqs"></a>

#### Where can I find information on migrating from the chime namespace to the chimesdk namespace?
<a name="migration-info"></a>

Refer to the following topics in this guide:
+ [Migrating from the Amazon Chime namespace](migrate-from-chm-namespace.md).
+ [Migrating to the Amazon Chime SDK meetings namespace](meeting-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK identity namespace](identity-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK voice namespace](voice-namespace-migration.md).

#### Are CloudWatch events for Amazon Chime SDK only available on dedicated endpoints and namespaces?
<a name="no-cloudwatch"></a>

Yes. To use the events, you must migrate from the `chime` namespace to the `chimesdk` namespace. For more information, refer to the following topics in this guide:
+ [Migrating from the Amazon Chime namespace](migrate-from-chm-namespace.md).
+ [Migrating to the Amazon Chime SDK meetings namespace](meeting-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK identity namespace](identity-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK voice namespace](voice-namespace-migration.md).

### Monitoring
<a name="monitoring-faqs"></a>

#### How do you track meeting data such as dates, times, call durations, and attendees?
<a name="event-tracking"></a>

We send meeting and attendee events via Amazon EventBridge, Amazon SNS, or Amazon SQS. The events contain information such as meeting start and stop times, and attendee join, drop, and leave actions. For more information about meeting events and how to use them, refer to the following topics:
+ [Understanding Amazon Chime SDK event notifications](mtgs-sdk-notifications.md), earlier in this guide.
+ The [Server-side logging and monitoring of Amazon Chime SDK events](https://aws.amazon.com/blogs/business-productivity/server-side-logging-and-monitoring-of-amazon-chime-sdk-events/) blog post.
+ The [Monitoring and troubleshooting with Amazon Chime SDK meeting events](https://aws.amazon.com/blogs/business-productivity/monitoring-and-troubleshooting-with-amazon-chime-sdk-meeting-events/) blog post.
+ [Meeting Events](https://aws.github.io/amazon-chime-sdk-js/modules/meetingevents.html) on GitHub.

#### Which CloudWatch metrics are available?
<a name="cw-metrics-faq"></a>

The metrics include `AttendeeAuthorizationSuccess`, `AttendeeAuthorizationErrors`, and `AttendeeAudioDrops`. To learn more about the metrics, refer to [Understanding Amazon CloudWatch metrics for Amazon Chime SDK meetings](sdk-usage-metrics.md), earlier in this guide.

#### How do I build a dashboard for logging and monitoring?
<a name="build-dashboard"></a>

The Amazon Chime SDK generates meeting events based on different states of the components in your client application, such as audio, video, screen sharing, or attendee activities. You can write those events to CloudWatch logs, then build a dashboard on those logs. You can include different events, error messages, and status codes to help gain insights from the data.

The Amazon Chime SDK also integrates with Amazon EventBridge, Amazon SQS, and Amazon SNS for tracking server-side events such as requests to create or delete meetings, attendees, or media pipelines. You can configure rules to filter for events you are interested in and write the events to CloudWatch logs.

To learn more about meeting events and using them to create dashboards, refer to:
+ [Meeting Events](https://aws.github.io/amazon-chime-sdk-js/modules/meetingevents.html) on GitHub.
+ [Understanding Amazon Chime SDK meeting lifecycle events](using-events.md), earlier in this guide.
+ [Understanding Amazon CloudWatch metrics for Amazon Chime SDK meetings](sdk-usage-metrics.md), earlier in this guide.
+ [Understanding Amazon Chime SDK event notifications](mtgs-sdk-notifications.md), earlier in this guide.

To try it, follow the instructions in these blog posts:
+ [ Server-side logging and monitoring of Amazon Chime SDK events](https://aws.amazon.com/blogs/business-productivity/server-side-logging-and-monitoring-of-amazon-chime-sdk-events/).
+ [ Monitoring and troubleshooting with Amazon Chime SDK meeting events](https://aws.amazon.com/blogs/business-productivity/monitoring-and-troubleshooting-with-amazon-chime-sdk-meeting-events/).

#### How can I monitor whether meetings end automatically or when the DeleteMeeting API is called?
<a name="monitor-endings"></a>

Both ways of ending a meeting trigger the `MeetingFailed` event. If you don’t have a Cloud Trail or EventBridge entry for the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteMeeting.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteMeeting.html) API, you can assume that the meeting ended automatically.

### Logging
<a name="logging-faqs"></a>

#### How do I enable WebRTC debug logging on Google Chrome?
<a name="chrome-webrtc"></a>

Run the following command and flags: `chrome —enable-logging —vmodule=*/webrtc/*=1`. This turns on `IFO` and `VERBOSE` logging for WebRTC. The resulting log is named `chrome_debug.log` and saved in the Chrome user data directory. 

#### How to enable WebRTC debug logging for Safari on macOS?
<a name="safari-webrtc"></a>

Follow these steps:

1. In Safari, select **Settings**. 

1. Choose **Advanced options**, then choose **Show features for web developers**.

   The **Develop** menu appears in the browser.

1. On the **Develop** menu, choose **Show JavaScript Console**.

1.  In the JavaScript console, choose **Settings**, then enable WebRTC logging. You can choose basic or verbose logging as needed. 

### Error messages
<a name="error-msg-faqs"></a>

#### How do I troubleshoot the “Session stopped - reason - ICEGatheringTimeout Workground” error?
<a name="session-stopped"></a>

Do the following:
+ Ensure that egress for UDP port 3478 on IP range 99.77.128.0/18 is enabled. For more information, refer to [Configuring your network for Amazon Chime SDK meetings](network-config.md), earlier in this guide.
+ Ensure that an anti-virus browser extension isn't preventing resources from loading. UDP 3478 is for TURN and needs to be unblocked on the end user side, either on local computer firewalls or on the corporate network firewall. 
+ Connection retry falls back to TLS over port 443, so ensure that the domain or subnet are not blocked.

#### What does the “Error: Invalid capture pipeline ARN” message mean?
<a name="invalid-capture"></a>

This error typically occurs when the service can’t resolve a media pipeline ARN. Ensure the ARN belongs to a media pipeline and not to a meeting. `MediaPipelineArn` is part of the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaCapturePipeline.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_CreateMediaCapturePipeline.html) API response.

#### What does the "AudioJoinedFromAnotherDevice" error mean, and how do I avoid it?
<a name="two-devices"></a>

This error is raised when the same attendee joins from two devices. The error is returned in the `meetingErrorMessage` attribute of a `meetingFailed` event. To avoid this, ensure that each attendee has a unique `ExternalUserId`, and make sure that you do not use the same attendee response from the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateAttendee.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateAttendee.html), [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_BatchCreateAttendee.html), or [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeetingWithAttendees.html) APIs in two or more meetings simultaneously.

#### How do I resolve “Forbidden: Not authorized to call Chime SDK with Account Id *111122223333*”?
<a name="forbidden-meaning-1"></a>

You're calling a deprecated Amazon Chime API. To solve the problem, migrate to the Amazon Chime SDK namespace. For more information, refer to the following topics earlier in this guide:
+ [Migrating from the Amazon Chime namespace](migrate-from-chm-namespace.md).
+ [Migrating to the Amazon Chime SDK meetings namespace](meeting-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK identity namespace](identity-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK voice namespace](voice-namespace-migration.md).

#### How do I resolve “Forbidden: Account Id *111122223333* is not authorized to call deprecated Amazon Chime SDK API on the chime endpoint”?
<a name="forbidden-meaning-2"></a>

You're calling a deprecated Amazon Chime API. To solve the problem, migrate to the Amazon Chime SDK namespace. For more information, refer to the following topics earlier in this guide:
+ [Migrating from the Amazon Chime namespace](migrate-from-chm-namespace.md).
+ [Migrating to the Amazon Chime SDK meetings namespace](meeting-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK identity namespace](identity-namespace-migration.md).
+ [Migrating to the Amazon Chime SDK voice namespace](voice-namespace-migration.md).

#### For media pipelines, how do I troubleshoot “Runtime error: problem contacting Chime: Client request token exists without active resources, please re-generate client request token”?
<a name="regenerate-token"></a>

The client request token is a unique identifier that makes API requests idempotent. This error occurs when the token is associated with an inactive media pipeline. To fix the issue, generate a new unique token and send it with the API request.

## Media pipeline FAQs
<a name="media-pipeline-faqs"></a>

### Which format does media capture use for 5 second segments?
<a name="segment-format"></a>

Media capture uses the MP4 format. This includes 5 second segments and combined recording and composited files.

### How do I delete attendees created by media capture pipelines?
<a name="delete-bot"></a>

 To delete media capture attendees, you can end the pipeline or call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html) API. 

### Does recording happen in the cloud or locally?
<a name="cloud-local"></a>

Media capture pipelines record directly into your Amazon S3 bucket. Media capture doesn’t put any bandwidth or connectivity requirements on clients. 

### Where can we create media capture in relation to meetings?
<a name="create-capture"></a>

To choose a Region for creating media captures, first choose an API endpoint from the available meeting control plane Regions. Next, create the meeting and media capture pipeline in that Region. Media capture can write to an Amazon S3 bucket in your account in any Amazon Chime SDK media Region. For more information about the available Regions and endpoints, the media pipeline control plane, and media Regions, refer to [Available AWS Regions for the Amazon Chime SDK](sdk-available-regions.md) earlier in this guide, and [Amazon Chime SDK endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/chime-sdk.html) in the *AWS Reference guide*. 

### Does media capture record all 250 attendee videos in a meeting?
<a name="all-250"></a>

No. A pipeline only captures the first 25 video streams.

### Can I stop recording while a meeting continues?
<a name="pipe-auto-end"></a>

You can create a mechanism to call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html) API after a given number of minutes. For example, you can create a step function that starts when media capture begins and has a predetermined wait time.

### Can I stop meetings while recording is on?
<a name="auto-end-record"></a>

You can call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_media-pipelines-chime_DeleteMediaCapturePipeline.html) API to end the recordings, or you can call the [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteMeeting.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_DeleteMeeting.html) API when the meeting is scheduled to end. During a meeting, if the media capture attendee is the only attendee left, the meeting automatically ends after 5 minutes. 

## PSTN audio FAQs
<a name="pstn-faqs"></a>

### Can you use PSTN audio to route inbound calls from non-US numbers to Voice Connectors?
<a name="route-non-us"></a>

 No. You cannot route a non-US number to a Voice Connector by using PSTN audio. 

### When attendees connect via PSTN audio, can you move them from the current meeting to a new meeting?
<a name="move-attendees"></a>

Yes. First call the [Hangup](hangup.md) action for the leg connected to the meeting. That disconnects the attendee from the meeting without terminating the inbound call. Then call the [JoinChimeMeeting](join-chime-meeting.md) action to join the attendees to the new meeting.