|
@@ -107,6 +107,7 @@ export default {
|
|
content: '',
|
|
content: '',
|
|
dataList: [],
|
|
dataList: [],
|
|
isrecord: false,
|
|
isrecord: false,
|
|
|
|
+ shareid: '',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -124,7 +125,7 @@ export default {
|
|
async recordclick() {
|
|
async recordclick() {
|
|
console.log(this.isrecord);
|
|
console.log(this.isrecord);
|
|
if (this.isrecord) {
|
|
if (this.isrecord) {
|
|
- const info = { roomid: this.id, roomname: this.name };
|
|
|
|
|
|
+ const info = { roomid: this.id, roomname: this.name, shareid: this.shareid };
|
|
let res = await this.startrecord({ ...info });
|
|
let res = await this.startrecord({ ...info });
|
|
} else {
|
|
} else {
|
|
const info = { roomid: this.id, roomname: this.name };
|
|
const info = { roomid: this.id, roomname: this.name };
|
|
@@ -213,6 +214,7 @@ export default {
|
|
},
|
|
},
|
|
async shareon() {
|
|
async shareon() {
|
|
const shareId = 'share-' + this.userId_;
|
|
const shareId = 'share-' + this.userId_;
|
|
|
|
+ this.shareid = shareId;
|
|
const res = await this.gensignFetch({ userid: shareId });
|
|
const res = await this.gensignFetch({ userid: shareId });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
const shareClient = TRTC.createClient({
|
|
const shareClient = TRTC.createClient({
|