Method and apparatus for polling multiple sockets with a single thread and handling events received at the sockets with a pool of threads
Abstract
A method and apparatus are provided for handling events received at a media streaming server. Server sockets configured to receive events are divided into collections and registered with a polling object. Each collection shares a processor thread for detecting events. Each socket is associated with an event consumer object that is notified when an event is received at the socket. The event consumer objects invoke task objects to handle the events. Task objects are queued in a task queue and execute using a pool of processor threads. Event consumer objects are derived from an abstract base consumer class that defines a common interface. Subclasses of the base consumer class are configured for different types of events that may be received (e.g., connection requests, media streaming commands, media data, media stream quality reports). Specific event consumer objects are instantiated from the subclasses to provide implementations of the common interface.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 43.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A media streaming server configured to stream media to multiple clients, the media streaming server comprising: a set of server sockets, including: for each of the multiple clients, a separate control socket configured to receive media stream command events from the respective client; a single delivery socket configured to stream the media to all the multiple clients simultaneously; and a single quality control socket configured to receive media quality information events from all the multiple clients; a poller module configured to: poll one or more sockets in the set of sockets; and when an e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 43 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (2)
- "JT Router: Let your clients tunnel their way across the internet", Oct. 1, 1997, pp. 1-12, Ajit Sagar, SYS-CON.
- IBM Technical Disclosure Bulletin, "Structured Metadata for Application Specific Viewers for Streamed Internet Video/Audio". XP-000739449 2vol. 40, No. 10, Oct. 1997. pp. 123-127.