package ink.wgink.module.file.media.manager.process;

import ink.wgink.module.file.media.manager.MediaManager;

import java.io.InputStream;


/**
 * When you feel like quitting. Think about why you started
 * 当你想要放弃的时候，想想当初你为何开始
 *
 * @ClassName: MediaProcess
 * @Description: 媒体流
 * @Author: wanggeng
 * @Date: 2021/6/10 10:52 上午
 * @Version: 1.0
 */
public interface IMediaStream {

    /**
     * 输入
     *
     * @param inputStream
     * @throws Exception
     */
    void input(InputStream inputStream) throws Exception;

    /**
     * 错误
     *
     * @param errorStream
     * @throws Exception
     */
    void error(InputStream errorStream) throws Exception;

}
