Unable to see video in HTML although seems WebRTC is properly connected. #5262
-
Hi, I have connected Javascript SDK in my VueJS application. I published a stream from the Ant Media Server login. Then in my script I configured the Following is my configuration:
Then in the script, for playing the stream I did My issue is that it seems that the webrtc connection is happening properly but in my HTML I am not able to view the streaming video. Following is the web console messages that I receive when I click on the play button.
Also in my Ant media server management console I can see one viewer in the WebRTC. I have tried a lot but I am not able to find the solution to this issue. Can anyone please help me out what I am missing over here? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Hi @murtaza-20, I think the Could you please take a look at the very basic player sample? If it does not work, please let us know. Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi @mekya , I did try but nothing is happening. Same issue. Even I tried this solution earlier. |
Beta Was this translation helpful? Give feedback.
-
Hi @murtaza-20 , and passed the remoteVideoId : "remoteVideo", |
Beta Was this translation helpful? Give feedback.
@murtaza-20 I am not much familiar with the Vue.js But what I understand Is the WebrtcAdapter is getting initialized before the video elements are added to the dom. That is causing the problem. Can you try to render the video element first to dom and then initialize the adapter