Viewing Recordings, Photos, and Sessions (aka Conversations)

How do I make the LiveSwitch conversations available in my application?

After you create a Conversation record, LiveSwitch returns several URLs. These include "ConversationUrl" and "EmbeddedConversationUrl". Both URLs provide access to the media for a Conversation. The LiveSwitch UI calls a Conversation a "Session". This page uses Conversation for this entity.

The page at each URL automatically updates with the latest details when media changes in the Conversation. These changes include starts and stops of recordings, new photos from cameras or uploads, and image crops or labels.

To give users access to their Conversation media, use one of these two options.

Option 1: Link to LiveSwitch

This is the simplest option. Add a link to the ConversationUrl in your application. Your users can open this link in a new window.

<a href="https://app.contact.liveswitch.com/conversations/{conversationId}"> View Session Details</a>

Option 2: Embed LiveSwitch

You can embed the EmbeddedConversationUrl directly in your application. Users can then see their Conversation details in your application. Use an iframe, as in this example:

<iframe src="https://app.contact.liveswitch.com/conversations/{conversationId}?embed=true"></iframe>

Users must log in to LiveSwitch to access these pages. LiveSwitch automatically refreshes their login session in the background. This keeps the page visible within your application.

To enable full screen video playback, add allowfullscreen allow="fullscreen" to your iframe.


Did this page help you?