C# Class Youbora.Analytics.Providers.API.Error.ErrorApi

显示文件 Open project: NicePeopleAtWork/NicePlayers

Public Methods

Method Description
Error ( string host, string errorCode, string msg, string code, string resource, string system, bool live, string properties, string user, string referer, double bitrate, int pingTime, string pluginVersion, long duration, string extraParams ) : string

Reports a player error. When the player launches an error. Usage Example: http://nqs.nice264.com:8080/error?errorCode=9000&code=fD75sCuum8VK2G98

Method Details

Error() public static method

Reports a player error. When the player launches an error. Usage Example: http://nqs.nice264.com:8080/error?errorCode=9000&code=fD75sCuum8VK2G98
public static Error ( string host, string errorCode, string msg, string code, string resource, string system, bool live, string properties, string user, string referer, double bitrate, int pingTime, string pluginVersion, long duration, string extraParams ) : string
host string Service host URL from data call
errorCode string Player's error numerical code
msg string Player’s error message. This parameter is a string and provides with more in detail information about the player’s error.
code string View code retrieved from the data call
resource string Vídeo resource URL
system string Your Nice PeopleAtWork account code that indicates Youbora which customer account you are sending the data to. This parameter will be provided by NicePeopleAtWork, if you don't have it yet, please contact your Customer Engineer or Support Agent
live bool Boolean variable to identify if the video is a live (true) or an on demand (false) stream. Many of our plugins have a method integrated that lets the customer, when integrating the plugin, use a method to set this property
properties string JSON media properties (the same ones described in the start call)
user string User identifier. If the user is unknown, send a blank parameter or with a default username
referer string Browser's URL where the player is being loaded (window.location)
bitrate double Total amount of bytes loaded by the player (player + plugin + video content)
pingTime int tag from /data response
pluginVersion string The version of the plugin in the x.x.x_ format. This parameter lets you to have a version control of new deployed plugins and see which users are using an older version (cached in the system), so you can force them to clean their cache and download the new version
duration long It defines the video length in seconds
extraParams string Custom Data feature
return string