EP1272930B1

Method and apparatus for handling events received at a server socket

Abstract

This record has no abstract on file.

EP1272930B1, drawing sheet 1
Sheet 1 of 5

Term

Term ended

Expired 6 April 2021, 5.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

22 claims: 3 independent, 19 dependent

  1. 1
    A method of handling events received at sockets in a media streaming server (102) configured to stream media to clients (110, 112), the method comprising:executing a polling module (302) configured to poll server sockets to detect events received at said sockets;registering (414) a first plurality of sockets with said polling module, wherein each of said sockets in said first plurality of sockets is associated with an event consumer;notifying (420) a first event consumer associated with a first socket in said first plurality of sockets when a first event is received at said first socket;and invoking (420) a task by establishing a media streaming control connection with the first client through a second socket configured for media streaming control connections with multiple clients, said second socket being associated with a connection event consumer configured to handle a media streaming control command;wherein a first processor thread is shared among said first plurality of sockets for said polling;and wherein one or more processor threads are allocated to the execution of tasks invoked by said event consumers.
  2. 13
    A computer program which when executed on a computer or computer network is able to perform the method of any of claims 1 to 12.
  3. 14
    A media streaming server configured to stream media to clients, the media streaming server comprising:means for executing a polling module (302) configured to poll server sockets to detect events received at said sockets;means for registering (414) a first plurality of sockets with said polling module, wherein each of said sockets in said first plurality of sockets is associated with an event consumer;means for notifying (420) a first event consumer associated with a first socket in said first plurality of sockets when a first event is received at said first socket;and means for invoking (420) a task by establishing a media streaming control connection with the first client through a second socket configured for media streaming control connections with multiple clients, said second socket being associated with a connection event consumer configured to handle a media streaming control command;wherein a first processor thread is shared among said first plurality of sockets for said polling;and wherein one or more processor threads are allocated to the execution of tasks invoked by said event consumers.