Agora video call documentation12/28/2023 ![]() ![]() Headphone equalizer: You can use a preset headphone equalization effect by calling the setHeadphoneEQPreset method to improve the hearing of the headphones.Doppler sound: You can enable Doppler sound by setting the enable_doppler parameter in SpatialAudioParams, and the receiver experiences noticeable tonal changes in the event of a high-speed relative displacement between the source source and receiver (such as in a racing game scenario).You can also set the sound attenuation parameter for the media player and the user, respectively, by calling setPlayerAttenuation and setRemoteAudioAttenuation, and specify whether to use that setting to force an override of the sound attenuation paramter in setZones. When the sound source (which can be a user or the media player) and the listener belong to the inside and outside of the sound insulation area, the listner experiences an attenuation effect similar to that of the sound in the real environment when it encounters a building partition. Sound insulation area: You can set a sound insulation area and sound attenuation parameter by calling setZones.This release adds the following features applicable to spatial audio effect scenarios, which can effectively enhance the user's sense of presence experience in virtual interactive scenarios. If you want to modify the default behavior above, you can call setDualStreamMode or setDualStreamMode and set the mode parameter to DISABLE_SIMULCAST_STREAM (always do not send low-quality video streams) or ENABLE_SIMULCAST_STREAM (always send low-quality video streams). After receiving the application, the sender automatically switches to sending low-quality video stream mode.The host at the receiving end calls setRemoteVideoStreamType or setRemoteDefaultVideoStreamType to initiate a low-quality video stream request.The SDK enables the low-quality video stream auto mode on the sender by default (the SDK does not send low-quality video streams), you can follow these steps to enable sending low-quality video streams: The implementation of subscribing low-quality video stream is expanded. This release optimizes the dual-stream mode, you can call enableDualStreamMode and enableDualStreamModeEx before and after joining a channel. To enable this function, contact Dual-stream mode In scenarios where there are a number of publishers, enabling this function helps reducing the bandwidth and device system pressure for the receivers. Streams that are not filtered will bypass this filter mechanism and transported directly to the receivers. Meanwhile, Agora supports publishers to choose whether or not the audio streams being published are to be filtered based on volume. The number of audio streams to be transported can be adjusted you can contact to adjust this number according to your scenarios. Once this function is enabled, the Agora server ranks all audio streams by volume and transports 3 audio streams with the highest volumes to the receivers by default. This release introduces filtering audio streams based on volume. When the local network connection type changes, the SDK triggers the onNetworkTypeChanged callback to report the current network connection type. ![]() You can use this method to get the type of network connection in use, including UNKNOWN, DISCONNECTED, LAN, WIFI, 2G, 3G, 4G, 5G. To make it easier for users to know the connection type of the local network at any stage, this release adds the getNetworkType method. After the test is complete, call the stopPlaybackDeviceTest method to stop the audio capture device test. You can call startRecordingDeviceTest to start the audio capture device test. This release adds support for testing local audio capture devices before joining channel. The SDK calculates the sampling interval based on the return value of the callback, and triggers the onEarMonitoringAudioFrame callback based on the sampling interval. After calling registerAudioFrameObserver to register the audio observer, set the audio data format in the return value of the getEarMonitoringAudioParams callback. You can use your own audio effect processing module to pre-process the audio frame data of the in-ear monitoring to implement custom audio effects. This release adds getEarMonitoringAudioParams callback to set the audio data format of the in-ear monitoring. This release deletes the sourceType parameter in enableDualStreamMode and enableDualStreamModeEx, and the enableDualStreamMode method, because the SDK supports enabling dual-stream mode for various video sources captured by custom capture or SDK, you don't need to specify the video source type any more. V4.0.1 was released on September 29, 2022. ![]() If your target platform is Android 12 or higher, add the _CONNECT permission to the AndroidManifest.xml file of the Android project to enable the Bluetooth function of the Android system: v4.0.1
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |