Azure Media Services
Azure Media Services is a cloud-based platform designed for building scalable media management and delivery applications. It’s ideal for developers looking to create applications similar to video streaming platforms like DailyMotion. The service leverages REST APIs to enable secure media management and delivery.
Key Features
- Upload and Store: Securely upload and store video and audio content.
- Encoding: Encode media files for both on-demand and live streaming delivery.
- Delivery: Stream content to various clients, including TVs, PCs, and mobile devices.
Media Services Concepts
- Assets: Represents digital files along with their metadata. These files can include audio, video, or images.
- AssetFile: Contains metadata about a specific media file within an asset.
- AccessPolicy: Defines permissions and access duration for an asset.
- Locators: Provide entry points to access the files contained in an asset.
- Job: Used to process one audio or video presentation.
- Channels: Manage the processing of live streaming content, providing an input endpoint for live transcoders.
- Program: Controls the publishing and storage of segments in a live stream.
- Streaming Endpoint: Represents a service that delivers streamed content.
Architecture of Media Services
Delivering On-Demand Content
- Upload: Upload a high-quality media file into an asset.
- Encoding: Encode the media file into a set of adaptive bitrate MP4 files.
- Configure Delivery Policy: Set up how assets should be delivered, specifying the protocol.
- Publish: Create an on-demand locator to publish the asset and stream the content.
Live Streaming
- Broadcasting: Use various live streaming protocols to broadcast live content.
- Encoding: Encode the live stream into an adaptive bitrate stream.
- Preview: Preview the live stream before delivering it.
- Delivery: Deliver content through common streaming protocols such as Smooth Streaming and HLS (HTTP Live Streaming).
Azure Search
Azure Search is a cloud-based Search-as-a-Service solution that enables developers to add robust search capabilities to applications through a simple REST API or .NET SDK. It eliminates the need for managing search infrastructure while providing powerful search functionalities.
Key Features
- Powerful Queries: Supports complex queries to retrieve relevant search results.
- Multi-Language Support: Facilitates searche
- s across different languages, enhancing accessibility.
- Search Suggestions: Provides real-time search suggestions to users as they type.
- Hit Highlighting: Highlights search terms in the results to improve visibility and relevance.
- Faceted Navigation: Enables users to filter search results based on categories or attributes.
Use Cases for Azure Search
- Embedding a Search Engine: Create a cloud-based search engine that can be easily integrated into web applications.
- Enhanced User Experience: Improve the search experience for users by providing relevant search results quickly and efficiently.
- Multi-Language Applications: Support global applications with multi-language search capabilities.