Plugin-Free Streaming Media Playback Mode Determination
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing plugin-free playback modes for streaming media data in browsers are limited to specific types and encoding formats, restricting the ability to play back diverse streaming media data without compromising safety from potential attacks through plugins.
Innovation Solution
An electronic device determines a plugin-free playback mode based on the encoding format and streaming media type of incoming streaming media data packets, using compiled decoders and inbuilt browser labels to decode and render different types of media, such as H.265 and H.264 formats, and audio or video data, ensuring compatibility and security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a plugin-free playback mode is pre-configured in an electronic device, then security against plugin attacks is improved, but the ability to play back diverse streaming media data with different types and encoding formats deteriorates
Solution Approach 1:
The patent implements dynamic determination of playback modes based on the characteristics of incoming streaming media data. The electronic device analyzes the encoding format and media type of each data packet and automatically selects the appropriate playback mode (such as MSE, JSDecoder, or native playback), transforming the static pre-configured playback mode into a dynamic adaptive system that maintains both security and compatibility.
Solution Approach 2:
The system changes playback parameters (playback mode selection) based on the encoding format and media type parameters of the streaming data. By detecting parameters like H.264/H.265 encoding formats and media types (video/audio), the system adjusts the playback mode accordingly, enabling support for diverse media formats while maintaining plugin-free security.
2Adaptability or versatility
If multiple playback modes are supported for different streaming media types, then playback compatibility is improved, but system complexity increases
Solution Approach 1:
The patent segments the playback system into multiple independent playback modes (MSE playback mode, JSDecoder playback mode, native playback mode), each optimized for specific encoding formats and media types. This segmentation allows the system to handle different streaming media formats through dedicated playback pathways, improving compatibility while managing complexity through modular design.
Solution Approach 2:
The patent introduces a playback mode determination module as an intermediary that automatically selects the appropriate playback mode based on the characteristics of the streaming media data. This intermediary component simplifies the overall system architecture by centralizing the decision-making logic, preventing the need for complex manual configuration and reducing system complexity despite supporting multiple playback modes.
Data Source
AI summary
The present disclosure provides a method and an apparatus for determining a playback mode. The method includes: obtaining a streaming media data packet; where the streaming media data packet includes at least an encoding format and a streaming media type of streaming media data; the streaming media type includes at least one of a video media type or an audio video media type; and determining, according to the encoding format and the streaming media type of the streaming media data, a plugin-free playback mode for playing back the streaming media data.


