Hi all,
i have a problem to play audio ext. in wowza, this is my config to play
<smil>
<head/>
<body>
<switch>
<audio src="mp3:mohini.mp3" />
</switch>
</body>
</smil>
but when i try to play video ext. it is run smoothly.
<smil>
<head/>
<body>
<switch>
<video src="mp4:mohini2.aac" system-bitrate="372023" width="416" height="240" />
</switch>
</body>
</smil>
is there something i have to config to play mp3 ext. or there is error on the smil config in audio smil?
system
January 4, 2019, 2:45am
2
There should be no need to use a SMIL file for audio only unless you are using our Loop until Live module.
https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive
Playback from your loop until live feed would come from the name of the live source you define via the “loopUntilLiveOutputStreams” property. For example:
http://[server-address]:1935/live/Stream1/playlist.m3u8
We have an article on how to play back content via Apple HLS directly.
https://www.wowza.com/docs/how-to-playback-on-apple-ios-devices-cupertino-apple-hls
You will need to use a link as follows in your embed code.
http://[server-address]:1935/vod/mp3:mohini.mp3/playlist.m3u8
We do not support audio in an AAC container. Our server specifications can be found at the link below.
https://www.wowza.com/products/streaming-engine/specifications
You will need to put your AAC audio in an MP4 container. Once done you can use this to play it directly.
http://[server-address]:1935/vod/mp4:mohini.mp4/playlist.m3u8
For best compatibility you should follow the information in the article below to packets both audio/video and audio only streams as TS.
https://www.wowza.com/docs/how-to-configure-wowza-server-to-stream-audio-only-apple-hls-using-transport-stream
@Kevin Moore,
Thank you sir, the problem solved now.