- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我尝试遵循将 agora 与 flutter 结合使用的示例,并包含了文档中推荐的权限。但是,每当我在两个模拟器设备上运行该应用程序时,我都会为加入 channel 的远程和本地用户获得黑屏。
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:agora_rtc_engine/rtc_engine.dart';
import 'package:agora_rtc_engine/rtc_local_view.dart' as RtcLocalView;
import 'package:agora_rtc_engine/rtc_remote_view.dart' as RtcRemoteView;
const appId = "ba997ed994ca4163a06898c8fd9e7f1b";
const tempToken =
"006ba997ed994ca4163a06898c8fd9e7f1bIAA4Dx064RTGa9iaVmXQjxtTuvgDsBgiMUiuWhMBW9zsH+LcsooAAAAAEADkBngOXNpIYQEAAQBb2khh";
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
int? _remoteUid;
late RtcEngine _engine;
bool _localUserJoined = false;
@override
void initState() {
// TODO: implement initState
super.initState();
initAgora();
}
Future<void> initAgora() async {
// retrieve permissions
await [Permission.microphone, Permission.camera].request();
//create the engine
_engine = await RtcEngine.create(appId);
await _engine.enableLocalVideo(true);
await _engine.enableVideo();
_engine.setEventHandler(
RtcEngineEventHandler(
error: (code) {
setState(() {
print('OnError: $code');
});
},
joinChannelSuccess: (String channel, int uid, int elapsed) {
print("local user $uid joined");
setState(() {
_localUserJoined = true;
});
},
userJoined: (int uid, int elapsed) {
print("remote user $uid joined");
setState(() {
_remoteUid = uid;
});
},
userOffline: (int uid, UserOfflineReason reason) {
print("remote user $uid left channel");
setState(() {
_remoteUid = null;
});
},
),
);
await _engine.joinChannel(tempToken, "test1", null, 0);
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Agora Video Call'),
),
body: Container(
child: Stack(
children: [
Center(
child: _remoteVideo(),
),
Align(
alignment: Alignment.bottomRight,
child: Container(
width: 100,
height: 150,
child: _localUserJoined
? RtcLocalView.TextureView()
: const CircularProgressIndicator(),
),
)
],
),
),
),
);
}
// Display remote user's video
Widget _remoteVideo() {
if (_remoteUid != null) {
return RtcRemoteView.SurfaceView(uid: _remoteUid!);
} else {
return const Text(
'Please wait for remote user to join',
textAlign: TextAlign.center,
);
}
}
}
这是我在运行应用程序时在日志控制台上获得的内容
D/EGL_emulation( 7173): eglMakeCurrent: 0xd7feda20: ver 2 0 (tinfo 0xe374ef80)
I/OpenGLRenderer( 7173): Davey! duration=779ms; Flags=0, IntendedVsync=685691964116, Vsync=685708630782, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=685708797700, AnimationStart=685708875900, PerformTraversalsStart=685708953100, DrawStart=685715178000, SyncQueued=685747716900, SyncStart=685790044600, IssueDrawCommandsStart=685795726600, SwapBuffers=686079910600, FrameCompleted=686513563000, DequeueBufferDuration=138518000, QueueBufferDuration=25800000,
E/BluetoothAdapter( 7173): Bluetooth binder is null
D/agora-jni( 7173): android bridge create done...
E/libc ( 7173): Access denied finding property "net.dns1"
E/libc ( 7173): Access denied finding property "net.dns2"
E/libc ( 7173): Access denied finding property "net.dns3"
E/libc ( 7173): Access denied finding property "net.dns4"
E/libc ( 7173): Access denied finding property "net.dns1"
E/libc ( 7173): Access denied finding property "net.dns2"
E/libc ( 7173): Access denied finding property "net.dns3"
E/libc ( 7173): Access denied finding property "net.dns4"
W/deo_call_trial( 7173): Verification of java.lang.Iterable kotlin.collections.ArraysKt___ArraysKt.asIterable(long[]) took 101.748ms
I/deo_call_trial( 7173): Background young concurrent copying GC freed 22938(1311KB) AllocSpace objects, 0(0B) LOS objects, 47% free, 1429KB/2719KB, paused 3.944ms total 146.642ms
I/CameraManagerGlobal( 7173): Connecting to camera service
E/libc ( 7173): Access denied finding property "net.dns1"
E/libc ( 7173): Access denied finding property "net.dns2"
E/libc ( 7173): Access denied finding property "net.dns3"
E/libc ( 7173): Access denied finding property "net.dns4"
D/*WEBRTCN*( 7173): SetRenderAndroidVM
I/VideoCapabilities( 7173): Unsupported profile 4 for video/mp4v-es
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xc43a4920, tid 7265
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
W/GDPGlUtil( 7173): unable to find RGB8888 / 3 EGLConfig
D/EGL_emulation( 7173): eglCreateContext: 0xe37c1140: maj 2 min 0 rcv 2
D/GDPGlUtil( 7173): EGLContext created, client version 2
D/EGL_emulation( 7173): eglMakeCurrent: 0xe37c1140: ver 2 0 (tinfo 0xd80280d0)
I/GDPAndroid( 7173): cores:4
I/chatty ( 7173): uid=10133(com.nawraaradi.video_call_trial1) GENP.0 identical 4 lines
I/GDPAndroid( 7173): cores:4
I/GDPAndroid( 7173): max freq:1991000
I/GDPAndroid( 7173): total mem:2089172992
V/MediaRouter( 7173): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
W/AudioTrack( 7173): Use of stream types is deprecated for operations other than volume control
W/AudioTrack( 7173): See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
V/MediaRouter( 7173): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
I/flutter ( 7173): local user 180939488 joined
I/flutter ( 7173): remote user 979896972 joined
I/deo_call_trial( 7173): Background concurrent copying GC freed 10893(1140KB) AllocSpace objects, 10(328KB) LOS objects, 49% free, 1873KB/3746KB, paused 1.984ms total 460.037ms
W/Gralloc3( 7173): allocator 3.x is not supported
D/AudioTrack( 7173): getTimestamp_l(9): device stall time corrected using current time 720119488800
W/System.err( 7173): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
W/System.err( 7173): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
W/GENP.0 ( 7173): type=1400 audit(0.0:50): avc: denied { read } for name="temp" dev="sysfs" ino=13214 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.nawraaradi.video_call_trial1
D/eglCodecCommon( 7173): allocate: Ask for block of size 0x71000
D/eglCodecCommon( 7173): allocate: ioctl allocate returned offset 0x3ff0fa000 size 0x72000
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xdb65ea40, tid 7287
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/EGL_emulation( 7173): eglCreateContext: 0xdb61bfe0: maj 2 min 0 rcv 2
D/EGL_emulation( 7173): eglMakeCurrent: 0xd7feda20: ver 2 0 (tinfo 0xe374ef80)
E/libc ( 7173): Access denied finding property "net.dns1"
E/libc ( 7173): Access denied finding property "net.dns2"
E/libc ( 7173): Access denied finding property "net.dns3"
E/libc ( 7173): Access denied finding property "net.dns4"
W/GENP.0 ( 7173): type=1400 audit(0.0:52): avc: denied { read } for name="temp" dev="sysfs" ino=13214 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.nawraaradi.video_call_trial1
W/GENP.0 ( 7173): type=1400 audit(0.0:53): avc: denied { read } for name="temp" dev="sysfs" ino=13214 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.nawraaradi.video_call_trial1
W/System.err( 7173): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
W/System.err( 7173): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
D/EGL_emulation( 7173): eglMakeCurrent: 0xdb61bfe0: ver 2 0 (tinfo 0xb45e3130)
E/EGL_emulation( 7173): eglQueryContext 32c0 EGL_BAD_ATTRIBUTE
E/EGL_emulation( 7173): tid 7287: eglQueryContext(1903): error 0x3004 (EGL_BAD_ATTRIBUTE)
I/AGORA_SDK( 7173): Surface changed to width 1440 height 2112
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xb777c3d0, tid 7292
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/EGL_emulation( 7173): eglMakeCurrent: 0xd7feda20: ver 2 0 (tinfo 0xe374ef80)
I/deo_call_trial( 7173): Background young concurrent copying GC freed 11412(1055KB) AllocSpace objects, 2(104KB) LOS objects, 39% free, 2252KB/3746KB, paused 8.165ms total 477.502ms
D/EGL_emulation( 7173): eglCreateContext: 0xe37c26a0: maj 2 min 0 rcv 2
I/OpenGLRenderer( 7173): Davey! duration=1542ms; Flags=1, IntendedVsync=721175292876, Vsync=721525292862, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=721539986100, AnimationStart=721540060100, PerformTraversalsStart=721555098200, DrawStart=722464197900, SyncQueued=722467391200, SyncStart=722613505700, IssueDrawCommandsStart=722613690600, SwapBuffers=722639609400, FrameCompleted=722864107200, DequeueBufferDuration=2333000, QueueBufferDuration=1409000,
I/Choreographer( 7173): Skipped 80 frames! The application may be doing too much work on its main thread.
D/EGL_emulation( 7173): eglMakeCurrent: 0xd7feda20: ver 2 0 (tinfo 0xe374ef80)
D/EGL_emulation( 7173): eglMakeCurrent: 0xe37c26a0: ver 2 0 (tinfo 0xc4043740)
E/EGL_emulation( 7173): eglQueryContext 32c0 EGL_BAD_ATTRIBUTE
E/EGL_emulation( 7173): tid 7292: eglQueryContext(1903): error 0x3004 (EGL_BAD_ATTRIBUTE)
I/AGORA_SDK( 7173): Surface changed to width 350 height 525
D/AudioTrack( 7173): getTimestamp_l(9): device stall time corrected using current time 723307290400
D/EGL_emulation( 7173): eglMakeCurrent: 0xd7feda20: ver 2 0 (tinfo 0xe374ef80)
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xaf53cf20, tid 7290
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
E/libc ( 7173): Access denied finding property "net.dns1"
E/libc ( 7173): Access denied finding property "net.dns2"
E/libc ( 7173): Access denied finding property "net.dns3"
E/libc ( 7173): Access denied finding property "net.dns4"
W/System.err( 7173): java.io.FileNotFoundException: /sys/class/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
W/System.err( 7173): java.io.FileNotFoundException: /sys/devices/virtual/thermal/thermal_zone0/temp: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:496)
W/System.err( 7173): at java.io.FileInputStream.<init>(FileInputStream.java:159)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.readOneLine(GDPAndroid.java:383)
W/System.err( 7173): at io.agora.rtc.gdp.GDPAndroid.getCpuTemperature(GDPAndroid.java:362)
W/System.err( 7173): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err( 7173): at libcore.io.Linux.open(Native Method)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/GENP.0 ( 7173): type=1400 audit(0.0:54): avc: denied { read } for name="temp" dev="sysfs" ino=13214 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.nawraaradi.video_call_trial1
W/System.err( 7173): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
W/System.err( 7173): at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
W/System.err( 7173): at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255)
W/System.err( 7173): at libcore.io.IoBridge.open(IoBridge.java:482)
W/System.err( 7173): ... 3 more
W/GENP.0 ( 7173): type=1400 audit(0.0:55): avc: denied { read } for name="temp" dev="sysfs" ino=13214 scontext=u:r:untrusted_app:s0:c133,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 app=com.nawraaradi.video_call_trial1
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xdb660610, tid 7288
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
D/HostConnection( 7173): HostConnection::get() New Host Connection established 0xdb661f60, tid 7191
D/HostConnection( 7173): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
我什至已经确认模拟器的前置摄像头已连接到我电脑的网络摄像头。如果有人以前遇到过这个问题并且已经克服了它,请向我推荐一个解决方案。
最佳答案
allocator 3.x is not supported
这似乎是一个模拟器错误。您可以尝试在物理设备上运行它,或者尝试在您的模拟器上运行 flutter run --enable-software-rendering
关于flutter - 为什么使用 agora rtc 进行视频通话时,远程和本地用户都会黑屏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69255109/
这与 What is call/cc? 有关,但我不想为了自己的目的劫持这个问题,并且它的一些论点(例如与 setjmp/longjmp 的类比)回避了我。 我想我对什么是延续有足够的了解,我认为它是
我一直在浏览 Skype 开发 API,并想知道是否有一种方法可以让我知道 Skype 是否正在通过某些 API 运行事件调用。 Skype.Client.IsRunning 告诉 Skype 应用程
这个问题的两个小部分希望能为我消除一些歧义。 首先,调用WCF服务哪个更好? using (var myService = new ServiceClient("httpBinding")){
我在我的 Objective-C 应用程序中使用 CallKit。 我可以使用 CallKit 调用电话。如果有第二个电话打进来,我成功地将其设置为保持状态。当我结束第二个电话时, - (void)p
是否可以使用 java(JME 或 Android)捕获语音音频流,对其进行自定义加密,然后通过常规 GSM 调用将其作为常规流发送?当然,在其他手机上解密密码。是否允许应用程序级别的 java 拦截
我正在为 iOS 进行个人调整。我想在电话显示任何内容之前断开/连接电话。我连接到类 SBUIFullscreenAlertAdapter 的 initWithAlertController: 方法。
我对 callkit 有疑问(但不是真的)。 我在我的应用程序中实现了 callkit,它运行良好。我可以接到我的应用程序的第二个电话,callkit 为我提供了结束并接受、拒绝或保留并接受的选项。如
我一直在寻找在两个同伴之间进行实时语音(通话)的方法,但只找到了如何录制语音并发送它们或发送照片和文本。但我想要的是两个同伴能够互相打电话。那么,在 Android 上使用 WiFi P2P 管理器是
怎么了伙计们!好久没问过关于SO的问题了,感觉有点脱节,哈哈。无论如何,我最近使用 VOIP 发现了美妙的网络语音通话世界。和 WebRTC 我正在为我的一个想法进行一些研发,并且我基本上会喜欢以下问
我正在制作一个可以调用电话的应用程序,但我需要帮助才能在不显示拨号界面的情况下调用电话,例如,如果我按下按钮调用,它会调用电话但会停留在同一位置: 这是我的应用程序界面: 我不需要这个拨号界面,当按下
我是 Android 开发的新手(例如,我知道在 iOS 中这是不可能的)。 我知道,我需要打电话: Intent intent = new Intent(Intent.ACTION_CALL); i
注意:事实证明,原始问题的假设是不正确的。在底部查看有关其编辑的更多详细信息。 现在是关于节电模式,而不是节电模式和打盹模式。它也不是关于 Service&BroadcastReceiver,而只是
我正在开发一个机器人,您可以通过 Skype 向其发送消息和调用。该机器人在 Azure 函数中运行。我的消息部分正在工作。我已在 Azure 中将机器人配置为具有调用功能,并且我可以调用该机器人,但
在我的应用中,用户可以选择 call 联系人簿中的其他人。启动 call 应用程序很容易,但是我想知道的是,在 call 发生时我们是否可以播放简短的音乐文件,因此用户可以通过直接 call 他们的
我正在开发一个机器人,您可以通过 Skype 向其发送消息和调用。该机器人在 Azure 函数中运行。我的消息部分正在工作。我已在 Azure 中将机器人配置为具有调用功能,并且我可以调用该机器人,但
在这个问题的某些版本中,OP 会说“我如何在下午 5 点在我的应用程序中触发方法调用?” 然后人们会回答“你怎么知道你的应用会在下午 5 点打开”?这变成了另一个问题,原来的问题消失了。 所以让我们避
我想在单击按钮时发起 Skype 通话。我查找了几种可用的解决方案,但我猜大多数都已经过时并且无法正常工作。有人可以帮我解决这个问题吗?我是 Android 编程的新手。我已经包含在下面的代码中。任何
在 iOS 上,是否可以通过 URI 启动 Skype 语音通话,同时将我的应用程序保持在前台? 如果是这样,是否也可以通过启用扬声器的 URI 启动 Skype? (为什么?我正在尝试支持语音通信,
我在 Play 商店中有十几个应用程序,它们都是相同的,但针对不同的客户端进行了 UI 调整。我最近收到一封来自 Google Play 的自动电子邮件,内容涉及我的 2 个应用程序(但不是其他应用程
我想在 android 中进行 SIP 点对点 VoIP 调用。此调用应在本地网络中进行,无需访问互联网。事实上,我不想使用任何外部服务器来注册配置文件。但是我不知道在配置文件生成器的 serverD
我是一名优秀的程序员,十分优秀!