# Authentication process

authflow.png

# Access process

workflow.png

For the customer's owned media system, the editing features provided by Meishe can enhance their product. this document file will provides the development specification for realization part both in the customer and Meishe. After the user logs in successfully through the user's own system, its will redirect to homepage by this /home path, at the same time, the user's unique voucher Token is stored in localstorage,and this field name is Authorization, and the front page will automatically carry the voucher in the request header when calling the function.

# Client side specification

# The customer needs to finish the following frontend pages

# 1. Project management page

# 2. Finished product management page

Note 1: To make a video, you need to create a project in advance, and the description file of the project is xml file. Note 2: The finished product is the video which been edited and merged multiple videos as a whole by Meishe-Editor

# Meishe provides the following frontend pages

# 1. Editing page

Including sub-pages such as display page of special effect material , management page of audios/videos/images resource , publish video content page,etc.

# 2. Materials management page

Note 1: Meishe-Editor page can provides timeline editing function and real-time editing preview function. Note 2: The special effect materials is something like subtitles, filters, stickers, etc. and you can call the operation which provided by Meishe interface services. Note 3: The resource management function provided by the resource management page needs to invoke the customer's resource API function, and the implementation of API function needs to be implemented according to the API function definition of the Meishe-Editor. Note 4: The upload page provides the interface for uploading,transcoding and video integration, and invokes the customer's upload API function to upload to the customer's storage when uploading.

# Server side specification

# the customer needs to finish the following interfaces

# 1. Project management interface

# 2. Videos/audios/images resource management interface

# 3. Finished-product management interface

# 4. Task management interface

# 5. Task callback interface

Note 1: These API functions/interface must be implemented in accordance with the API function definitions of Meishe.
Note 2: The API function definition document link of Meishe-Editor: https://www.yuque.com/u2230841/sa1umg/pxy66s (opens new window) Note 3: The finished product management API function is responsible for creating integration tasks, returning the list of finished product, deleting finished product,etc. Note 4: Task management API function returns task information. Note 5: Task callback API function means that after creating a task and executing it through Meishe-Editor's task scheduling service, Meishe-Editor's task scheduling service will return the task status, progress information and task results to the customer by way of callback.

# Meishe provides the following services

# 1. Material interface service

# 2. Task scheduling service

# 3. Transcoding service

# 4. Compile service

# 5. Authentication service

# 6. Audio comparison service

# 7. Sentences segmentation service

# 8. Meishe-Editor's database

# 9. Pre-installed materials

Note 1: sentences segmentation service based on speech recognition,and for long sentence will be cut into short sentence,and the customer should finish the process of speech recognition. Note 2: authentication service base on a situation which the customer can access public Internet,and we need the https Certification file with the customer's domain name.