org.mobicents.media.server.impl

Class AbstractSink

    • Constructor Detail

      • AbstractSink

        public AbstractSink(String name)
        Creates new instance of sink with specified name.
        Parameters:
        name - the name of the sink to be created.
    • Method Detail

      • onMediaTransfer

        public abstract void onMediaTransfer(Frame frame)                              throws IOException
        This methos is called when new portion of media arrives.
        Parameters:
        buffer - the new portion of media data.
        Throws:
        IOException
      • start

        protected void start()
        (Non Java-doc).
        See Also:
        org.mobicents.media.MediaSink#start().
      • stop

        protected void stop()
        (Non Java-doc).
        See Also:
        org.mobicents.media.MediaSink#stop().
      • activate

        public abstract void activate()
        Specified by:
        activate in interface Component
      • failed

        protected void failed(Exception e)
        Sends failure notification.
        Parameters:
        eventID - failure event identifier.
        e - the exception caused failure.
      • started

        protected void started()
        Sends notification that media processing has been started.
      • stopped

        protected void stopped()
        Sends notification that detection is terminated.
      • report

        public String report()

Copyright © 2016 TeleStax, Inc.. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14