12 lines
217 B
JavaScript
12 lines
217 B
JavaScript
import { socket } from '@/utils/socket'
|
|
|
|
function sendAddToQueue(url, bitrate = null) {
|
|
if (url != '') {
|
|
socket.emit('addToQueue', { url: url, bitrate: bitrate }, () => {})
|
|
}
|
|
}
|
|
|
|
export default {
|
|
sendAddToQueue
|
|
}
|