8000 Support rtp transceiver direction type 4. (#1114) · doesnotexist/flutter-webrtc@61d05ad · GitHub
[go: up one dir, main page]

Skip to content

Commit 61d05ad

Browse files
authored
Support rtp transceiver direction type 4. (flutter-webrtc#1114)
1 parent e41d89e commit 61d05ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ android {
4949
}
5050

5151
dependencies {
52-
implementation 'com.github.webrtc-sdk:android:104.5112.01'
52+
implementation 'com.github.webrtc-sdk:android:104.5112.03'
5353
implementation "com.twilio:audioswitch:1.1.5"
5454
implementation 'androidx.annotation:annotation:1.1.0'
5555
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

android/src/main/java/com/cloudwebrtc/webrtc/PeerConnectionObserver.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,8 @@ private String transceiverDirectionString(RtpTransceiver.RtpTransceiverDirection
607607
return "recvonly";
608608
case INACTIVE:
609609
return "inactive";
610+
case STOPPED:
611+
return "stopped";
610612
}
611613
return null;
612614
}
@@ -621,6 +623,8 @@ private RtpTransceiver.RtpTransceiverDirection stringToTransceiverDirection(Stri
621623
return RtpTransceiver.RtpTransceiverDirection.RECV_ONLY;
622624
case "inactive":
623625
return RtpTransceiver.RtpTransceiverDirection.INACTIVE;
626+
case "stopped":
627+
return RtpTransceiver.RtpTransceiverDirection.STOPPED;
624628
}
625629
return RtpTransceiver.RtpTransceiverDirection.INACTIVE;
626630
}

0 commit comments

Comments
 (0)
0