azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Video Streaming is unable to view.

Open rajasekarM20jan opened this issue 2 years ago • 3 comments

Hi Team Microsoft, I tried the code which you have added for the group video conference but, I am unable to view the others streaming I tried by connecting with two different devices with two different acs token and on common meeting ID. I was able to hear only the voice but not able to see the visuals.

Can you please help me with your suggestions with this same method.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

rajasekarM20jan avatar Feb 11 '23 07:02 rajasekarM20jan

@rajasekarM20jan Thanks for your feedback! We will investigate and update as appropriate.

ManoharLakkoju-MSFT avatar Feb 11 '23 15:02 ManoharLakkoju-MSFT

Hi @rajasekarM20jan

For the JS sample you should subscribe to participant videos, create views and attach them to the DOM.

remoteParticipant.on('videoStreamsUpdated', e => {
      // Subscribe to new remote participant's video streams that were added.
      e.added.forEach(remoteVideoStream => {
          subscribeToRemoteVideoStream(remoteVideoStream)
      });
     ...
});

Are you doing that as shown here?

You can check this sample on Github specifically the part around:

 ...
 this.call.remoteParticipants.forEach(rp => this.subscribeToRemoteParticipant(rp));
 this.call.on('remoteParticipantsUpdated', e => { ... });

If you need further assistance, please share callid and sample code.

fizampou avatar Feb 14 '23 22:02 fizampou

Hi Team, Thank you for the efforts you have out for the issue. Actually I need the help for me with the code for android not JS. Could you please help me with that? Thanks in advance.

On Wed, Feb 15, 2023, 03:33 Filippos Zampounis @.***> wrote:

Hi @rajasekarM20jan https://github.com/rajasekarM20jan

For the JS sample you should subscribe to participant videos, create views and attach them to the DOM.

remoteParticipant.on('videoStreamsUpdated', e => { // Subscribe to new remote participant's video streams that were added. e.added.forEach(remoteVideoStream => { subscribeToRemoteVideoStream(remoteVideoStream) }); ...});

Are you doing that as shown here https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling?pivots=platform-web#create-an-agent-from-the-user-access-token ?

You can check this sample on Github https://github.com/Azure-Samples/communication-services-web-calling-tutorial/blob/main/Project/src/ specifically the part around:

... this.call.remoteParticipants.forEach(rp => this.subscribeToRemoteParticipant(rp)); this.call.on('remoteParticipantsUpdated', e => { ... });

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/105136#issuecomment-1430435082, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HDLJND7K4HADBHSLGZ7DLWXP6MHANCNFSM6AAAAAAUYRMJ5I . You are receiving this because you were mentioned.Message ID: @.***>

rajasekarM20jan avatar Feb 15 '23 03:02 rajasekarM20jan

@fizampou Could you please take a look into the above customer queries and help us with your valuable insights on them

Venkateshdodda-MSFT avatar Feb 16 '23 08:02 Venkateshdodda-MSFT

#reassign:garchiro7

sroons avatar Jun 20 '23 21:06 sroons

#please-close

Bernice4Winners avatar Sep 14 '23 20:09 Bernice4Winners