azure-docs
azure-docs copied to clipboard
Video Streaming is unable to view.
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.
- ID: 1f6c0b6e-a3b1-ed87-f673-4842029e498f
- Version Independent ID: 10cb7160-76d2-3f5c-3a6d-b9bbddc75d0e
- Content: Quickstart - Add video calling to your app (JavaScript) - An Azure Communication Services quickstart
- Content Source: articles/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling.md
- Service: azure-communication-services
- Sub-service: calling
- GitHub Login: @tophpalmer
- Microsoft Alias: chpalm
@rajasekarM20jan Thanks for your feedback! We will investigate and update as appropriate.
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.
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: @.***>
@fizampou Could you please take a look into the above customer queries and help us with your valuable insights on them
#reassign:garchiro7
#please-close