Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.AgoraMediaNodeFactory Class Reference

Public Member Functions

 AgoraMediaNodeFactory (long cptr)
void destroy ()
native AgoraAudioPcmDataSender createAudioPcmDataSender ()
native AgoraAudioEncodedFrameSender createAudioEncodedFrameSender ()
native AgoraVideoFrameSender createVideoFrameSender ()
native AgoraVideoEncodedImageSender createVideoEncodedImageSender ()

Detailed Description

The AgoraMediaNodeFactory class.

Constructor & Destructor Documentation

◆ AgoraMediaNodeFactory()

io.agora.rtc.AgoraMediaNodeFactory.AgoraMediaNodeFactory ( long  cptr)


Member Function Documentation

◆ createAudioEncodedFrameSender()

native AgoraAudioEncodedFrameSender io.agora.rtc.AgoraMediaNodeFactory.createAudioEncodedFrameSender ( )

Creates an encoded audio data sender.

This method creates an AgoraAudioEncodedFrameSender object, which can be used by createCustomAudioTrackEncoded to send encoded audio data.

An AgoraAudioEncodedFrameSender object

◆ createAudioPcmDataSender()

native AgoraAudioPcmDataSender io.agora.rtc.AgoraMediaNodeFactory.createAudioPcmDataSender ( )

Creates a PCM audio data sender.

This method creates an AgoraAudioPcmDataSender object, which can be used by createCustomAudioTrackPcm to send PCM audio data.

An AgoraAudioPcmDataSender object.

◆ createVideoEncodedImageSender()

native AgoraVideoEncodedImageSender io.agora.rtc.AgoraMediaNodeFactory.createVideoEncodedImageSender ( )

Creates an encoded video image sender.

This method creates an IVideoEncodedImageSender object, which can be used by createCustomVideoTrackEncoded to send the encoded video data.

An AgoraVideoEncodedImageSender object.

◆ createVideoFrameSender()

native AgoraVideoFrameSender io.agora.rtc.AgoraMediaNodeFactory.createVideoFrameSender ( )

Creates a YUV video frame sender.

This method creates an AgoraVideoFrameSender object, which can be used by createCustomVideoTrackFrame to send the custom video data.

An AgoraVideoFrameSender object.

◆ destroy()

void io.agora.rtc.AgoraMediaNodeFactory.destroy ( )


The documentation for this class was generated from the following file: