# iOS Audio PTS

Based on OvenMediaEngine Enterprise Team research, when you play audio in an iOS environment, Audio dropouts may occur under the following conditions:

* Receiving an Audio stream via the RTMP protocol.
* Transmitting Audio only without video.
* Using the original Audio without encoding, like passthrough.
* Playing using HLS on iOS.

We found that these issues are related to the `timebase` of RTMP. To resolve this, you need to configure the system to use the Presentation Timestamp *(*&#x50;TS) calculated and generated by OvenMediaEngine instead of the PTS provided by RTMP.

## Generating Audio PTS Settings

You can enable the Generating Audio PTS feature by activating the `<GenerateAudioPTS>` value to `true` in the `Server.xml` under \<Providers>\<RTMP>, as shown below:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<Server version="8">
  ...
  <VirtualHosts>
    <VirtualHost>
      <Applications>
        <Application>
          <Providers>
            ...
            <RTMP>
              <GenerateAudioPTS>true</GenerateAudioPTS>
            </RTMP>
            ...
          </Providers>
        </Application>
      </Applications>
    </VirtualHost>
  </VirtualHosts>
</Server>
```
