170 likes | 361 Views
Vidiator Xenon Platform Training. Platform Configuration, and Integration. System Configuration. Configuring Platform Applications Xenon Streamer server.ini manager.ini SNMP snmpagent.ini CDR cdr.ini PhoneDB Xenon Encoder nxfilterconfig.exe. Xenon Streamer Configuration. server.ini
E N D
Vidiator Xenon Platform Training Platform Configuration, and Integration
System Configuration • Configuring Platform Applications • Xenon Streamer • server.ini • manager.ini • SNMP • snmpagent.ini • CDR • cdr.ini • PhoneDB • Xenon Encoder • nxfilterconfig.exe Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Xenon Streamer Configuration • server.ini • The main streaming server configuration file. • Located in <Xenon Streamer root directory>\bin • It contains the configurations and settings for the following parameters: • Basic Server Configuration • Mount Folder Settings • Logging Configuration • Data Packet Settings • Signaling Settings • Timeout Configuration • Source Port Matching Settings • Bandwidth Adaptation Settings Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Xenon Streamer Configuration • server.ini • Mandatory Parameters (Basic Server Configuration): Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Xenon Streamer Configuration • manager.ini • Configuration file for the Report Manager (ReportMGR.exe) • Located in: <root directory>\bin • Report Manager generates statistics logs using CDR data which is used for generating statistics reports by the SiteReports application. Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
SNMP Configuration • snmpagent.ini • Used to enable or disable trap sending • Configures SNMP agent and manager settings Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
CDR Configuration • cdr.ini • Configures the CDR functionality provided by Xenon Streamer • Located in: <root directory>\bin • It contains the configurations and settings for the following CDR parameters: • Storage Folder Settings • Saving Period Settings • CDR Fields and File Naming Convention Settings • Fields included in CDR data by the Streamer Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
CDR Configuration cdr.ini:Mandatory Fields Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
PhoneDB Configuration • Database file Located in: <root directory>\bin • PhoneDB includes phones from the following manufacturers: • Nokia • Motorola • Sony/Ericsson • LG • Samsung • NEC • To configure additional phones, please contact Vidiator Professional Services. Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Xenon Encoder Configuration • nxfilterconfig.exe • NxFilterConfig configures what codecs are available for encoding content. Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Vidiator Xenon Platform Training Platform Integration
Platform Integration • Xenon Platform provides a Gateway and API for various types of billing and authentication • Customer can apply different billing rules such as pre/post-paid or subscription-based billing using one unified API • API is written in SOAP/XML Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
API integration Layer Streaming Request GetAuthRequest GetAuthRequestResponse StreamNotificationRequest StreamNotificationResponse GetUserQuotaRequest GetUserQuotaResponse Streaming Streaming End of Stream End of Stream BillingInfoReportRequest StreamNotificationRequest BillingInfoReportResponse StreamNotificationResponse General Integration Call Flow Client Device Gateway Streaming Server Service Broker Billing/Auth Center Authentication/User Information Available Credit for User Billing Information Termination Point Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
SOAP API Example Get User Information Request (Gateway ServiceAgent) POST /Streamer/Streamersoap.asmx HTTP/1.1 Host: localhost Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://localhost/Streamer/Streamersoap/GetUserInfoRequest" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetUserInfoRequest xmlns="http://localhost/Streamer/Streamersoap/"> <SessionID>string</SessionID> <ClientAddr>string</ClientAddr> </GetUserInfoRequest> </soap:Body> </soap:Envelope> Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
SOAP API Messages • GetAuthRequest • Request for user and content authorization. • GetAuthRequestResponse • Response for user and content authorization. • GetUserQuotaRequest • Periodic request to check if the streaming session will be continued. • GetUserQuotaRequestResponse • Periodic response to check if the streaming session will be continued. • StreamNotificationRequest • Notification for ‘Start’ / ‘End’ of Stream. • StreamNotificationRequestResponse • Response for the stream notification. • BillingInfoReportRequest • Final billing report after service. • BillingInfoReportRequestResponse • Response for the billing report. • TerminateSessionRequest • Terminate a streaming session from Service Broker. • TerminateSessionRequestResponse • Response for TerminateSessionRequest. • GetSessionStatusRequest • Check a streaming session status from Service Broker. • GetSessionStatusRequestResponse • Response for GetSessionStatus. Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
SOAP API Error Codes • Because SOAP messages are delivered on top of HTTP and XML, even if the API throws an error, the HTTP error code will always be “200 OK”. • Therefore, the following API error codes are included in failed responses from the Service Broker Xenon Platform Training - Module 3 - Installation, Configuration, and Integration
Q&A ? Questions Xenon Platform Training - Module 3 - Installation, Configuration, and Integration