iOS and tvOS native players incorrectly handle the situation where there are two tracks in the same language (for example: regular and 5.1 sound). I'm looking for a way to remove the default track from the manifest to solve this problem.
I've found this in m3u8_builder.c:
is_default = tracks[media_type]->media_info.tags.is_default;
if (is_default < 0)
{
is_default = adaptation_set == first_adaptation_set;
}
if (is_default)
{
p = vod_copy(p, M3U8_EXT_MEDIA_DEFAULT, sizeof(M3U8_EXT_MEDIA_DEFAULT) - 1);
}
else
{
p = vod_copy(p, M3U8_EXT_MEDIA_NON_DEFAULT, sizeof(M3U8_EXT_MEDIA_NON_DEFAULT) - 1);
}
Where does media_info.tags.is_default comes from and how do i set it?
Hi.
iOS and tvOS native players incorrectly handle the situation where there are two tracks in the same language (for example: regular and 5.1 sound). I'm looking for a way to remove the default track from the manifest to solve this problem.
I've found this in
m3u8_builder.c
:Where does
media_info.tags.is_default
comes from and how do i set it?