Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiwepy/aliyun-mps-spring-boot-starter
aliyun-mps-spring-boot-starter
https://github.com/hiwepy/aliyun-mps-spring-boot-starter
Last synced: about 1 month ago
JSON representation
aliyun-mps-spring-boot-starter
- Host: GitHub
- URL: https://github.com/hiwepy/aliyun-mps-spring-boot-starter
- Owner: hiwepy
- License: apache-2.0
- Created: 2020-12-19T04:43:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T16:20:05.000Z (5 months ago)
- Last Synced: 2024-09-09T20:01:14.728Z (5 months ago)
- Language: Java
- Size: 149 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aliyun-ons-spring-boot-starter
#### 组件简介
> 基于阿里云视频转码实现的 Spring Boot Starter 实现,依赖少,使用简单
#### 使用说明
##### 1、Spring Boot 项目添加 Maven 依赖
``` xml
com.github.hiwepy
aliyun-mps-spring-boot-starter
${project.version}```
##### 2、在`application.yml`文件中增加如下配置
```yaml
#################################################################################################
### 阿里云Mps配置:
#################################################################################################
alibaba:
cloud:
mps:
access-key: test
secret-key: test
oss-location: ss
oss-bucket: ss
region-id: hangzhou
```##### 3、使用示例
```java
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;@RunWith(SpringRunner.class)
@SpringBootTest
public class AliyunMpsApplicationTests {@Autowired
private AliyunMpsTemplate mpsTemplate;
@Test
public void testProducer() throws Exception {
}
}
```## Jeebiz 技术社区
Jeebiz 技术社区 **微信公共号**、**小程序**,欢迎关注反馈意见和一起交流,关注公众号回复「Jeebiz」拉你入群。
|公共号|小程序|
|---|---|
| ![](https://raw.githubusercontent.com/hiwepy/static/main/images/qrcode_for_gh_1d965ea2dfd1_344.jpg)| ![](https://raw.githubusercontent.com/hiwepy/static/main/images/gh_09d7d00da63e_344.jpg)|