public class

KSYMediaRecorder

extends Object
java.lang.Object
   ↳ com.ksyun.media.player.KSYMediaRecorder

Class Overview

由金山云提供实现边播边录功能的核心类,只可在软解时使用,要求API Level 18及以上 在视频已经开始播放之后才可使用类KSYMediaRecorder录制视频内容

Summary

Public Constructors
KSYMediaRecorder(VideoRecorderConfig videoConfig, AudioRecorderConfig audioConfig, String outputPath)
Public Methods
void init(KSYMediaPlayer player)
初始化接口
void start()
开始录制视
void stop()
结束录制
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KSYMediaRecorder (VideoRecorderConfig videoConfig, AudioRecorderConfig audioConfig, String outputPath)

Public Methods

public void init (KSYMediaPlayer player)

初始化接口

Parameters
player 播放器对象
Throws
IOException

public void start ()

开始录制视

public void stop ()

结束录制