Troubleshooting Audio and Video Solutions

Source: Internet
Author: User

In the development of audio and video, or the use of development tools in the process, especially in the case of a software unfamiliar, encountered problems usually do not know, here to the domestic more advanced audio and video development platform Anychat Platform As a sentence, give a more general fault analysis, troubleshooting and solutions:

First, the server part

after the server program starts, a log file is generated in the directory where the server program is located: " AnyChatCoreServer.log", typical log file content is as follows:

1.---------------------------Initservice---------------------------

2.Current File version[2, 8, 6, 2],build time:2010-06-2220:17:25

3.Authorized Certification success!

4.Run Service

5.Start TCP Server successed (port=8906)!

6.Start UDP Server successed (port=8907)!

It records the server version information, as well as the release time, in addition to the most important two points, also records whether the authorization information is successful and the current start Whether TCP and UDP services were successful.

If you configured the configuration file in the server SDK Filter (Plus) , the success of the load is also recorded in the log file.

Typically the server encounters the following issues:

1. The server failed to start due to authentication failure of authorization information. When the server starts, it will read the authorization certificate file (anychat.cer) in the current directoryand verify whether it is valid, if the file is missing, or the authorization information is incorrect, it will cause the startup to fail, encounter the problem, please contact our after-sales service (attached: contact information);

2. The server failed to start because the port was occupied. If the TCP,UDP port configured in the server configuration file is occupied by another program, or if more than one server process is started, it will cause the port to be occupied, only the process that uses the port should be closed, or the port number should be modified in the configuration file. Then restart the server program can be;

3, the server during the operation of an exception, usually anychat server can catch the resulting exception, the exception occurs at the point of memory dump to a file, the file name is "brgvservercrash.dmp" and " BRGVServerErrorLog.txt", when an exception occurs, please provide us with these two documents, which will help us quickly locate the point of failure and provide an upgrade patch.

Second, the client part

if the upper-level application is not actively shutting down Anychat The log function of the SDK, after the client program runs, a log file is generated in the application's current directory: "BRAnyChatCore.log", which can be opened with Notepad, which records the SDK version number, The release date, the information about whether the library file was successfully loaded at startup, and the API interface information for the upper- level app calling the Anychat SDK , including some parameters.

Typically parsing client log files can resolve most of the anomalies about clients, including:

1, different version caused by the exception: the client log will record the SDK version information, the relevant library file version information and release time, and the normal log file for comparison, to determine whether due to different versions caused by the abnormal;

2, because the component is not registered successfully, or the related components (DLL file) load failure, causing some of the function is not normal, such as can not open the video, or can not open the local audio collection device, may be component registration, or missing components caused;

3, because the error of calling parameters cause the SDK to not work properly, such as the connection server is not successful, and the server is the normal situation, usually the incoming IP address, or the port number is incorrect, which can be analyzed in the log file API incoming parameters to find the cause;

4, due to the order of API calls caused by the client's exception: through the comparison with the normal log file, to determine whether the API calls there is a problem.


Troubleshooting Audio and Video Solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.