I am using OpenTok Client SDK. I need to scale the current speaker video block. I tried to use audioLevelUpdated event to check the current speaker. Is OpenTok have that functionality?
Thanks.
You need to define the some identification to each subscriber. And then Add the button to each subscriber name to increase/decrease the audio.
With this method
subscriber1.setAudioVolume(50);
Related
I have an adaptive card and I want to add a button that has call functionality to a specific person in this card "the person is in my organization microsft team". How can I create a call via deeplink to audio call?
Edit:
This link will redirect to the chat window with the user:
https://teams.microsoft.com/l/chat/0/0?users=
How can I do the same but for audio/ video calls?
You will need to implement calling in your Bot to be able to make audio calls using Bot. Please go through Calling and Meeting Bot overview. Here are few samples to try out.
https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples
Here is the equivalent link for calls:
https://teams.microsoft.com/l/call/0/0?users=user#domain.ext
And if you're not worried about users who don't have the Teams app installed, you can try:
msteams://teams.microsoft.com/l/call/0/0?users=user#domain.ext
This latter link will not go through the browser. It will however pop up a message requesting permission to open the app. Choose your poison.
Greetings of the day!
I have a situation for chat bot. I have a video which i am showing to user through a video card. Is there a way to add a piece of script in botchat.js so that I can trigger an event like posting a data to a api when the video will be completly played.
Thanks in advance.
I am wondering if a card is possible to update through the skill, while the session is still on.
The use case would be, for example, streaming audio and then, after certain timestamp update the related card.
No, you can only send Cards, but they are not editable afterwards. You can neither delete them nor edit them after you sent them.
I think something like this could be done by using APL, but only on display-activated devices.
You can suggest the implementation of editable cards here.
No, it is not possible. Alexa works on a request-response model, so you can only set a new/updated card when you send out the response from your skill.
No, you cannot update the cards which are already sent. But remember the latest card will be shown first in the Alexa app. So you can send the updated card as a response to another subsequent request with a little hint like ”Please check the latest card for the updated details.”
I want to ask questions to the user and record his response, like a IVR bot but I want to record both audio and video of the user. Is it possible to do that with real time media calling?
I had gone through the samples, but I did not understand on how to specify when to record the audio/video.
IVR bots are audio-only, they do not support video. Video is supported with a real-time media bot.
A real-time media bot can record the audio and video streams (and, ideally, notify the Skype caller that it may be recording the call). We do not provide a full sample showing this scenario. There is an answer for similar question on the GitHub site:
In a 1:1 Skype video call with your real-time media bot, the bot has
access to the Skype caller's audio and video. The Huebot sample shows
a bot receiving the audio and video of the Skype caller. To create a
recording, the bot could save the contents of audio and video media
buffers to disk and use a tool like ffmpeg to process them into an MP4
file, for example. But there's no specific recording sample. Also note
that the bot cannot control what resolution it receives of the Skype
caller's video, and will likely get a low resolution such as 240p.
Hope this help!!
i am trying to create a slideshow type app that will play both videos and photos. i am populating the array of the items from a network request performed by the chromecast after it gets a unique id from the sender. i am them trying to add these items to the media queue from the receiver but this error is showing up when i try.
Unexpected command, player is in IDLE state so the media session ID is not valid yet
any advice on what i am doing wrong, or logs that i can provide to help identify the issue? thanks in advance.