user2995611
user2995611

Reputation: 1

How to integrate vLine Video Chat in MVC4 application?

How to integrate vLine Video Chat in MVC4 application?

https://vline.com/developer/docs/support

Upvotes: 0

Views: 825

Answers (1)

tomtheengineer
tomtheengineer

Reputation: 4277

We don't have an example for an MVC4 application, but if you take a look at our examples for other languages, you should be able to get an idea of how to do it.

Basically, you need to generate an authToken for your authenticated user and inject that as a JavaScript variable in the page that is displayed to the user. Your JavaScript in the page then uses the vLine API to log in to our cloud and make calls.

For example, here's the page from the node example that shows a call button for other logged-in users. Note that jwt and serviceId are enclosed in `<%= %>'; those are the values that are generated on the server and replaced before serving the page to the user.

Upvotes: 1

Related Questions