Map the stopped transceiver direction on Android
Fixes IllegalArgumentException when native calls fromNativeIndex. Bug: webrtc:14320 Change-Id: I0f0717852abd009e17c6f67639f1bf2262df8dfd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/270622 Commit-Queue: Xavier Lepaul <xalep@webrtc.org> Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37694}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
a0e090ff5a
commit
043a80320c
@ -38,7 +38,8 @@ public class RtpTransceiver {
|
||||
SEND_RECV(0),
|
||||
SEND_ONLY(1),
|
||||
RECV_ONLY(2),
|
||||
INACTIVE(3);
|
||||
INACTIVE(3),
|
||||
STOPPED(4);
|
||||
|
||||
private final int nativeIndex;
|
||||
|
||||
|
Reference in New Issue
Block a user