> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # PlayAction > Action handle for an active audio playback operation. [call-play]: /docs/server-sdks/reference/python/relay/call/play [base-action-interface]: /docs/server-sdks/reference/python/relay/actions [stop]: /docs/server-sdks/reference/python/relay/actions/play-action/stop [pause]: /docs/server-sdks/reference/python/relay/actions/play-action/pause [resume]: /docs/server-sdks/reference/python/relay/actions/play-action/resume [volume]: /docs/server-sdks/reference/python/relay/actions/play-action/volume Returned from [`call.play()`][call-play]. Tracks an active audio playback operation. Terminal states: `finished`, `error`. Inherits all properties and methods from the [base Action interface][base-action-interface] (`control_id`, `is_done`, `completed`, `result`, `wait()`). ## **Properties** No additional properties beyond the [base Action interface][base-action-interface]. ## **Methods** #### [stop](/docs/server-sdks/reference/python/relay/actions/play-action/stop) Stop audio playback immediately. #### [pause](/docs/server-sdks/reference/python/relay/actions/play-action/pause) Pause audio playback. #### [resume](/docs/server-sdks/reference/python/relay/actions/play-action/resume) Resume paused audio playback. #### [volume](/docs/server-sdks/reference/python/relay/actions/play-action/volume) Adjust audio playback volume. ## **Example** ```python {10} from signalwire.relay import RelayClient client = RelayClient( project="your-project-id", token="your-api-token", contexts=["default"], ) @client.on_call async def handle_call(call): await call.answer() action = await call.play( [{"type": "audio", "params": {"url": "https://example.com/hold-music.mp3"}}], volume=-5.0, loop=0, ) # Pause and resume playback await action.pause() await action.resume() # Adjust volume await action.volume(10.0) # Stop playback await action.stop() client.run() ``` > Action handle for an active audio playback operation. ## Docs - [pause](https://signalwire.com/docs/server-sdks/reference/python/relay/actions/play-action/pause.md): Pause audio playback. - [resume](https://signalwire.com/docs/server-sdks/reference/python/relay/actions/play-action/resume.md): Resume paused audio playback. - [stop](https://signalwire.com/docs/server-sdks/reference/python/relay/actions/play-action/stop.md): Stop audio playback immediately. - [volume](https://signalwire.com/docs/server-sdks/reference/python/relay/actions/play-action/volume.md): Adjust audio playback volume.