<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>iOS &#8211; Bitmovin</title>
	<atom:link href="https://bitmovin.com/tag/ios/feed" rel="self" type="application/rss+xml" />
	<link>https://bitmovin.com</link>
	<description>Bitmovin provides adaptive streaming infrastructure for video publishers and integrators. Fastest cloud encoding and HTML5 Player. Play Video Anywhere.</description>
	<lastBuildDate>Thu, 06 Jul 2023 13:19:57 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://bitmovin.com/wp-content/uploads/2023/11/bitmovin_favicon.svg</url>
	<title>iOS &#8211; Bitmovin</title>
	<link>https://bitmovin.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Everything you need to know about Apple’s new Managed Media Source</title>
		<link>https://bitmovin.com/managed-media-source</link>
					<comments>https://bitmovin.com/managed-media-source#respond</comments>
		
		<dc:creator><![CDATA[Daniel Weinberger]]></dc:creator>
		<pubDate>Tue, 20 Jun 2023 20:15:26 +0000</pubDate>
				<category><![CDATA[VidTech]]></category>
		<category><![CDATA[apple http live streaming]]></category>
		<category><![CDATA[HLS]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[MPEG-DASH]]></category>
		<category><![CDATA[video player]]></category>
		<guid isPermaLink="false">https://bitmovin.com/?p=263117</guid>

					<description><![CDATA[<p>At their 2023 Worldwide Developer conference, Apple announced a new Managed Media Source API. This post will explain the new functionality and improvements over prior methods that will enable more efficient video streaming and longer battery life for iOS devices. Keep reading to learn more. Background and the “old” MSE The first internet videos of...</p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/managed-media-source">Everything you need to know about Apple’s new Managed Media Source</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>At their 2023 Worldwide Developer conference, Apple announced a new Managed Media Source API. This post will explain the new functionality and improvements over prior methods that will enable more efficient video streaming and longer battery life for iOS devices. Keep reading to learn more.</p>



<ul class="wp-block-advgb-summary advgb-toc alignnone"><li class="toc-level-1"><a href="#background-and-the-old-mse-1cc96495-bc68-4157-bbf9-330784b98217">Background and the “old” MSE</a></li><li class="toc-level-1"><a href="#new-managed-media-source-in-safari-17nbsp-fe980bc2-ae6b-4422-871d-05de6ce55e02">New Managed Media Source in Safari 17</a></li><li class="toc-level-1"><a href="#airplay-with-mms-b45e7025-b628-4b3f-a376-1805263f62eb">Airplay with MMS</a></li><li class="toc-level-1"><a href="#migration-from-mse-to-mms-ed4921d7-725c-4010-b3d0-d32af2f44964">Migration from MSE to MMS</a></li><li class="toc-level-1"><a href="#next-steps-55a050bb-c485-4fb1-966f-0c429598f22d">Next Steps</a></li></ul>



<h2 class="wp-block-heading" id="background-and-the-old-mse-1cc96495-bc68-4157-bbf9-330784b98217">Background and the “old” MSE</h2>



<p>The first internet videos of the early 2000s were powered by plugins like Flash and Quicktime, separate software that needed to be installed and maintained in addition to the web browser. In 2010, HTML5 was introduced, with its &lt;video&gt; tag that made it possible to embed video without plugins. This was a much simpler and more flexible approach to adding video to websites, but had some limitations. Apple’s HTTP Live Streaming (HLS) made adaptive streaming possible, but developers wanted more control and flexibility than native HLS offered, like the ability to select media or play DRM-protected content. In 2013, the Media Source Extension (MSE) was published by the <a href="https://www.w3.org/TR/2022/WD-media-source-2-20220921/" rel="nofollow noopener" target="_blank">W3C</a> body, providing a low-level toolkit that gave more control for managing buffering and resolution for adaptive streaming. MSE was quickly adopted by all major browsers and is now the most widely used web video technology…except for on iPhones. MSE has some inefficiencies that lead to greater power use than native HLS and Apple’s testing found that adding MSE support would have meant reducing the battery life, so all the benefits of MSE have been unavailable on iPhone…until now.</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading" id="new-managed-media-source-in-safari-17nbsp-fe980bc2-ae6b-4422-871d-05de6ce55e02">New Managed Media Source in Safari 17</h2>



<p>With MSE, it can be difficult to achieve the same quality of playback possible with HLS, especially with lower power devices and spotty network conditions. This is partly because MSE transfers most control over the streaming of media data from the User Agent to the application running in the page. But the page doesn’t have the same level of knowledge or even goals as the User Agent, and may request media data at any time, often at the expense of higher power usage. To address those drawbacks and combine the flexibility provided by MSE with the efficiency of HLS, Apple created a new Managed Media Source API (MMS).</p>



<figure class="wp-block-image aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://bitmovin.com/wp-content/uploads/2023/06/mms_advantages.png" alt="managed media source advantages: lower power usage, Better memory handling, Less buffer management, Access to 5G connectivity, You are still in control" class="wp-image-263125" width="439" height="384" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/mms_advantages-300x262.png?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/mms_advantages.png?size=384x336&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/mms_advantages.png?lossy=2&amp;strip=1&amp;webp=1 439w" sizes="(max-width: 439px) 100vw, 439px" /><figcaption class="wp-element-caption">Advantages of Managed Media Source over MSE.<br>  Image source: WWDC23 presentation</figcaption></figure>



<p>The new &#8220;managed&#8221; MediaSource gives the browser more control over the MediaSource and its associated objects. It makes it easier to support streaming media playback on mobile devices, while allowing User Agents to react to changes in memory usage and networking capabilities. MMS can reduce power usage by telling the webpage when it&#8217;s a good time to load more media data from the network. When nothing is requested, the cellular modem can go into a low power state for longer periods of time, increasing battery life. When the system gets into a low memory state, MMS may clear out buffered data as needed to reduce memory consumption and keep operations of the system and the app stable. MMS also tracks when buffering should start and stop, so the browser can detect low buffer and full buffer states for you. Using MMS will save your viewers bandwidth and battery life, allowing them to enjoy your videos for even longer.&nbsp;</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading" id="airplay-with-mms-b45e7025-b628-4b3f-a376-1805263f62eb">Airplay with MMS</h2>



<p>One of the great things about native HLS support in Safari is the automatic support for AirPlay that lets viewers stream video from their phone to compatible Smart TVs and set top boxes. Airplay requires a URL that you can send, but that doesn&#8217;t exist in MSE, making them incompatible. But now with MMS, you can add an HLS playlist to a child source element for the video, and when the user AirPlays your content, Safari will switch away from your Managed Media Source and play the HLS stream on the AirPlay device. It’s a slick way to get the best of both worlds.</p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="826" height="295" src="https://bitmovin.com/wp-content/uploads/2023/06/airplay_code.jpg" alt="code snippet for adding AirPlay support when using Managed Media Source" class="wp-image-263130" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/airplay_code-300x107.jpg?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/airplay_code.jpg?size=384x137&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/airplay_code-768x274.jpg?lossy=2&amp;strip=1&amp;webp=1 768w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2023/06/airplay_code.jpg?lossy=2&amp;strip=1&amp;webp=1 826w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption class="wp-element-caption">Code snippet for adding AirPlay Support with Managed Media Source. Image source: WWDC23 presentation </figcaption></figure>



<p></p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading" id="migration-from-mse-to-mms-ed4921d7-725c-4010-b3d0-d32af2f44964">Migration from MSE to MMS</h2>



<p>The Managed Media Source is designed in a backwards compatible way. This means that changing the code from creating a <strong>MediaSource</strong> object to creating a <strong>ManagedMediaSource</strong> object after checking if the API is available is the first step:</p>



<pre class="wp-block-code"><code>function getMediaSource() {
    if (window.ManagedMediaSource) {
        return new window.ManagedMediaSource();
    }
    if (window.MediaSource) {
        return new window.MediaSource();
    }

    throw “No MediaSource API available”;
}
const mediaSource = getMediaSource();
</code></pre>



<p>As the MMS supports all methods the “old” MSE does, this is all to get you started, but doesn’t unleash the full power of this new API. For that, you need to handle different new events:</p>



<pre class="wp-block-code"><code>mediaSource.addEventListener(“startstreaming”, onStartStreamingHandler);</code></pre>



<p>The <strong>startstreaming</strong> event indicates that more media data should now be loaded from the network.</p>



<pre class="wp-block-code"><code>mediaSource.addEventListener(“endstreaming”, onStopStreamingHandler);</code></pre>



<p>The <strong>endstreaming</strong> event is the counterpart of <strong>startstreaming</strong> and signals that for now no more media data should be requested from the network. This status can also be checked via the <strong>streaming</strong> attribute on the MMS instance. On devices like iPhones (once fully available) and iPad, requests that follow these two hints benefit from the fast 5G network and allows the device to get into low power mode in between request batches.</p>



<p>In addition, the current implementation also offers hints about a preferred, suggested quality to download. The browser suggests if a <strong>high</strong>, <strong>medium</strong>, or <strong>low</strong> quality should be requested. The user agent may base this on facts like network speed, but also additional details like user settings about enabled data saver modes. This can be read from the MMS instance’s <strong>quality</strong> property and any change is signaled via an <strong>qualitychange</strong> event:</p>



<pre class="wp-block-code"><code>mediaSource.addEventListener(“qualitychange”, onQualityChangeHandler);</code></pre>



<p>It remains to be seen if the quality hint will still be available in the future as it offers some risk of fingerprinting.</p>



<p>As the MMS may remove any date range at any given time (as opposed to the MSE’s behavior where this could only happen during the process of appending data), it is strongly recommended to check if the data needed next is still present or needs to be re-downloaded.</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading" id="next-steps-55a050bb-c485-4fb1-966f-0c429598f22d">Next Steps</h2>



<p>Managed Media Source is already available in the current Safari Tech Preview on macOS and Safari 17 on iPadOS 17 beta and can be enabled as an experimental feature on iOS 17 beta. Once generally available on iOS, without being an experimental feature, this will finally bring lots of flexibility and choices to Safari, other browsers, and Apps with WebViews on iOS. It would even be possible to finally support DASH streams on iOS, while keeping web apps power efficient.&nbsp;</p>



<p>Apple has already submitted the <a href="https://github.com/w3c/media-source/issues/320" rel="nofollow noopener" target="_blank">proposal of the Managed Media Source API</a> to the World Wide Web Consortium (W3C), which is under discussion and might lead to an open standard other browser vendors could adopt.</p>



<p>Bitmovin will be running technical evaluations to fully explore and understand the benefits of MMS, including how it performs in various real-world environments. We will closely follow the progress from Apple and consider introducing support for MMS into our Web Player SDK once it advances from being an experimental feature on iOS. Stay tuned!</p>



<p>If you’re interested in more detail, you can watch the replay of the media formats section from WWDC23 <a href="https://developer.apple.com/videos/play/wwdc2023/10122/" rel="nofollow noopener" target="_blank">here</a> and read the release notes for <a href="https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes#New-Features" rel="nofollow noopener" target="_blank">Safari 17 beta</a> and <a href="https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-17-release-notes#New-Features" rel="nofollow noopener" target="_blank">iOS &amp; iPadOS 17 beta</a>.&nbsp;You can also check out our MSE <a href="https://github.com/bitmovin/mse-demo" rel="nofollow noopener" target="_blank">demo code</a> and our <a href="https://bitmovin.com/developing-video-player-with-structured-concurrency/">blog</a> about developing a video player with structured concurrency.</p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/managed-media-source">Everything you need to know about Apple’s new Managed Media Source</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bitmovin.com/managed-media-source/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Test Your Streams in Our Player on iOS and Android with the Bitmovin Mobile Apps</title>
		<link>https://bitmovin.com/test-streams-player-ios-android-bitmovin-mobile-apps</link>
		
		<dc:creator><![CDATA[Mario Graf]]></dc:creator>
		<pubDate>Fri, 24 Aug 2018 11:20:47 +0000</pubDate>
				<category><![CDATA[Product Updates]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iOS]]></category>
		<guid isPermaLink="false">http://bitmovin.com/?p=24116</guid>

					<description><![CDATA[<p>Quickly and easily check your video streams in our Native SDKs with the Bitmovin mobile apps using your own streams, DRM licenses and Ad servers If you are considering using the Bitmovin Player in your native app then the first thing you should do is download the Android and/or the iOS Bitmovin app to get...</p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/test-streams-player-ios-android-bitmovin-mobile-apps">Test Your Streams in Our Player on iOS and Android with the Bitmovin Mobile Apps</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-24120" src="https://bitmovin.com/wp-content/uploads/2018/08/Main-Images-DemoAppUI-1.jpg" alt="- Bitmovin" width="800" height="400"></p>
<blockquote><p>Quickly and easily check your video streams in our Native SDKs with the Bitmovin mobile apps using your own streams, DRM licenses and Ad servers</p></blockquote>
<p>If you are considering using the Bitmovin Player in your native app then the first thing you should do is download the Android and/or the iOS Bitmovin app to get a feeling for what you can expect from the Bitmovin Player when you integrate it into your own app. Our freshly redesigned apps are built specifically to help you to quickly and easily assess and test the Bitmovin Player before you invest time into integration.<br />
Answer questions like: Will your streams play in the Bitmovin Player on Android and iOS? How does DRM work? What are the advertising capabilities and how are they configured? Can you style the UI to fit your brand? All of these questions can be answered in a few minutes using your own streams, DRM licenses and ad sources so you can be sure that the Bitmovin Player is the right player to integrate into your project.</p>
<div style="text-align: center; margin-bottom: 50px;">
<h3>Download the App now:</h3>
<p>&nbsp;</p>
<div style="text-align: center;"><a style="display: inline-block;" href="https://itunes.apple.com/us/app/bitmovin-player/id1245174386?mt=8" target="_blank" rel="noopener noreferrer nofollow"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-24208" src="https://bitmovin.com/wp-content/uploads/2018/08/button-download-app-store.png" alt="- Bitmovin" width="192" height="60"></a>      <a style="display: inline-block;" href="https://play.google.com/store/apps/details?id=com.bitmovin.playerdemo&amp;hl=en_US" target="_blank" rel="noopener noreferrer nofollow"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-24209" src="https://bitmovin.com/wp-content/uploads/2018/08/button-download-google-play.png" alt="- Bitmovin" width="192" height="60"></a></div>
<p>and follow along on our brief product tour.
</p></div>
<p>&nbsp;</p>
<div style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-24143" style="border: 1px solid #d6d6d6; margin: 0 auto;" src="https://bitmovin.com/wp-content/uploads/2018/08/home-screen-1-355x1024.png" alt="- Bitmovin" width="355" height="1024"></div>
<h2>Product Tour: How to Test Video in your Mobile App with Bitmovin SDKs</h2>
<p>When you enter the app, one of the easiest ways to get started is to test your video stream in the Bitmovin Mobile Player, seeing if our mobile SDKs will support your stream. Hit “Own Stream” and copy and paste your file URL in the Stream Section at the top. After you hit “Play” you’ll see your video instantly play in the Bitmovin Player.<br />
You can also check your stream for your web version here: <a href="https://bitmovin.com/demos/stream-test" target="_blank" rel="noopener noreferrer">Stream Test for DASH, HLS and Progressive</a></p>
<div style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-24143" style="border: 1px solid #d6d6d6; margin: 0 auto;" src="https://bitmovin.com/wp-content/uploads/2018/08/video-details-1-1-576x1024.png" alt="- Bitmovin" width="400" height="711"></div>
<h2><a href="https://bitmovin.com/demos/player-ui-styling" target="_blank" rel="noopener noreferrer">UI Styling</a></h2>
<p>A unified user interface ensures that your player will look the same across devices while maintaining brand standards. When you try our streaming video demos, you’ll see a customization option on the “Video Details” screen labeled, “Theme.” Select this option on the bottom left, and you’ll be able to apply a skin that changes the color of the user interface. An added benefit? This styling is enabled via CSS, meaning your developers won’t or devote additional time to custom projects.<br />
<i>Please note, our app is an easily customizable with fully maintained code that you can build your mobile video experience on, but if you’d like to vary the look, feel, and functionality of your mobile app, we do offer sample open-source code. Developers can completely customize apps using our open source video projects.</i></p>
<div style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-24140" style="border: 1px solid #d6d6d6; margin: 0 auto;" src="https://bitmovin.com/wp-content/uploads/2018/08/drm-scheme-1-576x1024.png" alt="- Bitmovin" width="400" height="711"></div>
<h2><a href="https://bitmovin.com/demos/drm" target="_blank" rel="noopener noreferrer">DRM Stream Test</a></h2>
<p>Back in the streaming test area, labeled “Own Stream” there are other options for you to try. Security is paramount to many of our customers, so we’ve made it easy to test an encrypted DRM stream live. Simply copy and paste your license or certificate URL to see if your DRM system and codecs are supported. Integrating DRM into your mobile video app workflow is much easier than you think, and you’re always protected. (<a href="https://bitmovin.com/state-web-drm-whitepaper/">Download our DRM Whitepaper</a> or watch our Webinar: <a href="https://bitmovin.com/drm-basics-with-irdeto-bitmovin/">DRM Basics with Irdeto &amp; Bitmovin</a>)</p>
<div style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-24142" style="border: 1px solid #d6d6d6; margin: 0 auto;" src="https://bitmovin.com/wp-content/uploads/2018/08/schedule-ad-1-576x1024.png" alt="- Bitmovin" width="400" height="711"></div>
<h2><a href="https://bitmovin.com/demos/ad-scheduling" target="_blank" rel="noopener noreferrer">Ad Scheduling</a></h2>
<p>Also within the area of the app labeled “Own Stream” is our mobile ad scheduling demo. Test our seamless ad insertion and see how our app easily integrates with different advertising standards (VAST, VPAID, IMA, and VMAP). At the bottom of your screen, hit the “+” next to “Schedule Ad” and you’ll be able to set the position and location of your video advertisement. Then, paste the URL and then hit “Play” to see your ad inserted into our standard demo video at the time and location you requested. Push the test to the limits and schedule up to three ads at any time.</p>
<div style="text-align: center;"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-24137" style="border: 1px solid #d6d6d6; margin: 0 auto;" src="https://bitmovin.com/wp-content/uploads/2018/08/cast-1-576x1024.png" alt="- Bitmovin" width="400" height="711"></div>
<h2><a href="https://bitmovin.com/demos/chromecast" target="_blank" rel="noopener noreferrer">Chromecast</a> and iOS Airplay</h2>
<p>On the “Video Details” screen where you previously analyzed the essential properties of your files and played around with different themes, there is another Bitmovin application to try out! More users are discovering and watching videos on their phones, but sometimes going fullscreen isn’t enough- they want to share these experiences with those around them. This is where video casting and mirroring services like Chromecast and Airplay come in handy. When testing our mobile video app, throw your video stream up on a connected TV in your workplace by simply hitting the “Cast” or “Airplay” button. After confirming the TV name and network, your content will play on a larger screen with quality and resolution intact.</p>
<h2>Which Video App Demos Should You Try First?</h2>
<p>Testing functionality is a vital part of the development process. But when figuring out <a href="https://bitmovin.com/how-to-build-out-video-capabilities-for-your-app/" target="_blank" rel="noopener noreferrer">how to add video capabilities</a>, you’ll want to “try before you buy” so that you and your team see results before investing. If you’re in Marketing, make sure to try our UI styling demo. If you’re in Media, the Ad Scheduler and AirPlay functionalities may be attractive. Don’t be shy, get in there and play around! Make it a collaborative group activity at your next stand-up. We’ll be here to answer any questions you may have along the way.<br />
Remember, mobile app development can already be a costly undertaking. And now, to stay competitive, your business needs video too. Giving your developers the best tools is a no-brainer, but project delays are inevitable when you develop everything in-house. Using video SDKs, your business becomes more efficient and can better service customers long-term. When customers have a fantastic experience (and spend more time in your app,) advertisers and investors are happy too!</p>
<h3 style="text-align: center;">See It For Yourself:</h3>
<p>&nbsp;</p>
<div style="text-align: center;"><a style="display: inline-block;" href="https://itunes.apple.com/us/app/bitmovin-player/id1245174386?mt=8" target="_blank" rel="noopener noreferrer nofollow"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-24208" src="https://bitmovin.com/wp-content/uploads/2018/08/button-download-app-store.png" alt="- Bitmovin" width="192" height="60"></a>      <a style="display: inline-block;" href="https://play.google.com/store/apps/details?id=com.bitmovin.playerdemo&amp;hl=en_US" target="_blank" rel="noopener noreferrer nofollow"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-24209" src="https://bitmovin.com/wp-content/uploads/2018/08/button-download-google-play.png" alt="- Bitmovin" width="192" height="60"></a></div>
<p>The post <a rel="nofollow" href="https://bitmovin.com/test-streams-player-ios-android-bitmovin-mobile-apps">Test Your Streams in Our Player on iOS and Android with the Bitmovin Mobile Apps</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How the iOS 11 Release with HLS/HEVC Support will Help to Save Storage &#038; CDN Costs</title>
		<link>https://bitmovin.com/ios-11-release-hlshevc-support-will-help-save-storage-cdn-costs</link>
		
		<dc:creator><![CDATA[Mario Graf]]></dc:creator>
		<pubDate>Tue, 12 Sep 2017 09:40:33 +0000</pubDate>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[video encoding]]></category>
		<guid isPermaLink="false">http://bitmovin.com/?p=21463</guid>

					<description><![CDATA[<p>At WWDC17 Apple presented updates and new features that will be available to their products soon including HEVC in HLS This year Apple announced support for HEVC/H.265 for macOS High Sierra and iOS11. The release of iOS 11 is expected to happen soon after Apple&#8217;s iPhone 8 launch event on September 12th. Considering the fact...</p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/ios-11-release-hlshevc-support-will-help-save-storage-cdn-costs">How the iOS 11 Release with HLS/HEVC Support will Help to Save Storage &#038; CDN Costs</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><script src="https://bitmovin-a.akamaihd.net/bitmovin-player/stable/7/bitmovinplayer.js"></script><br />
<img loading="lazy" decoding="async" class="size-full wp-image-21485 alignnone" src="https://bitmovin.com/wp-content/uploads/2017/09/1200-feature-HEVC.jpg" alt="- Bitmovin" width="1200" height="600" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/1200-feature-HEVC-300x150.jpg?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/1200-feature-HEVC.jpg?size=384x192&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/1200-feature-HEVC-768x384.jpg?lossy=2&amp;strip=1&amp;webp=1 768w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/1200-feature-HEVC-1024x512.jpg?lossy=2&amp;strip=1&amp;webp=1 1024w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/1200-feature-HEVC.jpg?lossy=2&amp;strip=1&amp;webp=1 1200w" sizes="(max-width: 1200px) 100vw, 1200px" /></p>
<blockquote><p>At WWDC17 Apple presented updates and new features that will be available to their products soon including HEVC in HLS</p></blockquote>
<p>This year Apple announced <a href="https://bitmovin.com/wwdc17-hevc-hls-apple-just-announced-feature-support-box/" target="_blank" rel="noopener noreferrer">support for HEVC/H.265 for macOS High Sierra and iOS11</a>. The release of iOS 11 is expected to happen soon after Apple&#8217;s iPhone 8 launch event on September 12th. Considering the fact that iOS users usually upgrade their system pretty fast, HEVC playback will soon be available on hundreds of million devices. This is evident, as only five months after iOS 10 was released to the public, it was installed on about <a href="https://www.macrumors.com/2017/02/22/ios-10-nearly-80-percent-adoption/" target="_blank" rel="noopener noreferrer nofollow">80% of active iOS devices</a>. In January 2016 Apple <a href="https://www.macrumors.com/2016/01/26/apple-1-billion-active-device-installed-base/" target="_blank" rel="noopener noreferrer nofollow">announced it had over 1 billion active iOS devices</a>. There was no updated number after that, however, when considering Apple is selling tens of millions of iOS devices each quarter, it&#8217;s reasonable to assume the total is above 1 billion by now.<br />
That are numbers too large to be ignored considering the fact that HEVC/H.265 can reach up to 50% bitrate savings compared to AVC/H.264 according to <a href="https://medium.com/netflix-techblog/a-large-scale-comparison-of-x264-x265-and-libvpx-a-sneak-peek-2e81e88f8b0f" target="_blank" rel="noopener noreferrer nofollow">Netflix’s experiments</a>. This will allow to stream better quality to customers and saves storage and CDN costs for content providers.<br />
The following image shows a quality comparison between HEVC/H.265 and AVC/H.264 encoded at 1000kbps. The quality improvement is clearly visible as there are multiple encoding artifacts visible in the AVC/H.264 version. Also if you look at the details of the coat or the lines in the background one can clearly see how HEVC/H.265 manages to preserve more details.<br />
<a href="https://bitmovin.com/wp-content/uploads/2017/09/comparison_1000kbps.jpg"><img loading="lazy" decoding="async" class="wp-image-21492 size-large alignnone" src="https://bitmovin.com/wp-content/uploads/2017/09/comparison_1000kbps-1024x427.jpg" alt="- Bitmovin" width="1024" height="427" srcset="https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps-300x125.jpg?lossy=2&amp;strip=1&amp;webp=1 300w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps.jpg?size=384x160&amp;lossy=2&amp;strip=1&amp;webp=1 384w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps-768x320.jpg?lossy=2&amp;strip=1&amp;webp=1 768w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps-1024x427.jpg?lossy=2&amp;strip=1&amp;webp=1 1024w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps-1536x640.jpg?lossy=2&amp;strip=1&amp;webp=1 1536w, https://b3148424.smushcdn.com/3148424/wp-content/uploads/2017/09/comparison_1000kbps.jpg?lossy=2&amp;strip=1&amp;webp=1 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<h2>Multi Codec Streaming</h2>
<p>With Bitmovin you can encode content with different codecs like AVC/H.264, HEVC/H.265, <a href="https://bitmovin.com/mpeg-dash-vp9-vod-live/" target="_blank" rel="noopener noreferrer">VP9</a>, and <a href="https://bitmovin.com/bitmovin-supports-av1-encoding-vod-live-joins-alliance-open-media/" target="_blank" rel="noopener noreferrer">recently also AV1</a>. This allows to use the best codec for the platform when streaming content to your users. HEVC/H.265 and VP9 are more efficient than AVC/H.264 allowing to deliver higher quality with the same bitrate, or save costs by delivering similar quality to less bandwidth. VP9 is supported on Google Chrome, Firefox and Android devices which allows you to stream VP9 to about 70% of your users. For Safari there was still the need to use AVC/H.264 until now. Having the fast adoption rates for new iOS versions in mind, it is expected for iOS 11 to be installed on the vast majority of iOS devices soon, allowing to save bandwidth, storage and CDN costs by utilizing its HEVC/H.265 support.<br />
Generating HEVC/H.265 content with fMP4 segments works out-of-the-box for HLS with Bitmovin as we do that today for HEVC MPEG-DASH content already. The trick to make it available as an HLS asset is just to reference the segments in the HLS playlist files in the same way as we do it today with fMP4 in HLS.</p>
<h2>Playback of HLS with HEVC</h2>
<p>With the <a href="https://bitmovin.com/video-player-datasheet/">Bitmovin Player</a> you can deliver HEVC based HLS streams to a wide range of supported devices, enabling you to provide a better video quality to your customers, or to save storage and CDN costs by delivering the same video quality at significantly lower <a href="https://go.bitmovin.com/per-title-ladder-benchmark-tool">bitrates</a>.<br />
No matter if you build native iOS applications using our iOS SDK, or if you want to enable HLS HEVC playback in the browser, the Bitmovin Player provides you broad device and platform coverage for HLS content encoded with HEVC. Besides playback of HEVC based HLS streams in Safari on macOS High Sierra and iOS, the web-based Bitmovin Player is also able to play those streams on any browser which comes with built in HEVC support like the Microsoft Edge Browser.<br />
If you have iOS 11 already installed on your device, you can test any HLS HEVC stream in our <a href="https://itunes.apple.com/us/app/bitmovin-player/id1245174386" target="_blank" rel="noopener noreferrer nofollow">iOS SDK demo application available in the App Store</a>. With macOS High Sierra or iOS 11 installed, you can also test your streams in Safari using our <a href="https://bitmovin.com/hls-mpeg-dash-test-player/" target="_blank" rel="noopener noreferrer">online demo section</a>.</p>
<h2>Test Vectors</h2>
<p>There are a few ways to deliver HEVC content to users:</p>
<ol>
<li>HEVC in HLS using MPEG-2 Transport Stream chunks, which Apple doesn’t support,</li>
<li>HEVC in HLS using fMP4 segments, which is what Apple announced on WWDC17 and our player supports,</li>
<li>HEVC in MPEG-DASH using fMP4 segments.</li>
</ol>
<p>All of these options can already be created using the Bitmovin Encoder. For playback, it depends on the HEVC support in the browser. Obviously, Apple added this for Safari on macOS 11 and High Sierra, but also Edge on Windows 10 already supports it. HEVC can be streamed using HLS or MPEG-DASH to Edge with the Bitmovin Player.<br />
We provide test vectors for the three above mentioned types for public testing:</p>
<ul>
<li><a href="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" rel="nofollow noopener" target="_blank">HEVC HLS with fMP4</a></li>
<li><a href="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream.mpd" rel="nofollow noopener" target="_blank">HEVC MPEG-DASH</a></li>
</ul>
<p>Beside HEVC/H.265 we can also encode the same asset to AVC/H.264 and <a href="https://bitmovin.com/mpeg-dash-vp9-vod-live/" target="_blank" rel="noopener noreferrer">VP9 which we introduced earlier this year</a>. With this configuration you can deliver the best codec to every device, improving quality and save costs. VP9 is supported on multiple platforms including Google Chrome, Firefox and Android devices and thus by about 70% of your users. Take in consideration that with VP9 you can save up to 50% on bitrate delivering similar quality you could save about 35% on CDN costs.<br />
Here are some more test vectors including the VP9 codec:</p>
<ul>
<li><a href="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/stream.mpd" target="_blank" rel="noopener noreferrer nofollow">Multi-Codec (AVC/H.264, HEVC/H.265, VP9)</a></li>
<li><a href="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/stream_vp9.mpd" target="_blank" rel="noopener noreferrer nofollow">VP9</a></li>
</ul>
<h2>Demo for HEVC HLS:</h2>
<div id="player"></div>
<p><script type="text/javascript"><br />
var conf = {<br />
    key: '89f6ed6c-ab0e-46c2-ac47-5665e60c3c41',<br />
    source: {<br />
      title: 'Art of Motion - HEVC HLS',<br />
      hls: 'https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8',<br />
      poster: 'https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/art-of-motion_poster.jpg',<br />
      tracks: [{<br />
        file: 'https://bitdash-a.akamaihd.net/content/MI201109210084_1/thumbnails/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.vtt',<br />
        kind: 'thumbnails'<br />
      }]<br />
    },<br />
    cast: {<br />
      enable: true<br />
    },<br />
    events: {<br />
      onWarning: function(param) {<br />
        if (param && param.code === 5002) {<br />
          showMessage();<br />
        }<br />
      }<br />
    }<br />
  };<br />
  function supportsHevcHls() {<br />
    // iPhone user agent string:<br />
    // 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.21 (KHTML, like Gecko) Version/10.0 Mobile/15A5278f Safari/602.1'<br />
    var probablyiOS11 = navigator.userAgent.match(/iPhone OS ([0-9]+)/i);<br />
    if (probablyiOS11 && probablyiOS11.length >= 2 && !isNaN(probablyiOS11[1])) {<br />
      var iOSMajorVersion = parseInt(probablyiOS11[1]);<br />
      if (iOSMajorVersion >= 11) {<br />
        return true;<br />
      }<br />
    }<br />
    return window.MediaSource && MediaSource.isTypeSupported('video/mp4; codecs="hvc1.1.c.L93.90,mp4a.40.2"');<br />
  }<br />
  function showMessage() {<br />
    console.warn('No HEVC support as it seems :( Please try Safari/macOS High Sierra, Safari/iOS 11 or Edge/Windows 10');<br />
    bitmovin.player().fireEvent('onError', {<br />
      message: 'This browser/OS does not support HEVC HLS. Please try in Safari on macOS High Sierra or iOS 11, or in Edge on Windows 10 (with hardware decoder present in the device).'<br />
    });<br />
  }<br />
  var player = bitmovin.player('player');<br />
  player.setup(conf).then(function(response) {<br />
    if (!supportsHevcHls()) {<br />
      showMessage();<br />
    }<br />
  }, function(reason) {<br />
    console.error('player setup failed');<br />
    console.error(reason);<br />
  });<br />
</script></p>
<p>The post <a rel="nofollow" href="https://bitmovin.com/ios-11-release-hlshevc-support-will-help-save-storage-cdn-costs">How the iOS 11 Release with HLS/HEVC Support will Help to Save Storage &#038; CDN Costs</a> appeared first on <a rel="nofollow" href="https://bitmovin.com">Bitmovin</a>.</p>
]]></content:encoded>
					
		
		<enclosure url="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" length="1293" type="application/vnd.apple.pages" />
<enclosure url="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" length="1293" type="application/vnd.apple.pages" />
<enclosure url="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" length="1293" type="application/vnd.apple.pages" />
<enclosure url="https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" length="1293" type="application/vnd.apple.pages" />

			</item>
	</channel>
</rss>
