RVS_MediaServer_FFMPEGServerManagerDelegate

protocol RVS_MediaServer_FFMPEGServerManagerDelegate : AnyObject

These are methods that can be called from the manager to a registered delegate.

They are all called on the main thread, and are all optional.

  • mediaServerManager(_:taskStopped:) Default implementation

    Called to indicate that a running process, is running no more.

    Default Implementation

    Called to indicate that a running process, is running no more.

    Declaration

    Swift

    func mediaServerManager(_ manager: RVS_MediaServer_FFMPEGServerManager, taskStopped: Process!)

    Parameters

    manager

    The manager object

    task

    The process that is no longer running.

  • Called to deliver text intercepted from ffmpeg.

    Default Implementation

    Does Nothing.

    Declaration

    Swift

    func mediaServerManager(_ manager: RVS_MediaServer_FFMPEGServerManager, task: Process!, ffmpegConsoleTextReceived: String)

    Parameters

    manager

    The manager object

    task

    The process running.

    ffmpegConsoleTextReceived

    The text received.

  • Called if there was an error encountered.

    Default Implementation

    Called if there was an error encountered.

    Declaration

    Swift

    func mediaServerManager(_ manager: RVS_MediaServer_FFMPEGServerManager, task: Process!, ffmpegError: String)

    Parameters

    manager

    The manager object

    task

    The process running.

    ffmpegError

    The text received.