Update
This commit is contained in:
parent
6379e1ae34
commit
898cc0cbf2
@ -20384,6 +20384,12 @@ let originAssetId
|
|||||||
let consumerVideo // local consumer video(consumer not transport)
|
let consumerVideo // local consumer video(consumer not transport)
|
||||||
let consumerAudio // local consumer audio(consumer not transport)
|
let consumerAudio // local consumer audio(consumer not transport)
|
||||||
|
|
||||||
|
const remoteSoundControl = document.getElementById('remoteSoundControl');
|
||||||
|
|
||||||
|
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||||
|
btn.textContent = 'Button clicked';
|
||||||
|
});
|
||||||
|
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
|
@ -26,6 +26,12 @@ let originAssetId
|
|||||||
let consumerVideo // local consumer video(consumer not transport)
|
let consumerVideo // local consumer video(consumer not transport)
|
||||||
let consumerAudio // local consumer audio(consumer not transport)
|
let consumerAudio // local consumer audio(consumer not transport)
|
||||||
|
|
||||||
|
const remoteSoundControl = document.getElementById('remoteSoundControl');
|
||||||
|
|
||||||
|
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||||
|
btn.textContent = 'Button clicked';
|
||||||
|
});
|
||||||
|
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#ProducerOptions
|
||||||
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
// https://mediasoup.org/documentation/v3/mediasoup-client/api/#transport-produce
|
||||||
let videoParams = {
|
let videoParams = {
|
||||||
|
Loading…
Reference in New Issue
Block a user