You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stream-webrtc-android/api/stream-webrtc-android.api
+74-12Lines changed: 74 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,16 @@ public class org/webrtc/AudioSource : org/webrtc/MediaSource {
21
21
22
22
public class org/webrtc/AudioTrack : org/webrtc/MediaStreamTrack {
23
23
public fun <init> (J)V
24
+
public fun addSink (Lorg/webrtc/AudioTrackSink;)V
25
+
public fun dispose ()V
26
+
public fun removeSink (Lorg/webrtc/AudioTrackSink;)V
24
27
public fun setVolume (D)V
25
28
}
26
29
30
+
public abstract interface class org/webrtc/AudioTrackSink {
31
+
public abstract fun onData (Ljava/nio/ByteBuffer;IIIIJ)V
32
+
}
33
+
27
34
public class org/webrtc/BuiltinAudioDecoderFactoryFactory : org/webrtc/AudioDecoderFactoryFactory {
28
35
public fun <init> ()V
29
36
public fun createNativeAudioDecoderFactory ()J
@@ -450,6 +457,59 @@ public class org/webrtc/FileVideoCapturer : org/webrtc/VideoCapturer {
450
457
public fun tick ()V
451
458
}
452
459
460
+
public class org/webrtc/FrameCryptor {
461
+
public fun <init> (J)V
462
+
public fun dispose ()V
463
+
public fun getKeyIndex ()I
464
+
public fun getNativeFrameCryptor ()J
465
+
public fun isEnabled ()Z
466
+
public fun setEnabled (Z)V
467
+
public fun setKeyIndex (I)V
468
+
public fun setObserver (Lorg/webrtc/FrameCryptor$Observer;)V
469
+
}
470
+
471
+
public final class org/webrtc/FrameCryptor$FrameCryptionState : java/lang/Enum {
472
+
public static final field DECRYPTIONFAILED Lorg/webrtc/FrameCryptor$FrameCryptionState;
473
+
public static final field ENCRYPTIONFAILED Lorg/webrtc/FrameCryptor$FrameCryptionState;
474
+
public static final field INTERNALERROR Lorg/webrtc/FrameCryptor$FrameCryptionState;
475
+
public static final field KEYRATCHETED Lorg/webrtc/FrameCryptor$FrameCryptionState;
476
+
public static final field MISSINGKEY Lorg/webrtc/FrameCryptor$FrameCryptionState;
477
+
public static final field NEW Lorg/webrtc/FrameCryptor$FrameCryptionState;
478
+
public static final field OK Lorg/webrtc/FrameCryptor$FrameCryptionState;
479
+
public static fun valueOf (Ljava/lang/String;)Lorg/webrtc/FrameCryptor$FrameCryptionState;
480
+
public static fun values ()[Lorg/webrtc/FrameCryptor$FrameCryptionState;
481
+
}
482
+
483
+
public abstract interface class org/webrtc/FrameCryptor$Observer {
484
+
public abstract fun onFrameCryptionStateChanged (Ljava/lang/String;Lorg/webrtc/FrameCryptor$FrameCryptionState;)V
485
+
}
486
+
487
+
public final class org/webrtc/FrameCryptorAlgorithm : java/lang/Enum {
488
+
public static final field AES_GCM Lorg/webrtc/FrameCryptorAlgorithm;
489
+
public static fun valueOf (Ljava/lang/String;)Lorg/webrtc/FrameCryptorAlgorithm;
490
+
public static fun values ()[Lorg/webrtc/FrameCryptorAlgorithm;
491
+
}
492
+
493
+
public class org/webrtc/FrameCryptorFactory {
494
+
public fun <init> ()V
495
+
public static fun createFrameCryptorForRtpReceiver (Lorg/webrtc/PeerConnectionFactory;Lorg/webrtc/RtpReceiver;Ljava/lang/String;Lorg/webrtc/FrameCryptorAlgorithm;Lorg/webrtc/FrameCryptorKeyProvider;)Lorg/webrtc/FrameCryptor;
496
+
public static fun createFrameCryptorForRtpSender (Lorg/webrtc/PeerConnectionFactory;Lorg/webrtc/RtpSender;Ljava/lang/String;Lorg/webrtc/FrameCryptorAlgorithm;Lorg/webrtc/FrameCryptorKeyProvider;)Lorg/webrtc/FrameCryptor;
497
+
public static fun createFrameCryptorKeyProvider (Z[BI[BIIZ)Lorg/webrtc/FrameCryptorKeyProvider;
498
+
}
499
+
500
+
public class org/webrtc/FrameCryptorKeyProvider {
501
+
public fun <init> (J)V
502
+
public fun dispose ()V
503
+
public fun exportKey (Ljava/lang/String;I)[B
504
+
public fun exportSharedKey (I)[B
505
+
public fun getNativeKeyProvider ()J
506
+
public fun ratchetKey (Ljava/lang/String;I)[B
507
+
public fun ratchetSharedKey (I)[B
508
+
public fun setKey (Ljava/lang/String;I[B)Z
509
+
public fun setSharedKey (I[B)Z
510
+
public fun setSifTrailer ([B)V
511
+
}
512
+
453
513
public abstract interface class org/webrtc/FrameDecryptor {
454
514
public abstract fun getNativeFrameDecryptor ()J
455
515
}
@@ -566,7 +626,7 @@ public class org/webrtc/LibaomAv1Decoder : org/webrtc/WrappedNativeVideoDecoder
566
626
567
627
public class org/webrtc/LibaomAv1Encoder : org/webrtc/WrappedNativeVideoEncoder {
568
628
public fun <init> ()V
569
-
public fun createNativeVideoEncoder ()J
629
+
public fun createNative (J)J
570
630
public fun isHardwareEncoder ()Z
571
631
}
572
632
@@ -577,7 +637,7 @@ public class org/webrtc/LibvpxVp8Decoder : org/webrtc/WrappedNativeVideoDecoder
577
637
578
638
public class org/webrtc/LibvpxVp8Encoder : org/webrtc/WrappedNativeVideoEncoder {
579
639
public fun <init> ()V
580
-
public fun createNativeVideoEncoder ()J
640
+
public fun createNative (J)J
581
641
public fun isHardwareEncoder ()Z
582
642
}
583
643
@@ -588,7 +648,7 @@ public class org/webrtc/LibvpxVp9Decoder : org/webrtc/WrappedNativeVideoDecoder
588
648
589
649
public class org/webrtc/LibvpxVp9Encoder : org/webrtc/WrappedNativeVideoEncoder {
590
650
public fun <init> ()V
591
-
public fun createNativeVideoEncoder ()J
651
+
public fun createNative (J)J
592
652
public fun isHardwareEncoder ()Z
593
653
}
594
654
@@ -702,6 +762,7 @@ public class org/webrtc/MediaStreamTrack {
702
762
public fun dispose ()V
703
763
public fun enabled ()Z
704
764
public fun id ()Ljava/lang/String;
765
+
public fun isDisposed ()Z
705
766
public fun kind ()Ljava/lang/String;
706
767
public fun setEnabled (Z)Z
707
768
public fun state ()Lorg/webrtc/MediaStreamTrack$State;
@@ -1057,18 +1118,17 @@ public final class org/webrtc/PeerConnection$PortPrunePolicy : java/lang/Enum {
1057
1118
1058
1119
public class org/webrtc/PeerConnection$RTCConfiguration {
1059
1120
public field activeResetSrtpParams Z
1060
-
public field allowCodecSwitching Ljava/lang/Boolean;
1061
1121
public field audioJitterBufferFastAccelerate Z
1062
1122
public field audioJitterBufferMaxPackets I
1063
1123
public field bundlePolicy Lorg/webrtc/PeerConnection$BundlePolicy;
1064
1124
public field candidateNetworkPolicy Lorg/webrtc/PeerConnection$CandidateNetworkPolicy;
1065
1125
public field certificate Lorg/webrtc/RtcCertificatePem;
1066
-
public field combinedAudioVideoBwe Ljava/lang/Boolean;
1067
1126
public field continualGatheringPolicy Lorg/webrtc/PeerConnection$ContinualGatheringPolicy;
1068
1127
public field cryptoOptions Lorg/webrtc/CryptoOptions;
1069
1128
public field disableIPv6OnWifi Z
1070
1129
public field enableCpuOveruseDetection Z
1071
1130
public field enableDscp Z
1131
+
public field enableIceGatheringOnAnyAddressPorts Z
1072
1132
public field enableImplicitRollback Z
1073
1133
public field iceBackupCandidatePairPingInterval I
1074
1134
public field iceCandidatePoolSize I
@@ -1514,7 +1574,7 @@ public final class org/webrtc/SimulcastAlignedVideoEncoderFactory : org/webrtc/V
1514
1574
1515
1575
public class org/webrtc/SimulcastVideoEncoder : org/webrtc/WrappedNativeVideoEncoder {
1516
1576
public fun <init> (Lorg/webrtc/VideoEncoderFactory;Lorg/webrtc/VideoEncoderFactory;Lorg/webrtc/VideoCodecInfo;)V
1517
-
public fun createNativeVideoEncoder ()J
1577
+
public fun createNative (J)J
1518
1578
public fun isHardwareEncoder ()Z
1519
1579
}
1520
1580
@@ -1703,9 +1763,9 @@ public class org/webrtc/VideoCodecInfo {
1703
1763
public final field name Ljava/lang/String;
1704
1764
public final field params Ljava/util/Map;
1705
1765
public final field payload I
1706
-
public field scalabilityModes [I
1766
+
public final field scalabilityModes Ljava/util/List;
1707
1767
public fun <init> (ILjava/lang/String;Ljava/util/Map;)V
1708
-
public fun <init> (Ljava/lang/String;Ljava/util/Map;)V
1768
+
public fun <init> (Ljava/lang/String;Ljava/util/Map;Ljava/util/List;)V
1709
1769
public fun equals (Ljava/lang/Object;)Z
1710
1770
public fun hashCode ()I
1711
1771
public fun toString ()Ljava/lang/String;
@@ -1766,7 +1826,7 @@ public class org/webrtc/VideoDecoderFallback : org/webrtc/WrappedNativeVideoDeco
1766
1826
}
1767
1827
1768
1828
public abstract interface class org/webrtc/VideoEncoder {
1769
-
public fun createNativeVideoEncoder ()J
1829
+
public fun createNative (J)J
1770
1830
public abstract fun encode (Lorg/webrtc/VideoFrame;Lorg/webrtc/VideoEncoder$EncodeInfo;)Lorg/webrtc/VideoCodecStatus;
1771
1831
public fun getEncoderInfo ()Lorg/webrtc/VideoEncoder$EncoderInfo;
1772
1832
public abstract fun getImplementationName ()Ljava/lang/String;
@@ -1885,7 +1945,7 @@ public abstract interface class org/webrtc/VideoEncoderFactory$VideoEncoderSelec
1885
1945
1886
1946
public class org/webrtc/VideoEncoderFallback : org/webrtc/WrappedNativeVideoEncoder {
1887
1947
public fun <init> (Lorg/webrtc/VideoEncoder;Lorg/webrtc/VideoEncoder;)V
1888
-
public fun createNativeVideoEncoder ()J
1948
+
public fun createNative (J)J
1889
1949
public fun isHardwareEncoder ()Z
1890
1950
}
1891
1951
@@ -2028,7 +2088,7 @@ public abstract class org/webrtc/WrappedNativeVideoDecoder : org/webrtc/VideoDec
2028
2088
2029
2089
public abstract class org/webrtc/WrappedNativeVideoEncoder : org/webrtc/VideoEncoder {
2030
2090
public fun <init> ()V
2031
-
public abstract fun createNativeVideoEncoder ()J
2091
+
public abstract fun createNative (J)J
2032
2092
public final fun encode (Lorg/webrtc/VideoFrame;Lorg/webrtc/VideoEncoder$EncodeInfo;)Lorg/webrtc/VideoCodecStatus;
2033
2093
public final fun getImplementationName ()Ljava/lang/String;
2034
2094
public final fun getScalingSettings ()Lorg/webrtc/VideoEncoder$ScalingSettings;
@@ -2070,6 +2130,8 @@ public abstract interface class org/webrtc/audio/AudioDeviceModule {
2070
2130
public abstract fun getNativeAudioDeviceModulePointer ()J
2071
2131
public abstract fun release ()V
2072
2132
public abstract fun setMicrophoneMute (Z)V
2133
+
public fun setNoiseSuppressorEnabled (Z)Z
2134
+
public fun setPreferredMicrophoneFieldDimension (F)Z
2073
2135
public abstract fun setSpeakerMute (Z)V
2074
2136
}
2075
2137
@@ -2084,6 +2146,7 @@ public class org/webrtc/audio/JavaAudioDeviceModule : org/webrtc/audio/AudioDevi
2084
2146
public static fun isBuiltInNoiseSuppressorSupported ()Z
2085
2147
public fun release ()V
2086
2148
public fun setMicrophoneMute (Z)V
2149
+
public fun setNoiseSuppressorEnabled (Z)Z
2087
2150
public fun setPreferredInputDevice (Landroid/media/AudioDeviceInfo;)V
2088
2151
public fun setSpeakerMute (Z)V
2089
2152
}
@@ -2136,7 +2199,6 @@ public class org/webrtc/audio/JavaAudioDeviceModule$Builder {
2136
2199
public fun createAudioDeviceModule ()Lorg/webrtc/audio/JavaAudioDeviceModule;
2137
2200
public fun setAudioAttributes (Landroid/media/AudioAttributes;)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
2138
2201
public fun setAudioFormat (I)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
2139
-
public fun setAudioRecordDataCallback (Lorg/webrtc/audio/AudioRecordDataCallback;)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
2140
2202
public fun setAudioRecordErrorCallback (Lorg/webrtc/audio/JavaAudioDeviceModule$AudioRecordErrorCallback;)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
2141
2203
public fun setAudioRecordStateCallback (Lorg/webrtc/audio/JavaAudioDeviceModule$AudioRecordStateCallback;)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
2142
2204
public fun setAudioSource (I)Lorg/webrtc/audio/JavaAudioDeviceModule$Builder;
0 commit comments