Hi, i’ve been struggling to set up multi-camera stream using wowza.
What i’ve tried so far is using a single video file created from two different video files using yamb. Then created a smil file to access the tracks available in the file. The hlsplayer displays the seperate audio tracks and let me switch between these. However i’m not able to switch between different video tracks. My SMIL file is as:
<?xml version="1.0" encoding="UTF-8"?>
<smil>
<head>
</head>
<body>
<switch>
<video src="mp4:testparam.mp4?audioindex=0" system-language="en" title="Audio1" audio-bitrate="128000">
<param name="audioOnly" value="TRUE" valuetype="data"/>
<param name="cupertinoTag" value="EXT-X-MEDIA" valuetype="data"/>
<param name="cupertinoTag.GROUP-ID" value="aac" valuetype="data"/>
<param name="cupertinoTag.DEFAULT" value="YES" valuetype="data"/>
</video>
<video src="mp4:testparam.mp4?audioindex=1" system-language="de" title="Audio2" audio-bitrate="128000">
<param name="audioOnly" value="TRUE" valuetype="data"/>
<param name="cupertinoTag" value="EXT-X-MEDIA" valuetype="data"/>
<param name="cupertinoTag.GROUP-ID" value="aac" valuetype="data"/>
<param name="cupertinoTag.DEFAULT" value="NO" valuetype="data"/>
</video>
<video src="mp4:testparam.mp4?videoindex=0" system-language="en" title="video1" width="656" height="274" video-bitrate="800000">
<param name="videoCodecId" value="avc1.66.30" valuetype="data"/>
<param name="videoOnly" value="TRUE" valuetype="data"/>
<param name="cupertinoTag.AUDIO" value="aac" valuetype="data"/>
<param name="audioCodecId" value="mp4a.40.2" valuetype="data"/>
<param name="cupertinoTag.DEFAULT" value="YES" valuetype="data"/>
</video>
<video src="mp4:testparam.mp4?videoindex=1" system-language="de" title="video2" width="1200" height="460" video-bitrate="1600000">
<param name="videoCodecId" value="avc1.66.30" valuetype="data"/>
<param name="videoOnly" value="TRUE" valuetype="data"/>
<param name="cupertinoTag.AUDIO" value="aac" valuetype="data"/>
<param name="audioCodecId" value="mp4a.40.2" valuetype="data"/>
<param name="cupertinoTag.DEFAULT" value="NO" valuetype="data"/>
</video>
</switch>
</body>
</smil>