Basic-Video-Broadcasting
Basic-Video-Broadcasting copied to clipboard
DNS error in Android 8, cannot receiver the broadcast
I'm testing on emulator API 26, Android 8.0. And it can start stream, but cannot receiver the stream from others. On API 24 its OK. This is the log:
E/libc: Access denied finding property "net.dns1"
E/libc: Access denied finding property "net.dns2"
E/libc: Access denied finding property "net.dns3"
E/libc: Access denied finding property "net.dns4"
D/*WEBRTCN*: SetRenderAndroidVM
D/EGL_emulation: eglMakeCurrent: 0xa87862c0: ver 2 0 (tinfo 0x95d86c80)
D/EGL_emulation: eglMakeCurrent: 0xa87862c0: ver 2 0 (tinfo 0x95d86c80)
D/EGL_emulation: eglMakeCurrent: 0xa87862c0: ver 2 0 (tinfo 0x95d86c80)
I/chatty: uid=10085(u0_a85) RenderThread identical 1 line
D/EGL_emulation: eglMakeCurrent: 0xa87862c0: ver 2 0 (tinfo 0x95d86c80)
D/OpenGLRenderer: endAllActiveAnimators on 0x96420000 (RippleDrawable) with handle 0xa8783eb0
D/AudioTrack: Client defaulted notificationFrames to 2400 for frameCount 4800
W/AudioTrack: Use of stream types is deprecated for operations other than volume control
W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
W/Thread-6262: type=1400 audit(0.0:815): avc: denied { read } for name="stat" dev="proc" ino=4026531999 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
W/Thread-6290: type=1400 audit(0.0:816): avc: denied { read } for name="stat" dev="proc" ino=4026531999 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
V/FA: Inactivity, disconnecting from the service
W/Thread-6295: type=1400 audit(0.0:817): avc: denied { read } for name="stat" dev="proc" ino=4026531999 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
W/Thread-6302: type=1400 audit(0.0:818): avc: denied { read } for name="stat" dev="proc" ino=4026531999 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
W/Thread-6308: type=1400 audit(0.0:819): avc: denied { read } for name="stat" dev="proc" ino=4026531999 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E/RtcEngine: onEvent: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
have you received any events like joinChannelSuccess? dns issue can usually be ignored