qcloud-rtc-spring-boot-starter

spring boot starter for qcloud rtc

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

com.github.zhangquanli
ArtifactId

ArtifactId

qcloud-rtc-spring-boot-starter
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

qcloud-rtc-spring-boot-starter
spring boot starter for qcloud rtc
Project URL

Project URL

https://github.com/zhangquanli/qcloud-rtc-spring-boot-starter
Source Code Management

Source Code Management

https://github.com/zhangquanli/qcloud-rtc-spring-boot-starter

Download qcloud-rtc-spring-boot-starter

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-rtc-spring-boot-starter/ -->
<dependency>
    <groupId>com.github.zhangquanli</groupId>
    <artifactId>qcloud-rtc-spring-boot-starter</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-rtc-spring-boot-starter/
implementation 'com.github.zhangquanli:qcloud-rtc-spring-boot-starter:1.0.0'
// https://jarcasting.com/artifacts/com.github.zhangquanli/qcloud-rtc-spring-boot-starter/
implementation ("com.github.zhangquanli:qcloud-rtc-spring-boot-starter:1.0.0")
'com.github.zhangquanli:qcloud-rtc-spring-boot-starter:jar:1.0.0'
<dependency org="com.github.zhangquanli" name="qcloud-rtc-spring-boot-starter" rev="1.0.0">
  <artifact name="qcloud-rtc-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zhangquanli', module='qcloud-rtc-spring-boot-starter', version='1.0.0')
)
libraryDependencies += "com.github.zhangquanli" % "qcloud-rtc-spring-boot-starter" % "1.0.0"
[com.github.zhangquanli/qcloud-rtc-spring-boot-starter "1.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter Optional jar 2.2.0.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.2.0.RELEASE
com.github.tencentyun : tls-sig-api jar 1.2
com.github.tencentyun : tls-sig-api-v2 jar 1.1

Project Modules

There are no modules declared in this project.

qcloud-rtc-spring-boot-starter

基于 Spring Boot 框架,快速集成【腾讯云】【实时音视频】服务

快速集成

  1. pom.xml 文件中,引入依赖
    <dependency>
        <groupId>com.github.zhangquanli</groupId>
        <artifactId>qcloud-rtc-spring-boot-starter</artifactId>
        <version>1.0.0</version>
    </dependency>
  2. application.propertiesapplication.yml 文件中,进行配置
    qcloud.rtc.sdk-app-id=sdkAppId
    qcloud.rtc.private-key-path=privateKeyPath
    qcloud.rtc.tls-sig=ecdsa_sha256
    qcloud.rtc.expire=15552000
    qcloud.rtc.biz-id=bizId
    qcloud.rtc.play-domain=playDomain
    qcloud.rtc.play-key=playKey
    qcloud.rtc.play-expire=86400
    qcloud:
      rtc:
        sdk-app-id: sdkAppId
        private-key-path: privateKeyPath
        tls-sig: ecdsa_sha256
        expire: 15552000
        biz-id: bizId
        play-domain: playDomain
        play-key: playKey
        play-expire: 86400

快速开发

  1. Spring Boot 项目中,可以直接注入 QcloudRtc 接口
    @Resource
    private QcloudRtc qcloudRtc;
  2. 使用 QcloudRtc 接口中封装好的方法

更新日志

1.0.0

  1. 获取 UserSig
  2. 获取 rtmp, flv, hls 等协议的旁路推流播放地址

Versions

Version
1.0.0