主权项 |
1. A method comprising:
detecting, by a stream management system, a request for any device included in a media processing system to receive a media stream provided by a television service, the media processing system comprising a plurality of media player devices and a digital video recording (“DVR”) device separate from and communicatively coupled to the plurality of media player devices and configured to automatically receive and record media streams received by any media player device included in the plurality of media player devices; determining, by the stream management system in response to the request, that the DVR device is already receiving and recording a plurality of media streams provided by the television service when the request is detected and that a total number of media streams included in the plurality of media streams is equal to a maximum number of media streams that the DVR device is allowed to concurrently record; performing, by the stream management system in response to the determining that the DVR device is already receiving and recording the maximum number of media streams, a status check to determine whether each media stream included in the plurality of media streams is
an active tune-in stream that is being presented by one of the media player devices when the request is detected and without a user input command being provided for the DVR device to record a media program included in the active tune-in stream,an inactive tune-in stream that is no longer being presented by any of the media player devices when the request is detected but that was being presented prior to the request by one of the media player devices without a user input command being provided for the DVR device to record a media program included in the inactive tune-in stream, ora recording stream that is being recorded by the DVR device when the request is detected and in response to a user input command being provided for the DVR device to record a media program included in the recording stream; wherein when the status check indicates that the plurality of media streams includes a plurality of active tune-in streams when the request is detected and that the plurality of media streams does not include any inactive tune-in streams when the request is detected, the method further comprises
selecting, by the stream management system based on a priority-based selection heuristic, a particular active tune-in stream from the plurality of active tune-in streams, anddirecting, by the stream management system, the DVR device to drop the particular active tune-in stream and receive and record the media stream in place of the particular active tune-in stream. |