I am trying to get only transcoded audio stream from my Wowza server in JWPlayer.
At the moment, I know that a normal (unencoded) stream transmits it through the server and back to my JWPlayer client - I cannot understand why I cannot get to the audio stream.
JWPlayer code as follows:
var PlayerInstance = jwplayer('jwcontainer').setup({ image: '/resource/javascript/jwplayer/background.png', height: '420', width: '420', skin: 'stormtrooper', autostart: '1', androidhls: true, provider: 'rtmp', playlist: [{ sources: [ { file: 'http://SERVER:80/APPLICATION/flv:STREAM' }, { file: 'http://SERVER:1935/APPLICATION/STREAM/playlist.m3u8' }, { file: 'http://SERVER:1935/APPLICATION/STREAM/manifest.mpd' }, { file: 'http://SERVER:1935/APPLICATION/STREAM/manifest.f4m' } ] }], rtmp: { bufferlength: 1, securetoken: '' } });
I tried to provide JWPlayer 'STREAM_aac' (as implied by the Wowza Transcoder configuration?) As the name of my stream and returned with the error "ID not found on server".
I also tried giving it the AAC stream type (replacing 'flv:' with 'aac:'), and also MP3 (for beats only) to no avail.
Any suggestions? Did I miss something?
Does anyone have a working JWPlayer example that receives a Wowza encoded stream?
source share