This commit is contained in:
vapormusic 2022-02-24 10:58:55 +07:00
parent 44eaa5ee8d
commit dc50d732ad
4 changed files with 276 additions and 31 deletions

View file

@ -142,8 +142,8 @@ export default class ChromecastPlugin {
}
let media = {
// Here you can plug an URL to any mp4, webm, mp3 or jpg file with the proper contentType.
contentId: 'http://' + this.getIp() + ':9000/audio.webm',
contentType: 'audio/webm',
contentId: 'http://' + this.getIp() + ':9000/audio.wav',
contentType: 'audio/wav',
streamType: 'LIVE', // or LIVE
// Title and cover displayed while buffering