Skip to content

Commit

Permalink
release/5.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tongjie authored and yydounai1234 committed Dec 26, 2024
1 parent 63548e3 commit e44b9df
Show file tree
Hide file tree
Showing 110 changed files with 74 additions and 89,670 deletions.
Binary file removed android/.gradle/7.4.2/checksums/checksums.lock
Binary file not shown.
Binary file not shown.
Empty file.
Binary file removed android/.gradle/7.4.2/fileChanges/last-build.bin
Binary file not shown.
Binary file removed android/.gradle/7.4.2/fileHashes/fileHashes.lock
Binary file not shown.
Empty file.
Binary file not shown.
2 changes: 0 additions & 2 deletions android/.gradle/buildOutputCleanup/cache.properties

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,15 @@ public float getRemoteVolume(String trackID) {
return 0;
}

@UniJSMethod(uiThread = false)
public float getVolumeLevel(String trackID) {
QNLocalTrack localTrack = getManager().getLocalTrack(trackID);
if (localTrack instanceof QNLocalAudioTrack) {
return ((QNLocalAudioTrack) localTrack).getVolumeLevel();
}
return 0;
}

@UniJSMethod(uiThread = false)
public int isSubscribed(String trackID) {
QNRemoteTrack remoteTrack = getManager().getRemoteTrack(trackID);
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
<dict>
<key>files</key>
<dict>
<key>.DS_Store</key>
<data>
BlNhvPXRvZGtFa5JICBkpYZhq8Y=
</data>
<key>Frameworks/.DS_Store</key>
<data>
2Vjq09ZTwMYR0WNopOYtCTrNKMQ=
</data>
<key>Frameworks/HappyDNS.framework/HappyDNS</key>
<data>
GaFfuga98pKOKqi/pISf2vATb3A=
5CuPnA+uYG10y8vlNa4CIq7ileE=
</data>
<key>Frameworks/HappyDNS.framework/Info.plist</key>
<data>
Expand All @@ -22,15 +30,15 @@
</data>
<key>Frameworks/QNRTCKit.framework/QNRTCKit</key>
<data>
QNEDJicdfOEMwTzDV7u9j4yfrLg=
CtWTyjXDvjtV4P/xktUHa8isVBo=
</data>
<key>Frameworks/QNRTCKit.framework/_CodeSignature/CodeResources</key>
<data>
QrvpEZlkWypst9H0lSuf4jI/09A=
</data>
<key>Info.plist</key>
<data>
wECo4r7MwJgY8Y6ruR09IB5hg3Y=
Wv/is5NegOQHY/I089MQWhuXDpY=
</data>
</dict>
<key>files2</key>
Expand All @@ -39,11 +47,11 @@
<dict>
<key>hash</key>
<data>
GaFfuga98pKOKqi/pISf2vATb3A=
5CuPnA+uYG10y8vlNa4CIq7ileE=
</data>
<key>hash2</key>
<data>
BRiPtzu0EnP2y3hoDDlgCZd8PapgPU+ja445LeBuOh0=
lyOwZnFYNaDX+kXtbyGQysW9uxh7KdMV6cEdOOyUa5c=
</data>
</dict>
<key>Frameworks/HappyDNS.framework/Info.plist</key>
Expand Down Expand Up @@ -83,11 +91,11 @@
<dict>
<key>hash</key>
<data>
QNEDJicdfOEMwTzDV7u9j4yfrLg=
CtWTyjXDvjtV4P/xktUHa8isVBo=
</data>
<key>hash2</key>
<data>
pY7unPEci8/cCNw7t0btRcBWpNgGczeBc5olGtzbe9E=
JaT76rQCcWuCDJDE7hvCTPOZcoQIgBbigj6R0DBFY+8=
</data>
</dict>
<key>Frameworks/QNRTCKit.framework/_CodeSignature/CodeResources</key>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/nativeplugins/QNRTC-UniPlugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "七牛云原生WebRTC插件",
"id": "QNRTC-UniPlugin",
"version": "1.1.0",
"version": "5.2.8",
"description": "QNRTC原生插件",
"_dp_type": "nativeplugin",
"_dp_nativeplugin": {
Expand Down
50 changes: 25 additions & 25 deletions demo/pages/group-to-group/index.nvue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<view>
<uni-popup ref="success" type="message" background-color="#fff">
<uni-popup-message type="success" :message="successMessage" :duration="1000"></uni-popup-message>
</uni-popup>
<uni-popup ref="error" type="message" background-color="#fff">
<uni-popup-message type="error" :message="errorMessage" :duration="1000"></uni-popup-message>
<view>
<uni-popup ref="success" type="message" background-color="#fff">
<uni-popup-message type="success" :message="successMessage" :duration="1000"></uni-popup-message>
</uni-popup>
<uni-popup ref="error" type="message" background-color="#fff">
<uni-popup-message type="error" :message="errorMessage" :duration="1000"></uni-popup-message>
</uni-popup>
<view class="wrap flex">
<view class="flex-row margin-bottom-sm">
Expand Down Expand Up @@ -224,8 +224,8 @@
]),
},
data() {
return {
successMessage: "",
return {
successMessage: "",
errorMessage: "",
remoteTracks: [],
publishedTracks: [],
Expand Down Expand Up @@ -298,23 +298,23 @@
(i) => {
uni.saveImageToPhotosAlbum({
filePath: url,
success: function() {
this.successMessage = "图片保存成功"
success: function() {
this.successMessage = "图片保存成功"
this.$refs.success.open()
bitmap.clear()
},
})
},
(e) => {
this.errorMessage = '图片保存失败'
(e) => {
this.errorMessage = '图片保存失败'
this.$refs.error.open()
console.log(e)
bitmap.clear()
}
)
},
(e) => {
this.errorMessage = '图片保存失败'
(e) => {
this.errorMessage = '图片保存失败'
this.$refs.error.open()
bitmap.clear()
}
Expand All @@ -338,8 +338,8 @@
this.client.sendMessage(this.message, [], Math.random() + 'messageID')
},
async handleJoinRoom() {
if (this.connectionState === 'CONNECTED') {
this.errorMessage = '已经加入房间'
if (this.connectionState === 'CONNECTED') {
this.errorMessage = '已经加入房间'
this.$refs.error.open()
return false
}
Expand Down Expand Up @@ -381,8 +381,8 @@
const screenVideoTrack = QNRTC.createScreenVideoTrack()
this.localTracks.push(screenVideoTrack)
this.client.join(this.token)
} else {
this.errorMessage = '无法录屏'
} else {
this.errorMessage = '无法录屏'
this.$refs.error.open()
this.client.join(this.token)
}
Expand All @@ -401,11 +401,11 @@
}) => {
if (state === 'CONNECTED') {
this.client.publish(this.localTracks, (onPublished, error) => {
if (onPublished) {
this.successMessage = '发布成功'
if (onPublished) {
this.successMessage = '发布成功'
this.$refs.success.open()
} else {
this.errorMessage = error.message
this.errorMessage = error.message
this.$refs.error.open()
}
})
Expand Down Expand Up @@ -438,8 +438,8 @@
title: '重连中',
})
} else if (state === 'RECONNECTED') {
uni.hideLoading()
this.successMessage = '重连成功'
uni.hideLoading()
this.successMessage = '重连成功'
this.$refs.success.open()
}
})
Expand Down Expand Up @@ -469,8 +469,8 @@
}
})
this.client.on('onMessageReceived', (params) => {
console.log('接收到消息', params)
this.successMessage = `${params.userId}说:${params.content}`
console.log('接收到消息', params)
this.successMessage = `${params.userId}说:${params.content}`
this.$refs.success.open()
})
this.client.on('onUserReconnecting', (params) => {
Expand Down
30 changes: 0 additions & 30 deletions demo/unpackage/cache/appleConfig.ini

This file was deleted.

3 changes: 0 additions & 3 deletions demo/unpackage/cache/certdataios

This file was deleted.

Binary file removed demo/unpackage/debug/android_debug.apk
Binary file not shown.
Binary file removed demo/unpackage/debug/iOS_debug.ipa
Binary file not shown.
Empty file.

This file was deleted.

Binary file removed demo/unpackage/dist/build/app-plus/__uniapperror.png
Binary file not shown.
1 change: 0 additions & 1 deletion demo/unpackage/dist/build/app-plus/__uniappes6.js

This file was deleted.

1 change: 0 additions & 1 deletion demo/unpackage/dist/build/app-plus/__uniappopenlocation.js

This file was deleted.

1 change: 0 additions & 1 deletion demo/unpackage/dist/build/app-plus/__uniapppicker.js

This file was deleted.

8 changes: 0 additions & 8 deletions demo/unpackage/dist/build/app-plus/__uniappquill.js

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion demo/unpackage/dist/build/app-plus/__uniappscan.js

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions demo/unpackage/dist/build/app-plus/__uniappview.html

This file was deleted.

8 changes: 0 additions & 8 deletions demo/unpackage/dist/build/app-plus/app-config-service.js

This file was deleted.

1 change: 0 additions & 1 deletion demo/unpackage/dist/build/app-plus/app-config.js

This file was deleted.

17 changes: 0 additions & 17 deletions demo/unpackage/dist/build/app-plus/app-service.js

This file was deleted.

Loading

0 comments on commit e44b9df

Please sign in to comment.