One to one Video call with voice in Open TokBox : Android, dotNET - android

I want to setup One to one Video with voice call using Open TokBox. I want to setup it in Android and Server Side is dotNET. I found sample project and it is working fine but it is like multi broadcasting. And It finds if any user is online.
Rather than this, I want that One user call another user from Android Device. And if that another user is online then he gets notification about call else it shows offline user. This can happen with many users same way.
Its like skype but only one to one. So, as I know I will need to create new session id at dotNET server side.
Please help me to perform this task perfectly.

Related

How to send text message to Azure Bot?

Totally new to Azure and the services it offers, I face many questions about the "Speech" service and the bots that can be created on the Microsoft platform. Currently developing an Android mobile application I'd like to realize the following behavior:
The user records a voice file from the app (using MediaRecorder), this part is ok
Once the recording is finished, this file is sent to Azure function(via an HTTP POST).
The file is translated into Text
The text is sent (step 7) to the bot which reacts accordingly by executing an HTTP request.
Scheme of the process I explained
First of all I wanted to know if this scenario is possible or if I have to use the Speech SDK on my Android application.
Moreover if this scenario is possible, how do I send the text to the chatbot? I've checked this link but it doesn't seem very relevant to me.
NB: My bot has been completely created using "Bot Framework Composer" for the moment, no code has been written, I just wanted to know if my scenario is plausible and above all possible.
Go through your steps, and I think it can be implemented. If you want to send text to bot, you can refer to this request.
Before that, you may need to start a conversation and get the conversationId.

I am developing video chat application with laravel and opentok. But I am stuck in implementing a way to let users call each other

I have been trying to build video chat application using opentok. When User 1 calls User 2, I want User 2 to be notified that User 1 is calling.
I have made this work using Pusher and Laravel Echo using Laravel Broadcasting service. But I don't know if this is the best way to do it.Also, we need to integrate it to the mobile and I am not sure if Pusher and Echo are going work.
Using another service like Pusher is probably the best option. OpenTok does not currently provide a calling type API, it is instead based on rooms (sessions).
One alternative using just OpenTok would be to have the participants both connect to a session and have the call action be when you call publish(). Then when you receive the streamCreated event on the other side you can treat that like the participant trying to call you. Answering the call is subscribing to the created stream and publishing back the other way.
Depending on your application this might not really work though, eg. if you have lots of different participants all being able to call one another then you will need to connect to lots of different sessions at the same time.

Where do I put code that links app to Twitch OAuth and channel chat

I'm currently using Android Studio 3.0.1 to build a very small android app that will be used to send specific chat commands to the users twitch channel chat. It's been quite a while since I've dabbled and as such I'm getting lost with where to put certain things
Essentially what I need the app to do is two fold. Firstly I need to present the user with the Twitch authentication page on first open so that they can authorise the app to use their twitch account/channel. Then I have a single screen with buttons on it. Each button calls a certain string, and what I need to do is pass that string into the users channel chat
I've got virtually all the code required to connect to the twitch API and generate the OAuth request, as well as code connecting to the channel and code to push commands from the buttons out to another endpoint. What I'm struggling with is the following:
Where do I put any of this code? Where am I putting the twitch OAuth request code etc? Do I create a separate Java class for it?
Once I've got the code in and working where is the data being stored and how do I then call it elsewhere? I guess this might get answered once I know where I'm actually putting the main code
Obviously the app will be used by multiple users so I assume I'll be creating variables for usernames, OAuth tokens etc and then will call them from other areas. I'm just unaware of how to get this done in the current Studio version and while I can find lots of references to what code to use, and plenty of examples of how to make code work I can't seem to find any info on where to actually put any code
I've abandoned android studio for now. no matter what I tried I can't get things working. switching over to another method of working using html/js/css and I've got so much further

Show custom name in App-To-Phone Calls in Sinch

I'm developing an Android application that allows users to make app to phone calls and it is working pretty fine at the moment but, I want to show a custom name when the remote user receive the call. Now, the phone receiving the call is showing an unknown caller name.
My question is if there is a way to achieve this or it's impossible to show what i want.
There is a couple of ways do do this:
User callUserWithHeaders and add a friedly name as a header
Look up the username in your backend when you recieve the call and display the friendly name

Way to execute a website click activity in background android application

I am working on developing an app which involves clicking a tab/div in a website. Click event involves execution of java script in background and server also updates the page with response.
Now, my android app can make use of response data and do its application code. Here, I dont want user to click the tab/div in website. I want this to be done in background and I want the response from the website as input for my app. ) i.e I wish to perform click event on website when user opens the android application.
I have tried this using HtmlUnit and Selenium. Is there any other way to solve this problem ? Please share your valuable answers.
I wouldn't use Selenium for this at all.
Open that website up on a computer and use Fiddler2 to capture the traffic (there most certainly will be a request somewhere that will trigger that response) and just send the request to the server, receive response, and profit.
If you REALLY want to use selenium inside an android app, you might have better luck with Appium.

Categories

Resources