Mobile Device Synchronous Audio Video Streaming to Multiple RTMP Servers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current multimedia streaming technologies using mobile devices face challenges in synchronously transmitting audio and video streams to multiple RTMP servers due to high CPU and memory loading, complex compression processes, and limitations in ffmpeg development kits, which prevent simultaneous streaming across multiple servers.
Innovation Solution
A method utilizing separate audio and video controlling modules within a mobile device's hardware abstraction layer to manage and synchronize multimedia streams, employing timestamp correction and shared hardware coding to reduce processing load, and independent thread management for efficient data transmission across multiple servers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If ffmpeg development kit is used for multimedia stream compression and transformation, then digital stream format compliance is achieved, but CPU loading and memory consumption increase significantly
Solution Approach 1:
The patent extracts the complex compression and transformation operations from the mobile device by using ffmpeg to generate a static mapping relationship file offline. This file contains pre-calculated parameter mappings between different video formats, allowing the mobile device to simply perform parameter substitution rather than real-time compression, thereby dramatically reducing CPU and memory usage while maintaining format compliance.
Solution Approach 2:
The patent performs the complex compression and transformation work in advance using ffmpeg on a powerful computer to generate the mapping relationship file. This preliminary action transfers the computational burden from the mobile device to an offline preprocessing stage, enabling the mobile device to achieve format compliance with minimal processing resources.
2Reliability
If ffmpeg development kit is used for multimedia stream processing, then stream format compliance is achieved, but device power consumption increases
Solution Approach 1:
The patent extracts the energy-intensive compression and transformation operations from the mobile device by pre-generating a mapping relationship file using ffmpeg on a powerful computer. This allows the mobile device to perform only lightweight parameter substitution operations, dramatically reducing power consumption while maintaining stream format compliance.
3Productivity
If conventional multimedia stream technology is used, then stream processing is achieved, but synchronous streaming to multiple RTMP servers is impossible
Solution Approach 1:
The patent segments the streaming process into independent parallel threads, each responsible for connecting to and streaming data to a specific RTMP server. This thread-based architecture allows the system to maintain stream processing capability while simultaneously adapting to multiple servers, as each thread operates independently without interfering with others.
Solution Approach 2:
The patent creates a universal streaming framework that can simultaneously stream to multiple RTMP servers with different configurations. The system uses a common mapping relationship file and data source while adapting to different server requirements through parameter substitution, achieving multi-functionality without sacrificing processing efficiency.
4Adaptability or versatility
If ffmpeg kits with huge codes are used, then comprehensive stream processing is achieved, but operation loading on CPU increases
Solution Approach 1:
The patent extracts the complex processing logic from the mobile device by pre-generating a mapping relationship file that contains all necessary parameter mappings. This reduces the operational complexity on the device from implementing full compression algorithms to simply performing parameter substitution, while maintaining comprehensive stream processing functionality through the pre-computed mappings.
Data Source
AI summary
A one-to-multi multimedia stream method separately gets video and audio sources form the video and audio chips of a mobile device and reanalyzes related source data to correct the timestamp of video and audio data to ensure the synchronization of the output video and audio. Thus the incapability caused by not synchronized audio and video in stream decoding server can be solved. The present invention is configured to retrieve video and audio via mobile device without ffmpeg open source kits for format transformation, which greatly reduces operation and power consumption of CPU of mobile phone, and the mobile device can proceed one-to-multi video and audio transmission to a plurality of multimedia stream servers simultaneously.


