WebRTC Browser Media Sharing via ICE Connectivity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current media resource sharing methods, such as server relaying and NAT traversal, face challenges in efficiently sharing large data volumes and limiting the number of devices that can be served simultaneously, leading to increased costs and restricted application ranges due to high server resource occupation and the need for dedicated clients.
Innovation Solution
A media resource sharing method that utilizes Web Real-Time Communication (RTC) standards to establish bidirectional channels between a sharing server and a browser, allowing for ICE connectivity tests and the creation of media channels without requiring a dedicated client, thereby expanding resource sharing capabilities and reducing server resource usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If server relaying mode is adopted for sharing media resources, then media resources can be shared between devices, but server resource occupation increases and the number of simultaneously served devices decreases
Solution Approach 1:
The patent segments the server relaying function into two parts: control signaling relayed through the server, and actual media data transmitted through direct peer-to-peer channels between devices. This segmentation allows the server to handle only lightweight signaling while devices communicate media data directly, dramatically reducing server resource occupation and enabling support for many more simultaneous device connections.
2Adaptability or versatility
If NAT traversal mode with UDP hole-punching is adopted, then media resources can be shared across networks, but dedicated clients are required and application range is limited
Solution Approach 1:
The patent implements WebRTC technology which enables browsers to perform NAT traversal and establish peer-to-peer media channels without requiring dedicated client applications. The browser's built-in WebRTC capabilities provide universal access to media sharing functionality across different devices and operating systems, eliminating the need for platform-specific client software and significantly expanding the application range.
3Reliability
If dedicated clients are used for media resource sharing, then NAT traversal can be achieved, but the application range is restricted
Solution Approach 1:
The patent leverages WebRTC's ability to provide NAT traversal functionality within standard web browsers, making the media sharing capability universally accessible across desktop browsers, mobile browsers, and embedded browsers without requiring dedicated client installations. This universal browser-based approach maintains reliable NAT traversal while dramatically improving device compatibility and expanding the range of accessible devices.
Data Source
Figure 1
Figure 2~3
Figure 4~6
AI summary
Provided are a media resource sharing method, server and system. The media resource sharing method includes that: a sharing server acquires a sharing request from a browser via a bidirectional channel; address information of the sharing server and address information of the browser are acquired according to the sharing request; an Interactive Connectivity Establishment (ICE) connectivity test is performed with the browser according to the acquired address information of the sharing server and the acquired address information of the browser, and a first media channel is established; and media resources are shared with the browser via the first media channel. The universality of sharing the media resources between the server and the browser can be improved, the cost is reduced, and network resources are saved.