Skip to content
Snippets Groups Projects
  • Aleksander Morgado's avatar
    329caff8
    base-call: implement generic audio channel setup/cleanup handlers · 329caff8
    Aleksander Morgado authored
    Modems that require specific commands to setup or cleanup the audio
    channel as soon as a call is ongoing can subclass these two new
    methods.
    
    The setup() method is considered part of the call start/accept
    process, and so if it fails, the whole operation will fail.
    
    The failures in the cleanup() method will be reported in the log, but
    otherwise ignored, as this operation may be executed without any
    user intervention (e.g. if the remote party hangs up).
    329caff8
    History
    base-call: implement generic audio channel setup/cleanup handlers
    Aleksander Morgado authored
    Modems that require specific commands to setup or cleanup the audio
    channel as soon as a call is ongoing can subclass these two new
    methods.
    
    The setup() method is considered part of the call start/accept
    process, and so if it fails, the whole operation will fail.
    
    The failures in the cleanup() method will be reported in the log, but
    otherwise ignored, as this operation may be executed without any
    user intervention (e.g. if the remote party hangs up).