mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 12:35:30 +03:00
rename MagicWebRTCUtils to WebRTCUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de> [skip ci]
This commit is contained in:
parent
666eecba75
commit
c6d4ed3165
3 changed files with 5 additions and 5 deletions
|
@ -144,7 +144,7 @@ import com.nextcloud.talk.viewmodels.CallRecordingViewModel.RecordingConfirmStop
|
|||
import com.nextcloud.talk.viewmodels.CallRecordingViewModel.RecordingErrorState
|
||||
import com.nextcloud.talk.viewmodels.CallRecordingViewModel.RecordingStartedState
|
||||
import com.nextcloud.talk.viewmodels.CallRecordingViewModel.RecordingStartingState
|
||||
import com.nextcloud.talk.webrtc.MagicWebRTCUtils
|
||||
import com.nextcloud.talk.webrtc.WebRTCUtils
|
||||
import com.nextcloud.talk.webrtc.PeerConnectionWrapper
|
||||
import com.nextcloud.talk.webrtc.PeerConnectionWrapper.PeerConnectionObserver
|
||||
import com.nextcloud.talk.webrtc.WebRtcAudioManager
|
||||
|
@ -727,7 +727,7 @@ class CallActivity : CallBaseActivity() {
|
|||
cameraEnumerator = if (camera2EnumeratorIsSupported) {
|
||||
Camera2Enumerator(this)
|
||||
} else {
|
||||
Camera1Enumerator(MagicWebRTCUtils.shouldEnableVideoHardwareAcceleration())
|
||||
Camera1Enumerator(WebRTCUtils.shouldEnableVideoHardwareAcceleration())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -367,7 +367,7 @@ public class PeerConnectionWrapper {
|
|||
SessionDescription sessionDescriptionWithPreferredCodec;
|
||||
|
||||
boolean isAudio = false;
|
||||
String sessionDescriptionStringWithPreferredCodec = MagicWebRTCUtils.preferCodec(sdp, "H264", isAudio);
|
||||
String sessionDescriptionStringWithPreferredCodec = WebRTCUtils.preferCodec(sdp, "H264", isAudio);
|
||||
|
||||
sessionDescriptionWithPreferredCodec = new SessionDescription(
|
||||
SessionDescription.Type.fromCanonicalForm(type),
|
||||
|
@ -574,7 +574,7 @@ public class PeerConnectionWrapper {
|
|||
ncMessagePayload.setType(type);
|
||||
|
||||
SessionDescription sessionDescriptionWithPreferredCodec;
|
||||
String sessionDescriptionStringWithPreferredCodec = MagicWebRTCUtils.preferCodec
|
||||
String sessionDescriptionStringWithPreferredCodec = WebRTCUtils.preferCodec
|
||||
(sessionDescription.description,
|
||||
"H264", false);
|
||||
sessionDescriptionWithPreferredCodec = new SessionDescription(
|
||||
|
|
|
@ -38,7 +38,7 @@ import java.util.*;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class MagicWebRTCUtils {
|
||||
public class WebRTCUtils {
|
||||
private static final String TAG = "MagicWebRTCUtils";
|
||||
|
||||
private static final Set<String> HARDWARE_ACCELERATION_DEVICE_EXCLUDE_SET = new HashSet<String>() {{
|
Loading…
Reference in a new issue