Implement JNI and objc implementation for icecandidateerror event
This CL adds the callback on ICE Candidate Error to the Android and the iOS SDKs. Spec: https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-onicecandidateerror Bug: webrtc:13446 Change-Id: I6e511aaa80f1aa8f4310d8518d1144d97470cd7e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/239460 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35531}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
63b97de330
commit
d211098392
@ -118,6 +118,9 @@ public class PeerConnection {
|
||||
/** Triggered when a new ICE candidate has been found. */
|
||||
@CalledByNative("Observer") void onIceCandidate(IceCandidate candidate);
|
||||
|
||||
/** Triggered when gathering of an ICE candidate failed. */
|
||||
default @CalledByNative("Observer") void onIceCandidateError(IceCandidateErrorEvent event) {}
|
||||
|
||||
/** Triggered when some ICE candidates have been removed. */
|
||||
@CalledByNative("Observer") void onIceCandidatesRemoved(IceCandidate[] candidates);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user