Media Session State Management Across Disconnects
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing media session management systems struggle with efficiently handling multiple media streams, managing stream states, and maintaining user session data across device connections and disconnections.
Innovation Solution
A system and method that include a computer programmed to receive multiple media streams from media capture devices, manage stream states including active and potential states, disconnect from a client device, and upon reconnecting, provide the media streams and state data to the client device, allowing for seamless session management and user interface restoration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the system manages multiple media streams and maintains session data across connections, then user experience and session reliability are improved, but system complexity increases
Solution Approach 1:
The system segments media stream management by maintaining separate state data structures for different media streams (active stream state, potential stream state, discarded stream state). This allows independent tracking and management of each stream's lifecycle, improving reliability without requiring a monolithic complex system.
Solution Approach 2:
The system performs preliminary actions by pre-establishing state data structures and connection tracking mechanisms before actual media streaming occurs. The server maintains ready-to-transfer state information about media streams and connections, enabling rapid session restoration upon reconnection without complex real-time negotiation.
2Manufacturing precision
If the system tracks and restores media stream states upon reconnection, then session restoration accuracy is improved, but data management complexity increases
Solution Approach 1:
The system applies local quality by maintaining specific state characteristics for different media stream states (active, potential, discarded). Each state type has dedicated tracking parameters (e.g., media stream identifier, connection identifier, state flag), allowing precise restoration of the correct stream state without managing all possible states uniformly.
Solution Approach 2:
The system creates copies of state data (session state data structures containing media stream identifiers, connection identifiers, and state flags) that can be transferred between server and client upon reconnection. This copying mechanism enables accurate session restoration by replicating the exact state configuration without requiring complex state reconstruction algorithms.
3Productivity
If the system disconnects and reconnects to client devices, then resource efficiency is improved, but session data loss risk increases
Solution Approach 1:
The system provides beforehand cushioning by maintaining persistent session state data on the server side that survives connection disconnections. The server retains media stream state information, connection identifiers, and stream configuration data, cushioning against data loss during disconnect/reconnect cycles without requiring continuous client-server synchronization.
Solution Approach 2:
The system implements feedback mechanisms where the server sends session state data back to the client upon reconnection, and the client confirms receipt and restoration of media stream states. This feedback loop ensures that session data is not lost during disconnection by verifying successful state transfer and restoration.
Data Source
AI summary
A system includes a computer that is programmed to receive one or more media streams, each from a respective one of a one or more media capture devices, and to receive, from a client device, for each of the one or more media streams, state data including at least one of an active and a potential state of the media stream. The computer is further programmed to disconnect from the client device, and then, upon reconnecting to the client device, to provide at least one of the media streams and the state data to the client device.


