Updated on 2024-03-05 GMT+08:00

Playing Voice in Calling State

  • Application scenario

    An agent needs to play a recording.

  • Prerequisites

    The agent has signed in.

    The agent is in a call.

  • Implementation process

    For details, see Recording Playback.

  • Triggered event

    Voice playback:

    • AgentMediaEvent_Play_Succ
    • AgentMediaEvent_Play

    Voice playback failure:

    • AgentMediaEvent_Play_Fail
    • AgentMediaEvent_StopPlayDone

    Fast forwarding of voice playback

    • AgentMediaEvent_JumpPlayDone

    Fast rewinding of voice playback

    • AgentMediaEvent_JumpPlayDone
    Voice playback stopping or completion
    • AgentMediaEvent_StopPlayDone