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: ktor-client/ktor-client-webrtc/api/android/ktor-client-webrtc.api
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ public final class io/ktor/client/webrtc/AndroidWebRtc : io/ktor/client/webrtc/W
34
34
35
35
public final class io/ktor/client/webrtc/AndroidWebRtcDataChannel : io/ktor/client/webrtc/WebRtcDataChannel {
36
36
public fun <init> (Lorg/webrtc/DataChannel;Lorg/webrtc/DataChannel$Init;Lkotlinx/coroutines/CoroutineScope;Lio/ktor/client/webrtc/DataChannelReceiveOptions;)V
37
-
public fun close ()V
37
+
public fun closeTransport ()V
38
38
public fun getBufferedAmount ()J
39
39
public fun getBufferedAmountLowThreshold ()J
40
40
public fun getId ()I
@@ -196,7 +196,8 @@ public final class io/ktor/client/webrtc/WebRtc$ConnectionState : java/lang/Enum
196
196
}
197
197
198
198
public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel : java/lang/AutoCloseable {
199
-
public abstract fun close ()V
199
+
public fun close ()V
200
+
public abstract fun closeTransport ()V
200
201
public abstract fun getBufferedAmount ()J
201
202
public abstract fun getBufferedAmountLowThreshold ()J
202
203
public abstract fun getId ()I
@@ -218,6 +219,10 @@ public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel : java/
218
219
public abstract fun tryReceiveText ()Ljava/lang/String;
219
220
}
220
221
222
+
public final class io/ktor/client/webrtc/WebRtc$DataChannel$DefaultImpls {
223
+
public static fun close (Lio/ktor/client/webrtc/WebRtc$DataChannel;)V
224
+
}
225
+
221
226
public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel$Message {
222
227
public fun binaryOrNull ()[B
223
228
public fun binaryOrThrow ()[B
@@ -545,8 +550,32 @@ public abstract interface class io/ktor/client/webrtc/WebRtcConnectionEvents {
545
550
public abstract fun getTrackEvents ()Lkotlinx/coroutines/flow/SharedFlow;
546
551
}
547
552
553
+
public final class io/ktor/client/webrtc/WebRtcConnectionEventsEmitter : io/ktor/client/webrtc/WebRtcConnectionEvents {
554
+
public fun <init> (Lio/ktor/client/webrtc/WebRtcConnectionConfig;)V
555
+
public final fun emitAddTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;)V
556
+
public final fun emitConnectionStateChange (Lio/ktor/client/webrtc/WebRtc$ConnectionState;)V
557
+
public final fun emitDataChannelEvent (Lio/ktor/client/webrtc/DataChannelEvent;)V
558
+
public final fun emitIceCandidate (Lio/ktor/client/webrtc/WebRtc$IceCandidate;)V
559
+
public final fun emitIceConnectionStateChange (Lio/ktor/client/webrtc/WebRtc$IceConnectionState;)V
560
+
public final fun emitIceGatheringStateChange (Lio/ktor/client/webrtc/WebRtc$IceGatheringState;)V
561
+
public final fun emitNegotiationNeeded ()V
562
+
public final fun emitRemoveTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;)V
563
+
public final fun emitSignalingStateChange (Lio/ktor/client/webrtc/WebRtc$SignalingState;)V
564
+
public final fun emitStats (Ljava/util/List;)V
565
+
public fun getDataChannelEvents ()Lkotlinx/coroutines/flow/SharedFlow;
566
+
public fun getIceCandidates ()Lkotlinx/coroutines/flow/SharedFlow;
567
+
public fun getIceConnectionState ()Lkotlinx/coroutines/flow/StateFlow;
568
+
public fun getIceGatheringState ()Lkotlinx/coroutines/flow/StateFlow;
569
+
public fun getNegotiationNeeded ()Lkotlinx/coroutines/flow/SharedFlow;
570
+
public fun getSignalingState ()Lkotlinx/coroutines/flow/StateFlow;
571
+
public fun getState ()Lkotlinx/coroutines/flow/StateFlow;
572
+
public fun getStats ()Lkotlinx/coroutines/flow/StateFlow;
573
+
public fun getTrackEvents ()Lkotlinx/coroutines/flow/SharedFlow;
574
+
}
575
+
548
576
public abstract class io/ktor/client/webrtc/WebRtcDataChannel : io/ktor/client/webrtc/WebRtc$DataChannel {
549
577
public fun <init> (Lio/ktor/client/webrtc/DataChannelReceiveOptions;)V
578
+
public fun close ()V
550
579
protected final fun emitMessage-JP2dKIU (Lio/ktor/client/webrtc/WebRtc$DataChannel$Message;)Ljava/lang/Object;
551
580
public fun receive (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
552
581
public fun receiveBinary (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -712,13 +741,15 @@ public abstract class io/ktor/client/webrtc/WebRtcPeerConnection : io/ktor/clien
712
741
public fun <init> (Lkotlin/coroutines/CoroutineContext;Lio/ktor/client/webrtc/WebRtcConnectionConfig;)V
713
742
public abstract fun addIceCandidate (Lio/ktor/client/webrtc/WebRtc$IceCandidate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
714
743
public abstract fun addTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
744
+
public final fun awaitIceGatheringComplete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
715
745
public fun close ()V
716
746
public abstract fun createAnswer (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
717
747
public abstract fun createDataChannel (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
718
748
public static synthetic fun createDataChannel$default (Lio/ktor/client/webrtc/WebRtcPeerConnection;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
719
749
public abstract fun createOffer (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
720
750
protected final fun getCoroutineScope ()Lkotlinx/coroutines/CoroutineScope;
721
751
public fun getDataChannelEvents ()Lkotlinx/coroutines/flow/SharedFlow;
752
+
protected final fun getEvents ()Lio/ktor/client/webrtc/WebRtcConnectionEventsEmitter;
722
753
public fun getIceCandidates ()Lkotlinx/coroutines/flow/SharedFlow;
723
754
public fun getIceConnectionState ()Lkotlinx/coroutines/flow/StateFlow;
724
755
public fun getIceGatheringState ()Lkotlinx/coroutines/flow/StateFlow;
Copy file name to clipboardExpand all lines: ktor-client/ktor-client-webrtc/api/jvm/ktor-client-webrtc.api
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,8 @@ public final class io/ktor/client/webrtc/WebRtc$ConnectionState : java/lang/Enum
94
94
}
95
95
96
96
public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel : java/lang/AutoCloseable {
97
-
public abstract fun close ()V
97
+
public fun close ()V
98
+
public abstract fun closeTransport ()V
98
99
public abstract fun getBufferedAmount ()J
99
100
public abstract fun getBufferedAmountLowThreshold ()J
100
101
public abstract fun getId ()I
@@ -116,6 +117,10 @@ public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel : java/
116
117
public abstract fun tryReceiveText ()Ljava/lang/String;
117
118
}
118
119
120
+
public final class io/ktor/client/webrtc/WebRtc$DataChannel$DefaultImpls {
121
+
public static fun close (Lio/ktor/client/webrtc/WebRtc$DataChannel;)V
122
+
}
123
+
119
124
public abstract interface class io/ktor/client/webrtc/WebRtc$DataChannel$Message {
120
125
public fun binaryOrNull ()[B
121
126
public fun binaryOrThrow ()[B
@@ -443,8 +448,32 @@ public abstract interface class io/ktor/client/webrtc/WebRtcConnectionEvents {
443
448
public abstract fun getTrackEvents ()Lkotlinx/coroutines/flow/SharedFlow;
444
449
}
445
450
451
+
public final class io/ktor/client/webrtc/WebRtcConnectionEventsEmitter : io/ktor/client/webrtc/WebRtcConnectionEvents {
452
+
public fun <init> (Lio/ktor/client/webrtc/WebRtcConnectionConfig;)V
453
+
public final fun emitAddTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;)V
454
+
public final fun emitConnectionStateChange (Lio/ktor/client/webrtc/WebRtc$ConnectionState;)V
455
+
public final fun emitDataChannelEvent (Lio/ktor/client/webrtc/DataChannelEvent;)V
456
+
public final fun emitIceCandidate (Lio/ktor/client/webrtc/WebRtc$IceCandidate;)V
457
+
public final fun emitIceConnectionStateChange (Lio/ktor/client/webrtc/WebRtc$IceConnectionState;)V
458
+
public final fun emitIceGatheringStateChange (Lio/ktor/client/webrtc/WebRtc$IceGatheringState;)V
459
+
public final fun emitNegotiationNeeded ()V
460
+
public final fun emitRemoveTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;)V
461
+
public final fun emitSignalingStateChange (Lio/ktor/client/webrtc/WebRtc$SignalingState;)V
462
+
public final fun emitStats (Ljava/util/List;)V
463
+
public fun getDataChannelEvents ()Lkotlinx/coroutines/flow/SharedFlow;
464
+
public fun getIceCandidates ()Lkotlinx/coroutines/flow/SharedFlow;
465
+
public fun getIceConnectionState ()Lkotlinx/coroutines/flow/StateFlow;
466
+
public fun getIceGatheringState ()Lkotlinx/coroutines/flow/StateFlow;
467
+
public fun getNegotiationNeeded ()Lkotlinx/coroutines/flow/SharedFlow;
468
+
public fun getSignalingState ()Lkotlinx/coroutines/flow/StateFlow;
469
+
public fun getState ()Lkotlinx/coroutines/flow/StateFlow;
470
+
public fun getStats ()Lkotlinx/coroutines/flow/StateFlow;
471
+
public fun getTrackEvents ()Lkotlinx/coroutines/flow/SharedFlow;
472
+
}
473
+
446
474
public abstract class io/ktor/client/webrtc/WebRtcDataChannel : io/ktor/client/webrtc/WebRtc$DataChannel {
447
475
public fun <init> (Lio/ktor/client/webrtc/DataChannelReceiveOptions;)V
476
+
public fun close ()V
448
477
protected final fun emitMessage-JP2dKIU (Lio/ktor/client/webrtc/WebRtc$DataChannel$Message;)Ljava/lang/Object;
449
478
public fun receive (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
450
479
public fun receiveBinary (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@@ -610,13 +639,15 @@ public abstract class io/ktor/client/webrtc/WebRtcPeerConnection : io/ktor/clien
610
639
public fun <init> (Lkotlin/coroutines/CoroutineContext;Lio/ktor/client/webrtc/WebRtcConnectionConfig;)V
611
640
public abstract fun addIceCandidate (Lio/ktor/client/webrtc/WebRtc$IceCandidate;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
612
641
public abstract fun addTrack (Lio/ktor/client/webrtc/WebRtcMedia$Track;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
642
+
public final fun awaitIceGatheringComplete (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
613
643
public fun close ()V
614
644
public abstract fun createAnswer (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
615
645
public abstract fun createDataChannel (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
616
646
public static synthetic fun createDataChannel$default (Lio/ktor/client/webrtc/WebRtcPeerConnection;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
617
647
public abstract fun createOffer (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
618
648
protected final fun getCoroutineScope ()Lkotlinx/coroutines/CoroutineScope;
619
649
public fun getDataChannelEvents ()Lkotlinx/coroutines/flow/SharedFlow;
650
+
protected final fun getEvents ()Lio/ktor/client/webrtc/WebRtcConnectionEventsEmitter;
620
651
public fun getIceCandidates ()Lkotlinx/coroutines/flow/SharedFlow;
621
652
public fun getIceConnectionState ()Lkotlinx/coroutines/flow/StateFlow;
622
653
public fun getIceGatheringState ()Lkotlinx/coroutines/flow/StateFlow;
0 commit comments