PCMO
The PCMO action defines programmable call media operations in the Piopiy platform, which control call flows such as playing media, bridging calls, and recording. This action allows you to manage how calls are handled in real-time by specifying actions in sequence.
- Node.js
- Python
To use PCMO, you need to create an instance of the StreamAction
class and define the actions you want to perform. The PCMO()
method can be used to remove all defined actions from the current session before executing any new actions.
const { StreamAction } = require("piopiy");
const stream = new StreamAction();
stream.PCMO()
To use PCMO, you need to create an instance of the StreamAction
class and define the actions you want to perform. The PCMO()
method can be used to remove all defined actions from the current session before executing any new actions.
from piopiy import StreamAction
stream = StreamAction()
stream.PCMO()