Video Screen Projection Mode Switching to Avoid Mirroring Artifacts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing wireless projection technologies in electronic devices often suffer from issues such as freezing, screen distortion, and audio-visual unsynchronization during system-mirrored screen projection, leading to a poor projection experience.
Innovation Solution
Implementing a method that switches from system-mirrored screen projection to Digital Living Network Alliance (DLNA) screen projection when a video is played back, using device information like IP address, MAC address, UUID, and device name to ensure smooth and clear video projection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If system-mirrored screen projection is used to display video on external device, then wireless projection functionality is achieved, but video playback quality deteriorates due to freezing, screen distortion, and audio-visual unsynchronization
Solution Approach 1:
The system dynamically switches between two projection modes: system-mirrored screen projection for general display needs and DLNA screen projection for video playback. The switching is triggered automatically when video playback is detected, allowing the system to adapt its projection behavior based on the current task to maintain both functionality and quality
Solution Approach 2:
The invention changes the projection parameter from system-mirrored mode to DLNA mode specifically for video playback. This parameter change involves switching the data transmission method and projection protocol, which resolves the quality issues of freezing and distortion while maintaining wireless projection capability
2Speed
If system-mirrored screen projection is used, then real-time display interface projection is achieved, but video playback experiences black borders and poor projection effect
Solution Approach 1:
The system dynamically adjusts its projection mode based on the content being displayed. For video playback, it switches to DLNA mode which provides better image quality without sacrificing real-time playback capability, thereby resolving the contradiction between speed and precision
3Adaptability or versatility
If system-mirrored screen projection is implemented, then wireless display projection is achieved, but additional user operations are required to switch projection modes
Solution Approach 1:
The system automatically detects when video playback is occurring and autonomously switches from system-mirrored projection to DLNA projection without requiring user intervention. This self-service approach eliminates the need for manual mode switching while maintaining projection adaptability
Solution Approach 2:
The system implements feedback mechanisms to detect video playback state and automatically triggers the projection mode switch. This feedback loop allows the system to respond to user needs automatically, improving ease of operation while preserving adaptability
Data Source
AI summary
Embodiments of this application provide a screen projection method for an electronic device and an electronic device. The method includes: receiving an operation that the electronic device plays back a video, and obtaining a state identifier of the electronic device, where the state identifier indicates whether the electronic device is in a state of system-mirrored screen projection; determining, based on the state identifier, that the electronic device is not in the state of the system-mirrored screen projection; receiving a screen projection operation by a user, and obtaining first device information of a screen projection device; and performing DLNA screen projection from the electronic device to the screen projection device based on the first device information.


