question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot display remote video

See original GitHub issue

I have some trouble displaying remote video on android device, if i set zOrderMediaOverlay iget this error

Error while updating property 'zOrderMediaOverlay' of a view managed by: RCTAgoraView

null

Attempt to invoke virtual method 'void android.view.SurfaceView.setZOrderMediaOverlay(boolean)' on a null object reference
updateViewProp
    ViewManagersPropertyCache.java:95
setProperty
    ViewManagerPropertyUpdater.java:132
updateProps
    ViewManagerPropertyUpdater.java:51
updateProperties
    ViewManager.java:35
createView
    NativeViewHierarchyManager.java:269
execute
    UIViewOperationQueue.java:200
dispatchPendingNonBatchedOperations
    UIViewOperationQueue.java:1109
doFrameGuarded
    UIViewOperationQueue.java:1080
doFrame
    GuardedFrameCallback.java:29
doFrame
    ReactChoreographer.java:166
doFrame
    ChoreographerCompat.java:110
run
    Choreographer.java:1002
doCallbacks
    Choreographer.java:816
doFrame
    Choreographer.java:748
run
    Choreographer.java:990
handleCallback
    Handler.java:873
dispatchMessage
    Handler.java:99
loop
    Looper.java:193
main
    ActivityThread.java:6694
invoke
    Method.java
run
    RuntimeInit.java:493
main
    ZygoteInit.java:858

and without zOrderMediaOverlay, AgoraView just does not show up

Device: Xiaomi A2 Lite Android 9 my react-native-agora version is 2.4.0-alpha.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Matrixbirdscommented, Aug 16, 2019

Could u try to reproduce this error by using agora-rn-quickstart @VladRDV

0reactions
Matrixbirdscommented, Sep 28, 2019

Close is according to there is no updates and I can’t reproduce on the same device .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot get remote video displayed - Stack Overflow
Cannot get remote video displayed ... I am only able to display local videos in both peers (both in different browser tabs).
Read more >
Remote video is no not displaying on Chrome 69 of Window ...
But the remote video is not displaying when I run this example between Google-chrome 69 of Window 10(Desktop) and Safari of iPad 11.4.1....
Read more >
Remote stream doesn't show in Video tag - Google Groups
Hi all,. I'm trying to set a basic video chat example. currently trying to chat between two chrome tabs on the same computer....
Read more >
Cannot see participants - Microsoft Community Hub
There is an setting that allows you to turn off all incoming video, check so that one is not enabled. If you still...
Read more >
Cannot Play webrtc remote video in both my android phone ...
1.connect android phone and chrome browser through webRTC · 2.local video and audio stream plays as expected · 3.But, remote video from response ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found