The entire session’s recording is available as an embedded playback app that can be integrated into your application as an iframe as shown below. This will allow you to view the Proview session audio, video, event list, and the Proview index on your application itself once it is converted and processed. Below is the code snippet required to be injected for the playback embedding:

<iframe src="<<playbackURL>>" width='100%' height='600px;' style="overflow:auto">
HTML


Generate PlaybackURL

  1. With Authentication Enabled
     A playback token is required to view the embedded playback when the authentication is enabled on your account.
    API to generate the token:

    Endpointhttps://api.proview.io/v1/playback-token

    Method: POST
    After generating the token the playback URL can be constructed as
     https://app.proview.io/embedded/<<playbackID>>?token=<<playbackToken>>

  2. With Authentication Disabled
    The PlaybackURL can be constructed as
    https://app.proview.io/embedded/ <<playbackID>>

PlaybackID is the embedded playback ID that Proview generates in its callback function.
If Authentication is Enabled it will also be available in the response of the playback token API with the name session_uuid.

The playback may take some time to be available in the embedded view. The post-processing takes roughly the same amount of time as the session, i.e. for a one-hour session, it will take roughly one hour for the playback to be available. The integrity score is available as part of the embedded view.

 


API Contract

Get Playback token

Description

Get token for Playback view

Owner

Talview

Method

POST

URL

https://api.proview.io/v1/playback-token

Request Schema:

Parameter

Type

Mandatory

Description

proview_token

String

true

Proview Token

session_uuid

String

true

UUID for which to generate playback token

session_external_id

String

true

Session Id for which to generate the token

profile_external_id

String

true

Profile Id for which to generate the token

validity

Int

true

Validity of token (in minutes)

Sample Request 

[ Either session_uuid or combination of session_external_id and profile_external_id, is mandatory to generate the token] 

{   
 "proview_token": "<<Token>>",    
 "session_uuid": "ff088d80-9a3b-11ea-ae33-a70ec8a0c98",   
 "session_external_id": "2989999",   
 "profile_external_id": "123556",   
 "validity": 60
}
JavaScript


Sample Response

{ 
 "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoie1wic2",  
 "session_uuid": "ff088d80-9a3b-11ea-ae33-a70ec8a0c982", 
 "valid_till": "2020-12-14T09:35:41.629Z" 
}
JavaScript