CN117376497A - Method and system for synchronously playing audio and video in local area network - Google Patents

Method and system for synchronously playing audio and video in local area network Download PDF

Info

Publication number
CN117376497A
CN117376497A CN202311285030.7A CN202311285030A CN117376497A CN 117376497 A CN117376497 A CN 117376497A CN 202311285030 A CN202311285030 A CN 202311285030A CN 117376497 A CN117376497 A CN 117376497A
Authority
CN
China
Prior art keywords
playing
synchronous
video
playing device
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311285030.7A
Other languages
Chinese (zh)
Inventor
张华�
沈奇力
裘昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Arcvideo Technology Co ltd
Original Assignee
Hangzhou Arcvideo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Arcvideo Technology Co ltd filed Critical Hangzhou Arcvideo Technology Co ltd
Priority to CN202311285030.7A priority Critical patent/CN117376497A/en
Publication of CN117376497A publication Critical patent/CN117376497A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • H04N5/06Generation of synchronising signals

Abstract

The invention discloses a method and a system for synchronously playing audio and video in a local area network, wherein the method comprises the following steps: setting the screen throwing equipment, the first playing equipment and the second playing equipment in the same local area network; the screen throwing equipment opens the video application, selects the film source for playing, and selects the screen throwing to the first playing equipment for playing; the first playing device creates a synchronous playing group and becomes a main end of synchronous playing; the first playing device initiates synchronous playing invitation information to the second playing device; the second playing device receives the synchronous playing invitation information and selects to join; the first playing device forwards the received audio and video data to the second playing device; the second playing device starts playing; the first playing device periodically sends playing progress information to the second playing device in the playing process; the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.

Description

Method and system for synchronously playing audio and video in local area network
Technical Field
The invention belongs to the technical field of audio and video playing, and particularly relates to a method and a system for synchronously playing audio and video in a local area network.
Background
With the rapid development of internet and media technologies, watching network video becomes an important recreation mode for people to enjoy leisure and entertainment, and scenes for watching video are more and more diversified from traditional televisions, computers, mobile phones and flat plates to vehicle-mounted large screens.
Often people watch alone, existing video content providers such as Italian have also developed functions such as "watch together" for the need for family and friends to watch video together, but the corresponding limitation is that users at the same time must create a room at the same time within the same application and must use a playback device that installs the application itself.
For some equipment terminals based on customized or limited linux/android systems, such as a vehicle-mounted entertainment screen, on one hand, the existing video applications based on mobile equipment development such as love, tencement and harshness cannot be directly installed, and a vehicle factory is required to perform corresponding customized development; on the other hand, even if the video application is customized and developed, the function of looking together is to be realized in the same local area network space, each video playing device in the local area network is required to be added into the same room, and the data of the same data source are acquired through the internet at the same time and then synchronously played, so that the traffic is wasted and the authorization is wasted for the application scene using the mobile traffic such as the vehicle. The above variety greatly limits the use and experience of people watching together.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a system for synchronously playing audio and video in a local area network, so that a terminal with limited application installation or limited viewing can synchronously view and share the same audio and video content.
In order to solve the technical problems, the invention adopts the following technical scheme:
the invention provides a method for synchronously playing audio and video in a local area network, which comprises the following steps:
setting the screen throwing equipment, the first playing equipment and the second playing equipment in the same local area network;
the screen throwing equipment opens the video application, selects the film source for playing, and selects the screen throwing to the first playing equipment for playing;
the first playing device creates a synchronous playing group and becomes a main end of synchronous playing;
the first playing device initiates synchronous playing invitation information to the second playing device;
the second playing device receives the synchronous playing invitation information and selects to join;
the first playing device forwards the received audio and video data to the second playing device;
the second playing device starts playing;
the first playing device periodically sends playing progress information to the second playing device in the playing process;
the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.
In a possible implementation manner, the method further includes: if the second playing device is to leave in the middle of playing, the second playing device sends a request for leaving the synchronous playing group to the first playing device.
In a possible implementation manner, the method further includes: if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
In a possible implementation manner, the method further includes: after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and synchronous playing is finished.
In a possible implementation manner, the method further includes: the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device.
In a possible implementation manner, the first playing device and the second playing device are audio and video playing devices, and the audio and video playing devices comprise a screen projection playing module, a signaling receiving and transmitting module, a synchronous session management module and a synchronous playing control management module, wherein the screen projection playing module is used for receiving a screen projection request from the screen projection device, requesting a streaming media server where a media stream address included in a screen projection request instruction is located for media data content and playing, or directly receiving the media data content sent from the screen projection device and playing; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation messages and playing control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol.
The invention also provides a system for synchronously playing the audio and the video in the local area network, which comprises a screen throwing device, a first playing device and a second playing device in the same local area network,
the screen throwing equipment is used for opening a video application, selecting a film source for playing, and the first playing equipment is used for playing the selected film source;
the first playing device is used for creating a synchronous playing group and becomes a main end of synchronous playing;
the first playing device is used for initiating synchronous playing invitation information to the second playing device;
the second playing device is used for receiving the synchronous playing invitation information and selecting to join;
the first playing device is used for forwarding the received audio and video data to the second playing device;
the second playing device is used for starting playing;
in the playing process, the first playing device is used for periodically sending playing progress information to the second playing device; the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.
In a possible implementation manner, the method further includes: if the second playing device is to leave in the middle of playing, the second playing device sends a request for leaving the synchronous playing group to the first playing device.
In a possible implementation manner, the method further includes: if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
In a possible implementation manner, the method further includes: after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and synchronous playing is finished.
In a possible implementation manner, the method further includes: the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device.
In a possible implementation manner, the first playing device and the second playing device are audio and video playing devices, and the audio and video playing devices comprise a screen projection playing module, a signaling receiving and transmitting module, a synchronous session management module and a synchronous playing control management module, wherein the screen projection playing module is used for receiving a screen projection request from the screen projection device, requesting a streaming media server where a media stream address included in a screen projection request instruction is located for media data content and playing, or directly receiving the media data content sent from the screen projection device and playing; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation messages and playing control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol.
The invention has the following beneficial effects:
(1) For DLNA, miraCast, airPlay and the like, the mode of only 1 to 1 screen projection is realized, and a plurality of devices share. The shared content can be local video stored by the screen throwing device or video streams accessed by various internet video applications installed by the screen throwing device.
(2) For the scene of in-car viewing, the video stream from each Internet video platform can be played by on-car equipment by adopting the screen-throwing function of the screen-throwing application carried by the mobile equipment, so that the time and cost for the on-car of the Internet video application and the customized development of synchronous playing of multiple equipment in the same local area network are greatly saved.
(3) For the scene that the public network needs to be accessed through mobile traffic, the traffic trouble is solved through multi-device sharing in the local area network.
(4) The method can realize the requirement that a plurality of users in the local area network watch together, and enhance the viewing experience and social interaction among multiple users.
Drawings
Fig. 1 is a flowchart of a method for playing audio and video in synchronization in a lan according to an embodiment of the invention;
FIG. 2 is a schematic block diagram of an audio/video playing device according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a system for audio and video synchronized playback in a local area network according to a further embodiment of the present invention;
fig. 4 is a schematic structural diagram of a system for playing audio and video synchronously in a lan according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of steps of a method for playing audio and video in synchronization in a local area network according to an embodiment of the present invention is shown, including the following steps:
s101, setting screen throwing equipment, first playing equipment and second playing equipment in the same local area network; local area network interconnection protocols such as mDNS, UPNP and the like required by the screen-throwing protocol can be mutually discovered;
s102, a screen throwing device opens a video application, selects a film source for playing, and selects a screen throwing device to play; the film source can be the media stream of video applications such as Aiqi art, excellent, tencel, etc., or the local video stream in the media library of the screen throwing equipment. The screen-drop protocol may include DLNA, airPlay (limited to iphone only), miraCast (limited to android devices only), and the like.
S103, the first playing device creates a synchronous playing group and becomes a synchronous playing master terminal;
s104, the first playing device initiates synchronous playing invitation information to the second playing device;
s105, the second playing device receives the synchronous playing invitation information and selects to join;
s106, the first playing device forwards the received audio and video data to the second playing device;
s107, the second playing device starts playing;
s108, the first playing device periodically sends playing progress information to the second playing device in the playing process;
s109, the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device so as to ensure synchronous playing with the first playing device.
On the basis of steps S101 to S109, the method for playing audio and video in synchronization in a local area network according to another embodiment of the present invention further includes: s110, if the second playback device is to leave during playback, the second playback device sends a request for leaving the synchronized playback group to the first playback device.
On the basis of steps S101 to S109, the method for playing audio and video in synchronization in a local area network according to another embodiment of the present invention further includes: s111, if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
On the basis of steps S101 to S109, the method for playing audio and video in synchronization in a local area network according to another embodiment of the present invention further includes: and S112, after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and the synchronous playing is finished.
On the basis of steps S101 to S109, the method for playing audio and video in synchronization in a local area network according to another embodiment of the present invention further includes: s113, the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device; wherein the play control operation can be pause/resume play/skip to play at a designated time point and the like;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device. If the data source of the screen is from a local media library of the screen throwing equipment, the screen throwing equipment responds to the playing control operation of the current screen throwing media stream according to the specific type of the control signaling; if the data source of the screen is a video stream from the internet, the first playing device initiates a playing control request to a media server providing the video stream, and the latter responds and processes the corresponding playing control operation.
In an embodiment of the present invention, the first playing device and the second playing device are audio and video playing devices, as shown in fig. 2, where the audio and video playing devices include a screen-casting playing module, a signaling transceiver module, a synchronous session management module and a synchronous broadcast control management module, where the screen-casting playing module is used for receiving a screen-casting request from the screen-casting device, requesting a streaming media server where a media stream address included in a screen-casting request instruction is located for media data content and playing, or directly receiving and playing media data content sent from the screen-casting device; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation information and broadcasting control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol. For the synchronous session management module of the first playing device, the synchronous session management module is used for creating and starting a synchronous session by the first playing device serving as an initiating terminal; the first playing device shares the synchronous session information to the second playing device when the synchronous session is started or in the synchronous process; and the first playing device destroys the synchronous playing session and ends synchronous playing when the synchronous playing video content is in the synchronous session process or ends. For a synchronous session management module of the second playing device, the second playing device which receives the synchronous session sharing information joins the synchronous session; the second playback device leaves the synchronized playback session during the synchronized session or when the synchronized playback of the video content ends. And the synchronous playing control management module of the first playing device is used for periodically and directly transmitting the current playing progress of the first playing device to the second playing device in the process of synchronous session. And for the synchronous playing control management module of the second playing device, periodically receiving the playing progress information from the signaling server or the first playing device, and adjusting the current playing progress by taking the playing progress information as a reference. The first playing device receives a playing control instruction from the screen throwing end or the playing device, the playing control instruction is directly sent to the second playing device, and the second playing device serving as the receiving end immediately responds to the playing control operation.
In one embodiment of the present invention, a screen-casting device includes one or more applications supporting a screen-casting function: such as Izor, which provides Internet video services, etc.; or providing applications for the content of a local media library of the device, such as photos, a gallery and the like owned by mobile devices such as mobile phones/pads and the like.
By the method for synchronously playing the audio and the video in the local area network, for DLNA, miraCast, airPlay and other modes which can only be used for 1 to 1 screen, one screen projection is realized, and a plurality of devices share. The shared content can be local video stored by the screen throwing device or video streams accessed by various internet video applications installed by the screen throwing device. For the scene of in-car viewing, the video stream from each Internet video platform can be played by on-car equipment by adopting the screen-throwing function of the screen-throwing application carried by the mobile equipment, so that the time and cost for the on-car of the Internet video application and the customized development of synchronous playing of multiple equipment in the same local area network are greatly saved. For the scene that the public network needs to be accessed through mobile traffic, the traffic trouble is solved through multi-device sharing in the local area network. The method can realize the requirement that a plurality of users in the local area network watch together, and enhance the viewing experience and social interaction among multiple users.
Corresponding to the method embodiment, referring to fig. 3, a schematic structural diagram of a system for playing audio and video synchronously in a local area network according to the present invention is shown, where the system includes a screen throwing device, a first playing device and a second playing device in the same local area network, where the screen throwing device is used for opening a video application, selecting a film source for playing, and the first playing device is used for playing the selected film source, based on the interconnection protocols of the local area network such as mDNS and UPNP required by the screen throwing protocol; the first playing device is used for creating a synchronous playing group and becomes a main end of synchronous playing; the first playing device is used for initiating synchronous playing invitation information to the second playing device; the second playing device is used for receiving the synchronous playing invitation information and selecting to join; the first playing device is used for forwarding the received audio and video data to the second playing device; the second playing device is used for starting playing; in the playing process, the first playing device is used for periodically sending playing progress information to the second playing device; the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.
The system for synchronously playing audio and video in the local area network in the further embodiment of the invention further comprises: if the second playing device is to leave in the middle of playing, the second playing device sends a request for leaving the synchronous playing group to the first playing device.
The system for synchronously playing audio and video in the local area network in the further embodiment of the invention further comprises: if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
The system for synchronously playing audio and video in the local area network in the further embodiment of the invention further comprises: after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and synchronous playing is finished.
The system for synchronously playing audio and video in the local area network in the further embodiment of the invention further comprises: the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device; wherein the play control operation can be pause/resume play/skip to play at a designated time point and the like;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device. If the data source of the screen is from a local media library of the screen throwing equipment, the screen throwing equipment responds to the playing control operation of the current screen throwing media stream according to the specific type of the control signaling; if the data source of the screen is a video stream from the internet, the first playing device initiates a playing control request to a media server providing the video stream, and the latter responds and processes the corresponding playing control operation.
In an embodiment of the present invention, the first playing device and the second playing device are audio and video playing devices, as shown in fig. 2, where the audio and video playing devices include a screen-casting playing module, a signaling transceiver module, a synchronous session management module and a synchronous broadcast control management module, where the screen-casting playing module is used for receiving a screen-casting request from the screen-casting device, requesting a streaming media server where a media stream address included in a screen-casting request instruction is located for media data content and playing, or directly receiving and playing media data content sent from the screen-casting device; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation information and broadcasting control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol. For the synchronous session management module of the first playing device, the synchronous session management module is used for creating and starting a synchronous session by the first playing device serving as an initiating terminal; the first playing device shares the synchronous session information to the second playing device when the synchronous session is started or in the synchronous process; and the first playing device destroys the synchronous playing session and ends synchronous playing when the synchronous playing video content is in the synchronous session process or ends. For a synchronous session management module of the second playing device, the second playing device which receives the synchronous session sharing information joins the synchronous session; the second playback device leaves the synchronized playback session during the synchronized session or when the synchronized playback of the video content ends. And the synchronous playing control management module of the first playing device is used for periodically and directly transmitting the current playing progress of the first playing device to the second playing device in the process of synchronous session. And for the synchronous playing control management module of the second playing device, periodically receiving the playing progress information from the signaling server or the first playing device, and adjusting the current playing progress by taking the playing progress information as a reference. The first playing device receives a playing control instruction from the screen throwing end or the playing device, the playing control instruction is directly sent to the second playing device, and the second playing device serving as the receiving end immediately responds to the playing control operation.
In one embodiment of the present invention, a screen-casting device includes one or more applications supporting a screen-casting function: such as Izor, which provides Internet video services, etc.; or providing applications for the content of a local media library of the device, such as photos, a gallery and the like owned by mobile devices such as mobile phones/pads and the like.
Referring to fig. 4, in a system for playing audio and video synchronously in a lan, devices 101, 102, 103 are in the same lan L.101 is a mobile phone with a messenger video application installed, 102, 103 is a playback device supporting a screen-casting protocol. Device 102 and device 103 discover each other within local area network L and can communicate with each other via a custom protocol. The device 101 opens the vacation video application, selects a movie W and prepares to throw a screen. The audio and video data of the movie W is provided by the media server 001. Device 101 discovers devices 102 and 103 when querying the screen-casting device; 101, selecting a screen to be cast on the device 102 for playing; the device 102 creates a sync session S and issues an invitation to synchronize playback to the device 103 via the data channel of the custom protocol. The device 103 accepts the invitation. The device 102 pulls the audio and video media data to the media server 001 and plays them, and forwards the audio and video data received by itself to the device 103 in real time. The device 102 periodically transmits its current playing progress information to the device 103; the device 103 receives the playing progress information, adjusts its own playing progress based on the playing progress information, and realizes a function of synchronous playing with the device 102. The device 103 receives the play jump instruction of the user, executes play jump operation, and sends the play jump instruction containing the jump position to the device 102; the device 102 receives the play jump instruction, initiates a new video data acquisition request to the media server 001 according to the jump position, and plays. Device 102 and device 103 continue to play synchronously.
In still another specific application, with continued reference to fig. 4, in a system for playing audio and video synchronously in a lan, the devices 101, 102, 103 are in the same lan L.101 is a mobile phone with a media application supporting a screen throwing function, and 102, 103 is a playing device supporting a screen throwing protocol. Device 102 and device 103 discover each other within local area network L and can communicate with each other via a custom protocol. The device 101 opens a gallery application contained in the device itself, selects a movie W to play, and prepares to throw a screen. Device 101 discovers devices 102 and 103 when querying the screen-casting device; 101, selecting to screen the audio and video media data of W to the device 102 for playing; the device 102 creates a sync session S and issues an invitation to synchronize playback to the device 103 via the data channel of the custom protocol. The device 103 accepts the invitation. The device 102 receives and plays the media data from 001, and forwards the received audio and video data to the device 103 in real time. The device 102 periodically transmits its current playing progress information to the device 103; the device 103 receives the playing progress information, adjusts its own playing progress based on the playing progress information, and realizes a function of synchronous playing with the device 102. The device 103 receives the play jump instruction of the user, executes play jump operation, and sends the play jump instruction containing the jump position to the device 102; the device 102 receives the play jump instruction, converts the instruction into a play control jump instruction supported by a screen throwing protocol, and forwards the play control jump instruction to the screen throwing device 101; after receiving the play jump instruction from the device 102, the device 101 jumps to the position designated by the instruction for playing, and sends the audio and video data started at the position to the device 102. Device 102 and device 103 continue to play synchronously. The device 102 receives a pause instruction of the device 103, plays and pauses and sends the instruction to the screen throwing devices 101 and 101 to pause the playing of the current screen throwing media stream; the device 102 receives a play restoration instruction of the device 103 and forwards the instruction to the screen throwing device 101; the screen throwing device 101 receives an instruction for resuming playing, continues playing and continues forwarding the sounding video data to the device 102; device 102 and device 103 continue to play synchronously.
By the system for synchronously playing the audio and the video in the local area network, for DLNA, miraCast, airPlay and the like, only 1 to 1 screen projection mode is adopted, one screen projection is realized, and a plurality of devices share. The shared content can be local video stored by the screen throwing device or video streams accessed by various internet video applications installed by the screen throwing device. For the scene of in-car viewing, the video stream from each Internet video platform can be played by on-car equipment by adopting the screen-throwing function of the screen-throwing application carried by the mobile equipment, so that the time and cost for the on-car of the Internet video application and the customized development of synchronous playing of multiple equipment in the same local area network are greatly saved. For the scene that the public network needs to be accessed through mobile traffic, the traffic trouble is solved through multi-device sharing in the local area network. The method can realize the requirement that a plurality of users in the local area network watch together, and enhance the viewing experience and social interaction among multiple users.
It should be understood that the exemplary embodiments described herein are illustrative and not limiting. Although one or more embodiments of the present invention have been described with reference to the accompanying drawings, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims (12)

1. A method for synchronously playing audio and video in a local area network is characterized by comprising the following steps:
setting the screen throwing equipment, the first playing equipment and the second playing equipment in the same local area network;
the screen throwing equipment opens the video application, selects the film source for playing, and selects the screen throwing to the first playing equipment for playing;
the first playing device creates a synchronous playing group and becomes a main end of synchronous playing;
the first playing device initiates synchronous playing invitation information to the second playing device;
the second playing device receives the synchronous playing invitation information and selects to join;
the first playing device forwards the received audio and video data to the second playing device;
the second playing device starts playing;
the first playing device periodically sends playing progress information to the second playing device in the playing process;
the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.
2. The method for audio and video synchronous playing in a local area network according to claim 1, further comprising: if the second playing device is to leave in the middle of playing, the second playing device sends a request for leaving the synchronous playing group to the first playing device.
3. The method for audio and video synchronous playing in a local area network according to claim 1, further comprising: if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
4. The method for audio and video synchronous playing in a local area network according to claim 1, further comprising: after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and synchronous playing is finished.
5. The method for audio and video synchronous playing in a local area network according to claim 1, further comprising: the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device.
6. The method for synchronously playing audio and video in a local area network according to any one of claims 1 to 5, wherein the first playing device and the second playing device are audio and video playing devices, and the audio and video playing devices comprise a screen-throwing playing module, a signaling receiving and sending module, a synchronous session management module and a synchronous playing control management module, wherein the screen-throwing playing module is used for receiving a screen-throwing request from the screen-throwing device, requesting a streaming media server with a media stream address contained in a screen-throwing request instruction for playing media data content, or directly receiving and playing the media data content sent by the screen-throwing device; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation messages and playing control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol.
7. A system for synchronously playing audio and video in a local area network is characterized by comprising a screen throwing device, a first playing device and a second playing device in the same local area network,
the screen throwing equipment is used for opening a video application, selecting a film source for playing, and the first playing equipment is used for playing the selected film source;
the first playing device is used for creating a synchronous playing group and becomes a main end of synchronous playing;
the first playing device is used for initiating synchronous playing invitation information to the second playing device;
the second playing device is used for receiving the synchronous playing invitation information and selecting to join;
the first playing device is used for forwarding the received audio and video data to the second playing device;
the second playing device is used for starting playing;
in the playing process, the first playing device is used for periodically sending playing progress information to the second playing device; the second playing device periodically receives the playing progress information of the first playing device, and adjusts the playing progress of the second playing device according to the playing progress information of the first playing device.
8. The system for synchronized playback of audio and video within a local area network of claim 7, further comprising: if the second playing device is to leave in the middle of playing, the second playing device sends a request for leaving the synchronous playing group to the first playing device.
9. The system for synchronized playback of audio and video within a local area network of claim 7, further comprising: if the first playing device leaves in the middle of playing, the first playing device sends a message for destroying the synchronous playing group to the second playing device, and synchronous playing is finished.
10. The system for synchronized playback of audio and video within a local area network of claim 7, further comprising: after the video playing is finished, the first playing device sends a synchronous finishing message to the second playing device, and synchronous playing is finished.
11. The method for audio and video synchronized playback in a local area network of claim 7, further comprising: the second playing device initiates a playing control operation in the middle of playing and sends the playing control operation information to the first playing device;
after receiving the broadcast control operation information from the second device, the first playing device converts the broadcast control operation information into a control signaling of a screen throwing protocol and forwards the control signaling to the screen throwing device.
12. The system for synchronously playing audio and video in a local area network according to any one of claims 7 to 11, wherein the first playing device and the second playing device are audio and video playing devices, and the audio and video playing devices comprise a screen-throwing playing module, a signaling receiving and sending module, a synchronous session management module and a synchronous playing control management module, wherein the screen-throwing playing module is used for receiving a screen-throwing request from the screen-throwing device, requesting a streaming media server with a media stream address contained in a screen-throwing request instruction for playing media data content, or directly receiving and playing the media data content sent by the screen-throwing device; the signaling receiving and transmitting module is used for being responsible for data communication between synchronous playing devices, and comprises receiving and transmitting of invitation messages and playing control signaling, and the signaling is directly transmitted between the playing devices through a data channel established by a custom protocol.
CN202311285030.7A 2023-10-07 2023-10-07 Method and system for synchronously playing audio and video in local area network Pending CN117376497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311285030.7A CN117376497A (en) 2023-10-07 2023-10-07 Method and system for synchronously playing audio and video in local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311285030.7A CN117376497A (en) 2023-10-07 2023-10-07 Method and system for synchronously playing audio and video in local area network

Publications (1)

Publication Number Publication Date
CN117376497A true CN117376497A (en) 2024-01-09

Family

ID=89393899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311285030.7A Pending CN117376497A (en) 2023-10-07 2023-10-07 Method and system for synchronously playing audio and video in local area network

Country Status (1)

Country Link
CN (1) CN117376497A (en)

Similar Documents

Publication Publication Date Title
US9030523B2 (en) Flow-control based switched group video chat and real-time interactive broadcast
US10057662B2 (en) Flow controlled based synchronized playback of recorded media
EP2328349B1 (en) Information processing system and information processing device
US8683007B2 (en) Seamless transfer of media streams
JP5718969B2 (en) System and method for providing telephone related services to multiple devices using UPnP on home network
KR101426178B1 (en) Method and apparatus for ad hoc venue-cast service
JP3573203B2 (en) Information reproducing method and information reproducing system.
US8813149B2 (en) Process and system for management of a continuous broadcast session of a posted direct video stream
CN110012366B (en) Wide-narrow band converged communication system and method used under public and private network IP interconnection
US20110243141A1 (en) System of User Devices
JP2006501744A (en) Media communication method and apparatus
KR20190060849A (en) Enable media orchestration
CN117376497A (en) Method and system for synchronously playing audio and video in local area network
KR100532149B1 (en) Dynamic Media Control Method Using RTSP In The Multimedia Terminal
CN117376496A (en) Method and system for synchronously playing audio and video across networks
US20230080122A1 (en) Method, device and computer program for cloud-authenticated pairing in wireless communication system, and recording medium therefor
CN116366620A (en) Adaptive media sharing method and system
KR101774482B1 (en) Video Transmitting System and Method, and Video Play Terminal and Method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination