Difference between revisions of "LiveStream"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_DataType_Spec |Description=Represents the information for a live stream. |Members= {{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10" {{!}}- style="...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! ConcurrenceToken
 
{{!}} String
 
{{!}} Token for concurrence control
 
{{!}}- valign="top"
 
  
 
! ID
 
! ID
 
{{!}} int
 
{{!}} int
 
{{!}} Stream ID
 
{{!}} Stream ID
 +
{{!}}- valign="top"
 +
 +
! ConcurrenceToken
 +
{{!}} String
 +
{{!}} Token for concurrence control
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 28: Line 29:
 
{{!}} [[StreamingType|StreamingType]]
 
{{!}} [[StreamingType|StreamingType]]
 
{{!}} Streaming type
 
{{!}} Streaming type
 +
{{!}}- valign="top"
 +
 +
 +
! DRMType
 +
{{!}} [[DRMType| DRMType]]
 +
{{!}} DRM Type
 +
{{!}}- valign="top"
 +
 +
! CdnTokenSecret
 +
{{!}} String
 +
{{!}} Secret for the CDN Token algorithm
 +
{{!}}- valign="top"
 +
 +
! UseCdnToken
 +
{{!}} Boolean
 +
{{!}} Use CDN security algorithm or not for playback
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
 
! Url
 
! Url
{{!}} string
+
{{!}} String
 
{{!}} Stream URL
 
{{!}} Stream URL
 +
{{!}}- valign="top"
 +
 +
! '''isExternal'''
 +
{{!}} bool
 +
{{!}}  bgcolor="#7DC04E" {{!}} '''NEW''' Indicates if the channel is External or not.
 +
{{!}}- valign="top"
 +
 +
! '''Device Type'''
 +
{{!}} [[DeviceType]]
 +
{{!}}  bgcolor="#7DC04E" {{!}} '''NEW''' Device type if specified. If not specified, this parameter will be null
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 40: Line 67:
 
|Example=
 
|Example=
 
{
 
{
:        "ID": 4197938,
+
:        "ID": 77,
:        "ConcurrenceToken": "CO_ZGAE6U_sg_mGqRfqdA-QG-HF0Ln_FpB6DEk...",
+
:        "ConcurrenceToken": "31fbf7b815bc45ffadf6b13f43ffcfd7",
:        "Quality": [[Quality|Quality]],
+
:        "Quality": 4,
:        "StreamingType": [[StreamingType|StreamingType]],
+
:        "StreamingType": 2,
:        "Url": "http://www.telefonica.com/..."
+
:        "Drm": 3,
 +
:        "Url": "http://www.telefonica.com/....m3u8",
 +
:        "CdnTokenSecret": "",
 +
:        "UseCdnToken": false,
 +
:        "DeviceType": 401,
 +
:        "isExternal": false
 
}
 
}
 +
  
 
|KnownIssues=
 
|KnownIssues=
Line 61: Line 94:
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 +
 +
! 3.0
 +
{{!}} Added:
 +
* isExternal
 +
* deviceType
 +
{{!}} Ricardo Calvo
 +
{{!}}- valign="top"
 +
 
{{!}}}
 
{{!}}}
  
 
|SeeAlso=
 
|SeeAlso=
 
* [[StreamingType|StreamingType]] type
 
* [[StreamingType|StreamingType]] type
 +
* [[DRMType|DRMType]] type
 
* [[Quality|Quality]] type
 
* [[Quality|Quality]] type
 
}}
 
}}

Latest revision as of 18:35, 25 March 2015

Represents the information for a live stream.

Members

Field Data Type Description
ID int Stream ID
ConcurrenceToken String Token for concurrence control
Quality Quality Stream quality
StreamingType StreamingType Streaming type
DRMType DRMType DRM Type
CdnTokenSecret String Secret for the CDN Token algorithm
UseCdnToken Boolean Use CDN security algorithm or not for playback
Url String Stream URL
isExternal bool NEW Indicates if the channel is External or not.
Device Type DeviceType NEW Device type if specified. If not specified, this parameter will be null


Example

{

"ID": 77,
"ConcurrenceToken": "31fbf7b815bc45ffadf6b13f43ffcfd7",
"Quality": 4,
"StreamingType": 2,
"Drm": 3,
"Url": "http://www.telefonica.com/....m3u8",
"CdnTokenSecret": "",
"UseCdnToken": false,
"DeviceType": 401,
"isExternal": false

}


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial data type implementation Harley Cabral
3.0 Added:
  • isExternal
  • deviceType
Ricardo Calvo


See also