白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Systems and methods for preserving media streams

專利號
US11888905B2
公開日期
2024-01-30
申請人
Meta Platforms, Inc.(US CA Menlo Park)
發(fā)明人
Jake Weissman; Maxwell Sergio Gomez; Jorge Cenzano Ferret; Ethan Aaron Benowitz
IPC分類
H04L65/1083; H04L67/148
技術領域
server,client,offline,stream,media,reconnect,message,may,go,or
地域: CA CA Menlo Park

摘要

A computer-implemented method for preserving media streams may include (i) identifying a media stream transmitted by a client device to a server that hosts the media stream for access by additional devices, (ii) detecting that the server is expected to go offline, (iii) sending, in response to detecting that the server is expected to go offline, a message to the client device indicating that the server is expected to go offline, (iv) receiving, at an additional server, a request from the client device to host the media stream, and (v) in response to receiving the request, hosting the media stream at the additional server while ceasing to host the media stream at the server that is expected to go offline. Various other methods, systems, and computer-readable media are also disclosed.

說明書

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings illustrate a number of exemplary embodiments and are a part of the specification. Together with the following description, these drawings demonstrate and explain various principles of the instant disclosure.

FIG. 1 is an illustration of an exemplary system for preserving media streams.

FIG. 2 is a block diagram of an exemplary system for preserving media streams.

FIG. 3 is a flow diagram of an exemplary method for preserving media streams from the server perspective.

FIG. 4 is a flow diagram of an exemplary method for preserving media streams from the client perspective.

FIG. 5 is an illustration of an exemplary timeline of a system for preserving media streams.

Throughout the drawings, identical reference characters and descriptions indicate similar, but not necessarily identical, elements. While the exemplary embodiments described herein are susceptible to various modifications and alternative forms, specific embodiments have been shown by way of example in the drawings and will be described in detail herein. However, the exemplary embodiments described herein are not intended to be limited to the particular forms disclosed. Rather, the instant disclosure covers all modifications, equivalents, and alternatives falling within the scope of the appended claims.

權利要求

1
What is claimed is:1. A computer-implemented method comprising:identifying a media stream transmitted from a client device to a server that hosts the media stream for access by additional devices;prior to instructing the client device to connect to an additional server that is managed by a platform, receiving, from the client device and at the platform, a confirmation message indicating that the client device supports mid-stream reconnection;detecting that the server is expected to go offline;instructing the client device to connect to the additional server at least in part by sending, in response to detecting that the server is expected to go offline and based on receiving the confirmation message at the platform, a message to the client device indicating that the server is expected to go offline;prior to the server going offline:receiving, at the additional server, a reconnect request from the client device to host the media stream; andin response to receiving the reconnect request, hosting the media stream at the additional server while ceasing to host the media stream at the server that is expected to go offline.2. The computer-implemented method of claim 1, wherein the media stream comprises a live media stream being captured in real-time by the client device.3. The computer-implemented method of claim 1, wherein the media stream comprises a video stream.4. The computer-implemented method of claim 1, wherein:detecting that the server is expected to go offline comprises detecting that the server is expected to go offline within a predetermined window of time; andsending the message comprises sending the message in response to detecting that the server is expected to go offline within the predetermined window of time.5. The computer-implemented method of claim 1, wherein detecting that the server is expected to go offline comprises detecting that the server is scheduled for upcoming maintenance.6. The computer-implemented method of claim 1, wherein detecting that the server is expected to go offline comprises detecting that the server has ceased accepting new connection requests.7. The computer-implemented method of claim 1, wherein the reconnect request comprises a session identifier associated with the media stream.8. The computer-implemented method of claim 1, wherein the message to the client device indicating that the server is expected to go offline comprises an expected time at which the server is expected to go offline.9. The computer-implemented method of claim 1, wherein the message to the client device indicating that the server is expected to go offline includes a session identifier associated with the media stream.10. The computer-implemented method of claim 1, wherein identifying the media stream transmitted by the client device to the server comprises identifying that the client device is transmitting the media stream via a transmission control protocol.11. The computer-implemented method of claim 10, wherein the transmission control protocol comprises a real time messaging protocol.12. The computer-implemented method of claim 10, wherein sending the message to the client device indicating that the server is expected to go offline comprises sending the message via the transmission control protocol.13. A computer-implemented method comprising:transmitting, from a client device, a media stream to a server that hosts the media stream for access by additional devices;prior to receiving, at the client device, instructions to connect to an additional server that is managed by a platform, sending, from the client device and to the platform, a confirmation message indicating that the client device supports mid-stream reconnection;receiving, by the client device and based on sending the confirmation message to the platform, an instruction to connect to the additional server, the instruction comprising a message indicating that the server is expected to go offline;in response to receiving the message and prior to the server going offline:sending, by the client device to the additional server, a reconnect request to host the media stream; andtransmitting, by the client device, the media stream to the additional server while ceasing to transmit the media stream to the server that is expected to go offline.14. The computer-implemented method of claim 13, wherein transmitting the media stream to the server comprises sending, by the client device, a message to the server indicating that the client device accepts reconnection suggestion messages.15. The computer-implemented method of claim 13, further comprising sending, to the additional server, a session identifier associated with the media stream.16. The computer-implemented method of claim 15, wherein:the message indicating that the server is expected to go offline includes the session identifier; andsending, to the additional server, the session identifier associated with the media stream comprises sending the session identifier received from the server.17. The computer-implemented method of claim 13, wherein transmitting, by the client device, the media stream to the additional server while ceasing to transmit the media stream to the server that is expected to go offline comprises avoiding data loss by switching, by the client device, transmitting the media stream from the server to the additional server at a segment boundary within the media stream.18. A system comprising:a client device that transmits a media stream;a server that hosts the media stream for access by additional devices;a stream preservation module that:prior to instructing the client device to connect to an additional server that is managed by a platform, receives, from the client device, a confirmation message indicating that the client device supports mid-stream reconnection;detects that the server that hosts the media stream is expected to go offline; andin response to detecting that the server is expected to go offline and based on receiving the confirmation message from the client device, instructs the client device to connect to the additional server by notifying the client device that the server is expected to go offline; andwherein the additional server, prior to the server going offline:receives a reconnect request from the client device to host the media stream; andhosts the media stream.19. The system of claim 18, wherein the media stream comprises a live video stream being captured in real-time by the client device.20. The system of claim 18, wherein:the client device sends the server a message indicating that the client device accepts reconnection messages;the stream preservation module notifies the client device that the server is expected to go offline in response to detecting that the client device sent the server the message; andthe client device, in response to being notified by the stream preservation module that the server is expected to go offline, sends the reconnect request to the additional server to host the media stream.
微信群二維碼
意見反饋