Hls Live Streaming url with Bitmovin Player

We tried with hls live streaming play list URL but it is not working. App crashed with hls url and got below error

HLS variant playlist attribute EXT-X-PLAYLIST-TYPE is missing. To prevent errors while offline playback (if desired), the EXT-X-PLAYLIST-TYPE:VOD needs to be present. Playlist URL: https://amd.channels.boscoplus.tv/index/1.m3u8 code: 1207

Hi @nicholas.stokes_bitc!

Could you clarify which Bitmovin Player SDK are you using on which platform?

The referenced error seems to come from the iOS Player SDK running on iOS or on tvOS. This can happen either via using the iOS Player SDK directly or when using our React Native SDK.
Here is our API reference regarding that warning.

However, this is only a warning, which should not cause any crashes.
The most common cause for a crash, especially with new integrations, is the missing license key for the player.

Please refer to the following guides for setting up your project with a player license key:

When using your HLS stream, it plays perfectly fine.

I hope this helps!
Let us know if this didn’t resolve your problem!

Hi,
This issue not fixed, it is occurring in react native in ios while using the live streams.
For normal urls it was working fine.
Here my bitmovin version - 0.15.0
react native version - 0.68.2
Added liescence key in infoplist file

Here is my code:

export default function PlayerSample() {
const player = usePlayer({
licenseKey: ‘41e9a976-05bc-4a8d-a00a-82d70a2cb733’,
analyticsConfig: {
licenseKey: ‘da0ee94a-b5b5-44c2-866d-11909a34b824’,
},
});

useEffect(() => {
try {
player.load({
url: ‘https://www.cbsnews.com/common/video/cbsn_header_prod.m3u8’,
type: SourceType.HLS, // or SourceType.DASH based on your streaming protocol
title: ‘Live Stream’,
analyticsSourceMetadata: {
videoId: ‘your_video_id’,
title: ‘Live Stream’,
isLive: true,
},
});
} catch (error) {
console.error(‘Error loading live stream:’, error);
}
}, [player]);

// onReady is called when the player has downloaded initial
// video and audio and is ready to start playback.
const onReady = useCallback(
(event) => {
try {
player.play();
} catch (error) {
console.error(“Error in onReady:”, error);
}
},
[player]
);

return (



);

}