Abstract:
The present disclosure discloses a remote debugging method and apparatus for a mobile terminal, to create a good debugging environment, so that remote debugging is performed normally and smoothly. The method includes: identifying a mobile terminal inserted into a universal serial bus (USB) port of a server; establishing a mapping relationship between a socket port and the USB port; and forwarding data on the socket port to the USB port and data on the USB port to the socket port through a user data channel obtained according to the mapping relationship.
Abstract:
A video synchronous playback system includes: a mobile terminal, a personal computer (PC), an encoding server, a streaming server, and a playback device, where the mobile terminal is configured to capture a current displayed frame of a played video to obtain a first image, perform bitmap scaling processing on the first image to obtain a second image, perform image compression processing on the second image to obtain a third image, and send the third image to the encoding server by using the PC; and the encoding server is configured to restore the third image into a bitmap image to obtain a fourth image, perform bitmap scaling processing on the fourth image to obtain a fifth image, perform format conversion, encoding processing, and encapsulation on the fifth image to obtain a video stream, and send the video stream to a target playback device by using the streaming server.
Abstract:
A method and an apparatus for recording and replaying a video of a terminal are described, which can solve a problem, which is caused by failure to continuously reflect a running status of a program, of low efficiency of recording and replaying the video of the terminal. The method includes: receiving screenshots that are sent by a terminal according to a first preset time interval and performance data of the terminal that is sent by the terminal according to a second preset time interval, the first preset time interval being less than the second preset time interval; synthesizing the received screenshots into video data that has a start time and an end time; and playing, according to a playback time selected by a user, the video data and the performance data corresponding to the playback time.