<!--
{
  "availability" : [
    "iOS: 3.0.0 - 7.0.0",
    "iPadOS: 3.0.0 - 7.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 3.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKVoiceChatService/receivedRealTime(_:fromParticipantID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKVoiceChatService(im)receivedRealTimeData:fromParticipantID:"
  },
  "title" : "receivedRealTime(_:fromParticipantID:)"
}
-->

# receivedRealTime(_:fromParticipantID:)

Called by the client to deliver voice data received from a remote participant..

```
func receivedRealTime(_ audio: Data!, fromParticipantID participantID: String!)
```

## Parameters

`audio`

The audio data that was received from the other participant.

`participantID`

A string that uniquely identifies the speaking participant.

## Discussion

The voice chat service uses a network connection provided by the client to exchange information between the participants. When the client receives information intended for the voice chat service, it should call this method to transfer it.

## See Also

[`func voiceChatService(GKVoiceChatService, sendRealTime: Data, toParticipantID: String)`](/documentation/GameKit/GKVoiceChatClient/voiceChatService(_:sendRealTime:toParticipantID:))

Asks the client to send data to a participant that must get there quickly.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)