@@ -845,8 +845,6 @@ enum INTERFACE_ID_TYPE {
845845 AGORA_IID_CLOUD_SPATIAL_AUDIO = 10 ,
846846 AGORA_IID_LOCAL_SPATIAL_AUDIO = 11 ,
847847 AGORA_IID_MEDIA_RECORDER = 12 ,
848- AGORA_IID_STATE_SYNC = 13 ,
849- AGORA_IID_METACHAT_SERVICE = 14 ,
850848};
851849
852850/* *
@@ -1500,7 +1498,6 @@ struct EncodedVideoFrameInfo {
15001498 rotation(VIDEO_ORIENTATION_0),
15011499 trackId(0 ),
15021500 captureTimeMs(0 ),
1503- decodeTimeMs(0 ),
15041501 uid(0 ),
15051502 streamType(VIDEO_STREAM_HIGH) {}
15061503
@@ -1513,7 +1510,6 @@ struct EncodedVideoFrameInfo {
15131510 rotation(rhs.rotation),
15141511 trackId(rhs.trackId),
15151512 captureTimeMs(rhs.captureTimeMs),
1516- decodeTimeMs(rhs.decodeTimeMs),
15171513 uid(rhs.uid),
15181514 streamType(rhs.streamType) {}
15191515
@@ -1527,7 +1523,6 @@ struct EncodedVideoFrameInfo {
15271523 rotation = rhs.rotation ;
15281524 trackId = rhs.trackId ;
15291525 captureTimeMs = rhs.captureTimeMs ;
1530- decodeTimeMs = rhs.decodeTimeMs ;
15311526 uid = rhs.uid ;
15321527 streamType = rhs.streamType ;
15331528 return *this ;
@@ -1568,10 +1563,6 @@ struct EncodedVideoFrameInfo {
15681563 * This is a input parameter which means the timestamp for capturing the video.
15691564 */
15701565 int64_t captureTimeMs;
1571- /* *
1572- * The timestamp for decoding the video.
1573- */
1574- int64_t decodeTimeMs;
15751566 /* *
15761567 * ID of the user.
15771568 */
@@ -1605,7 +1596,7 @@ enum VIDEO_MIRROR_MODE_TYPE {
16051596 */
16061597struct VideoEncoderConfiguration {
16071598 /* *
1608- * The video encoder code type: #VIDEO_CODEC_TYPE.
1599+ * The video encoder code type: #VIDEO_CODEC_TYPE. reserved , not used now
16091600 */
16101601 VIDEO_CODEC_TYPE codecType;
16111602 /* *
@@ -1776,7 +1767,7 @@ enum SIMULCAST_STREAM_MODE {
17761767 /*
17771768 * disable simulcast stream
17781769 */
1779- DISABLE_SIMULCAST_STREM = 0 ,
1770+ DISABLE_SIMULCAST_STREAM = 0 ,
17801771 /*
17811772 * always enable simulcast stream
17821773 */
@@ -1794,14 +1785,14 @@ struct SimulcastStreamConfig {
17941785 /* *
17951786 * The video bitrate (Kbps).
17961787 */
1797- int kBitrate ;
1788+ int bitrate ;
17981789 /* *
17991790 * The video framerate.
18001791 */
18011792 int framerate;
1802- SimulcastStreamConfig () : dimensions(160 , 120 ), kBitrate (65 ), framerate(5 ) {}
1793+ SimulcastStreamConfig () : dimensions(160 , 120 ), bitrate (65 ), framerate(5 ) {}
18031794 bool operator ==(const SimulcastStreamConfig& rhs) const {
1804- return dimensions == rhs.dimensions && kBitrate == rhs.kBitrate && framerate == rhs.framerate ;
1795+ return dimensions == rhs.dimensions && bitrate == rhs.bitrate && framerate == rhs.framerate ;
18051796 }
18061797};
18071798
@@ -4374,20 +4365,6 @@ enum VOICE_CONVERSION_PRESET {
43744365 VOICE_CHANGER_BASS = 0x03010400
43754366};
43764367
4377- /* * The options for SDK preset headphone equalizer.
4378- */
4379- enum HEADPHONE_EQUALIZER_PRESET {
4380- /* * Turn off headphone EQ and use the original voice.
4381- */
4382- HEADPHONE_EQUALIZER_OFF = 0x00000000 ,
4383- /* * For over-ear headphones.
4384- */
4385- HEADPHONE_EQUALIZER_OVEREAR = 0x04000001 ,
4386- /* * For in-ear headphones.
4387- */
4388- HEADPHONE_EQUALIZER_INEAR = 0x04000002
4389- };
4390-
43914368/* *
43924369 * The screen sharing encoding parameters.
43934370 */
@@ -5351,37 +5328,33 @@ class LicenseCallback {
53515328 */
53525329struct SpatialAudioParams {
53535330 /* *
5354- * Speaker azimuth in a spherical coordinate system centered on the listener.
5331+ * optional azimuth: speaker azimuth in a spherical coordinate system centered on the listener
53555332 */
53565333 Optional<double > speaker_azimuth;
53575334 /* *
5358- * Speaker elevation in a spherical coordinate system centered on the listener.
5335+ * optional azimuth: speaker elevation in a spherical coordinate system centered on the listener
53595336 */
53605337 Optional<double > speaker_elevation;
53615338 /* *
5362- * Distance between speaker and listener.
5339+ * distance between speaker and listener
53635340 */
53645341 Optional<double > speaker_distance;
53655342 /* *
5366- * Speaker orientation [0-180], 0 degree is the same with listener orientation.
5343+ * speaker orientation [0-180]: 0 degree is the same with listener orientation
53675344 */
53685345 Optional<int > speaker_orientation;
53695346 /* *
5370- * Enable blur or not for the speaker.
5347+ * enable blur or not for the speaker
53715348 */
53725349 Optional<bool > enable_blur;
53735350 /* *
5374- * Enable air absorb or not for the speaker.
5351+ * enable air absorb or not for the speaker
53755352 */
53765353 Optional<bool > enable_air_absorb;
53775354 /* *
5378- * Speaker attenuation factor.
5355+ * speaker attenuation factor
53795356 */
53805357 Optional<double > speaker_attenuation;
5381- /* *
5382- * Enable doppler factor.
5383- */
5384- Optional<bool > enable_doppler;
53855358};
53865359
53875360} // namespace agora
@@ -5444,28 +5417,3 @@ AGORA_API void setAgoraLicenseCallback(agora::base::LicenseCallback *callback);
54445417 */
54455418
54465419AGORA_API agora::base::LicenseCallback* getAgoraLicenseCallback ();
5447-
5448- /*
5449- * Get monotonic time in ms which can be used by capture time,
5450- * typical scenario is as follows:
5451- *
5452- * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5453- * | // custom audio/video base capture time, e.g. the first audio/video capture time. |
5454- * | int64_t custom_capture_time_base; |
5455- * | |
5456- * | int64_t agora_monotonic_time = getAgoraCurrentMonotonicTimeInMs(); |
5457- * | |
5458- * | // offset is fixed once calculated in the begining. |
5459- * | const int64_t offset = agora_monotonic_time - custom_capture_time_base; |
5460- * | |
5461- * | // realtime_custom_audio/video_capture_time is the origin capture time that customer provided.|
5462- * | // actual_audio/video_capture_time is the actual capture time transfered to sdk. |
5463- * | int64_t actual_audio_capture_time = realtime_custom_audio_capture_time + offset; |
5464- * | int64_t actual_video_capture_time = realtime_custom_video_capture_time + offset; |
5465- * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5466- *
5467- * @return
5468- * - >= 0: Success.
5469- * - < 0: Failure.
5470- */
5471- AGORA_API int64_t AGORA_CALL getAgoraCurrentMonotonicTimeInMs ();
0 commit comments