public class RCRTCAudioInputStreamImpl extends RCInputStreamImpl implements RCRTCAudioInputStream
RCRTCStream.RCRTCType
RONG_TAG, TAG_CDN, TAG_DEFAULT, TAG_MCU_LIVE, TAG_SCREEN_SHARE
构造器和说明 |
---|
RCRTCAudioInputStreamImpl(String userId,
Boolean live,
MediaResourceInfo mediaResourceInfo) |
RCRTCAudioInputStreamImpl(String userId,
MediaResourceInfo mediaResourceInfo) |
RCRTCAudioInputStreamImpl(String userId,
String tag,
String streamId) |
RCRTCAudioInputStreamImpl(String userId,
String tag,
String streamId,
String uri) |
限定符和类型 | 方法和说明 |
---|---|
void |
setAudioDataListener(IRCRTCAudioDataListener listener)
设置远端音频数据回调
|
void |
setTrack(MediaStreamTrack track) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMediaType, getResourceState, getStreamId, getTag, getType, getUserId, isMute, mute
public RCRTCAudioInputStreamImpl(String userId, String tag, String streamId, String uri)
public RCRTCAudioInputStreamImpl(String userId, String tag, String streamId)
public RCRTCAudioInputStreamImpl(String userId, MediaResourceInfo mediaResourceInfo)
public void setAudioDataListener(IRCRTCAudioDataListener listener)
RCRTCAudioInputStream
setAudioDataListener
在接口中 RCRTCAudioInputStream
public void setTrack(MediaStreamTrack track)