Closed Zeeshan90 closed 4 years ago
looks like the view you are setting is incorrect? which demo are you running?
I am running iOS Demo. Current pod version in 3.0.0.2. I am also getting same warning. warning code: invalid view warning code: 16
As per demo when I join channel as audience I am getting this warning every time. When I join channel first time video appears and after if broadcaster mute their audio and unmute at that time I can only listen voice. No video is on screen.
Please help.
@NayanBhut Thank you for discovering this problem. When video stream is zero, I need reset video layout. you can see the latest commit, I fixed this problem.
warning code 16 causes by that view's width and height are 0 when it is related to AgoraRtcVideoCanvas, AgoraRtcEngineKit reports this warning code. After it is moved to AGEVideoContainer, it has normal size and renders video stream.
@CavanSu Thank you for your quick response. I get the latest code and run on the device. I am seeing same issue. I am running swift code.
I am using one android and one iOS device.
Steps for produce. 1) Start channel as a broadcaster in Android. 2) Join as a audience in the same channel in iOS. 3) At first time I see the video and audio both. Stream is working well. 4) Now mute video from android. You see placeholder in iOS Which is OK. 5) Now Unmute the video from android. You can only listen audio in iOS not the video and seeing the screen which I attached here.
Thank you for your help.
@NayanBhut just merged @CavanSu 's commit into master. pls try again
@plutoless I checked the latest commit. This commit solved my issue. Thanks for your quick response and solution.
Help!!!!!! i am getting this error in ios warning code: invalid view warning code: 16