mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
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:
parent
a0e090ff5a
commit
043a80320c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue