CN106572115B - screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device - Google Patents

screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device Download PDF

Info

Publication number
CN106572115B
CN106572115B CN201610991375.8A CN201610991375A CN106572115B CN 106572115 B CN106572115 B CN 106572115B CN 201610991375 A CN201610991375 A CN 201610991375A CN 106572115 B CN106572115 B CN 106572115B
Authority
CN
China
Prior art keywords
playing
progress
media stream
module
mirror image
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.)
Active
Application number
CN201610991375.8A
Other languages
Chinese (zh)
Other versions
CN106572115A (en
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.)
Fei Tu Video Signal Co Ltd Of Shenzhen
Original Assignee
Fei Tu Video Signal Co Ltd Of Shenzhen
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 Fei Tu Video Signal Co Ltd Of Shenzhen filed Critical Fei Tu Video Signal Co Ltd Of Shenzhen
Priority to CN201610991375.8A priority Critical patent/CN106572115B/en
Publication of CN106572115A publication Critical patent/CN106572115A/en
Application granted granted Critical
Publication of CN106572115B publication Critical patent/CN106572115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4435Memory management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a screen mirroring method and a transmitting and receiving device for playing a network video by an intelligent terminal. Meanwhile, the media stream, the playing progress and the volume parameter of the transmitting buffer area are packaged into a data packet and then sent to the mirror image receiving device. After the mirror image receiving device analyzes the data packet to obtain the transmission data, the media stream in the transmission data is buffered. And if the buffering progress is greater than the playing progress, playing the video file, otherwise, sending playing state information containing a pause message to the mirror image transmitting device to indicate the mirror image transmitting device to pause playing the video file. By adopting the technical scheme of the invention, the synchronous playing of the intelligent terminal and the display equipment can be realized, and the intelligent terminal can be operated by a user to control the playing progress.

Description

screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device
Technical Field
the invention relates to the technical field of intelligent terminal playing, in particular to a screen mirroring method for playing a network video by an intelligent terminal.
background
When the intelligent terminal plays the network video, the network video can be mirrored onto another display device through the wireless wifi, so that different requirements of users can be met. At present, many intelligent terminals such as mobile phones directly push addresses of network videos to players of display equipment, and the players directly access a video file library of a third-party server according to the addresses to acquire video streams and realize video playing. However, this method may cause that the smart terminal cannot play simultaneously, the user can only watch the video on one display device, and the user cannot control the playing progress, the sound control, and other functions of the smart terminal to control the playing of another display.
disclosure of Invention
The embodiment of the invention provides a screen mirroring method and a transmitting and receiving device for playing a network video by an intelligent terminal, which can realize synchronous playing of the intelligent terminal and a display device and are beneficial to a user to operate the intelligent terminal to control the playing progress.
The embodiment of the invention provides a screen mirroring method for playing a network video by an intelligent terminal, which comprises the following steps:
Acquiring a URL (Uniform resource locator) address of a video file, and acquiring a media stream according to the URL address;
storing the media streams in a local buffer and a transmission buffer respectively;
Calculating the playing progress of the video file according to progress information, playing state information and transmitting progress information generated by user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is the transmission progress information of the mirror image transmitting device transmitting the media stream of the transmission buffer area to the mirror image receiving device;
according to the playing progress, audio and video playing is carried out on the media stream of the local buffer area, and a corresponding volume parameter is obtained;
And encapsulating the volume parameter, the playing progress and the media stream of the transmitting buffer area into a data packet, and sending the data packet to the mirror image receiving device.
further, the progress information is provided with the highest priority;
And when the playing progress of the video file is calculated, the playing state information and the transmitting progress information are subordinate to the progress information.
correspondingly, the embodiment of the invention also provides a screen mirroring method for playing the network video by the intelligent terminal, which comprises the following steps:
Receiving a data packet transmitted by a mirror image transmitting device, analyzing the data packet and acquiring transmission data; the transmission data comprises media streams, playing progress and volume parameters of video files;
Buffering the media stream, and judging whether the buffering progress of the media stream is greater than the playing progress;
if yes, audio and video playing is carried out on the buffered media stream according to the playing progress, and the volume is adjusted according to the volume parameter;
otherwise, sending play state information containing pause information to the mirror image transmitting device to indicate the mirror image transmitting device to pause playing the video file.
further, after sending play status information including a pause message to the image transmitting apparatus to instruct the image transmitting apparatus to pause playing the video file, the method further includes:
When the buffering progress of the media stream is larger than the playing progress, performing audio and video playing on the buffered media stream according to the playing progress, and adjusting the volume according to the volume parameter;
And sending play state information containing a play message to the mirror image transmitting device to indicate the mirror image transmitting device to continue playing the video file.
Correspondingly, the embodiment of the invention also provides a screen image transmitting device for playing the network video by the intelligent terminal, which comprises: the device comprises a media stream acquisition module, a buffer module, a calculation module, a first playing module, a first receiving module and a first sending module;
The media stream acquisition module is used for acquiring a URL (uniform resource locator) address of a video file and acquiring a media stream according to the URL address;
the buffer module is used for storing the media stream in a local buffer area and a transmitting buffer area respectively;
the calculation module is used for calculating the playing progress of the video file according to the progress information, the playing state information and the transmitting progress information generated by the user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is the transmission progress information of the first sending module sending the media stream of the transmission buffer area to the mirror image receiving device;
the first playing module is used for carrying out audio and video playing on the media stream of the local buffer area according to the playing progress and acquiring a corresponding volume parameter;
The first receiving module is used for receiving the playing state information;
the first sending module is configured to encapsulate the volume parameter, the playing progress, and the media stream in the transmission buffer into a data packet, and send the data packet to the mirror image receiving device.
Further, the progress information is provided with the highest priority;
When the calculation module calculates the playing progress of the video file, the playing state information and the transmitting progress information are subordinate to the progress information.
Correspondingly, an embodiment of the present invention further provides a screen image receiving apparatus for playing a network video by an intelligent terminal, including: the second receiving module, the judging module, the second playing module and the second sending module;
the second receiving module is used for receiving the data packet sent by the mirror image transmitting device, analyzing the data packet and acquiring transmission data; the transmission data comprises media streams, playing progress and volume parameters of video files;
the judging module is used for buffering the media stream and judging whether the buffering progress of the media stream is greater than the playing progress;
The second playing module is used for carrying out audio and video playing on the buffered media stream according to the playing progress when the judging module determines that the buffering progress of the media stream is greater than the playing progress, and adjusting the volume according to the volume parameter;
The second sending module is configured to send play status information including a pause message to the mirror image transmitting device to instruct the mirror image transmitting device to pause playing the video file when the determining module determines that the buffering progress of the media stream is less than or equal to the playing progress.
Further, the screen image receiving apparatus for playing the network video by the intelligent terminal further includes: a third playing module and a third sending module;
the third playing module is used for carrying out audio and video playing on the buffered media stream according to the playing progress and adjusting the volume according to the volume parameter after the second transmitting module transmits playing state information containing a pause message to the mirror image transmitting device so as to indicate the mirror image transmitting device to pause playing of the video file and when the buffering progress of the media stream is greater than the playing progress;
The third sending module is configured to send play status information including a play message to the image transmitting device to instruct the image transmitting device to continue playing the video file.
The embodiment of the invention has the following beneficial effects:
The screen mirroring method and the transmitting and receiving device for the intelligent terminal to play the network video, provided by the embodiment of the invention, are characterized in that the mirroring transmitting device acquires the media stream, respectively stores the media stream in the local buffer area and the transmitting buffer area, calculates the playing progress of the video file according to the progress information, the playing state information and the transmitting progress information, and plays the video file according to the playing progress. Meanwhile, the media stream, the playing progress and the volume parameter of the transmitting buffer area are packaged into a data packet and then sent to the mirror image receiving device. After the mirror image receiving device analyzes the data packet to obtain the transmission data, the media stream in the transmission data is buffered. And if the buffering progress is greater than the playing progress, playing the video file, otherwise, sending playing state information containing a pause message to the mirror image transmitting device to indicate the mirror image transmitting device to pause playing the video file. Compared with the prior art that the media stream of the third-party server is directly acquired by the display device, the technical scheme of the invention can realize synchronous playing of the intelligent terminal and the display device, and a user can not stare at the display device, thereby being more beneficial to operating the mobile terminal and more convenient to control the playing progress of the video.
drawings
FIG. 1 is a flowchart illustrating an embodiment of a method for a smart terminal to mirror a screen of a network video;
FIG. 2 is a schematic flowchart illustrating an alternative embodiment of a method for screen mirroring a network video played by an intelligent terminal according to the present invention;
fig. 3 is a schematic structural diagram of an embodiment of a screen image transmitting device for playing a network video by an intelligent terminal according to the present invention;
Fig. 4 is a schematic structural diagram of an embodiment of a screen image receiving apparatus for playing a network video by an intelligent terminal according to the present invention.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
referring to fig. 1, it is a schematic flowchart of an embodiment of a method for an intelligent terminal to play a screen image of a network video, where the method includes steps 101 to 105, and the specific steps are as follows:
step 101: and acquiring the URL address of the video file, and acquiring the media stream according to the URL address.
In this embodiment, there is a video file library on the server of the third party, and several video files are stored. The user wirelessly connects the Internet network by operating the intelligent terminal, accesses the video file library, acquires the video file and plays the video file locally.
step 102: the media streams are stored in a local buffer and a transmit buffer, respectively.
In this embodiment, after being transmitted to the local, the media stream is divided into two paths, one path enters the local buffer area to play the video locally; and the other path enters a transmitting buffer area for entering a WiFi transmitting/receiving module after being encapsulated by a transmission protocol and transmitting to a mirror image receiving device.
step 103: calculating the playing progress of the video file according to the progress information, the playing state information and the transmitting progress information generated by the user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is the transmission progress information of the mirror image transmitting device transmitting the media stream of the transmission buffer area to the mirror image receiving device.
in this embodiment, the progress information is provided with the highest priority, and the play status information and the transmission progress information are subordinate to the progress information when the play progress of the video file is calculated. The progress information comprises information generated by fast forward and fast backward operations of a user. The playing state information comprises pause information and playing information, and is fed back to the mirror image transmitting device by the mirror image receiving device. The transmission progress information can be obtained by the mirror image transmitting device and does not need to be obtained from the mirror image receiving device. During calculation, the three variables are subjected to logic operation to obtain the final playing progress.
Step 104: and according to the playing progress, performing audio and video playing on the media stream in the local buffer area, and acquiring a corresponding volume parameter.
and during playing, audio and video separation is carried out on the media stream of the local buffer area to obtain corresponding audio and video, and corresponding volume parameters are extracted.
Step 105: and encapsulating the volume parameter, the playing progress and the media stream of the transmitting buffer area into a data packet, and sending the data packet to the mirror image receiving device.
In this embodiment, the encapsulation protocol is an existing transport protocol, and a description thereof will not be repeated.
Referring to fig. 2, fig. 2 is a schematic flowchart of another embodiment of a screen mirroring method for an intelligent terminal to play a network video according to the present invention. As shown in fig. 2, the method includes steps 201 to 204, which are specifically as follows:
step 201: receiving a data packet transmitted by a mirror image transmitting device, analyzing the data packet and acquiring transmission data; the transmission data comprises the media stream, the playing progress and the volume parameter of the video file.
In this embodiment, the transmission data includes a media stream for buffering playback and control information including a playback progress and volume parameters.
Step 202: and buffering the media stream, and judging whether the buffering progress of the media stream is greater than the playing progress. If so, step 203 is performed, otherwise, step 204 is performed.
step 203: and according to the playing progress, performing audio and video playing on the buffered media stream, and adjusting the volume according to the volume parameter.
Step 204: and sending play state information containing a pause message to the mirror image transmitting device to instruct the mirror image transmitting device to pause playing the video file.
as an example of this embodiment, after step 204, the screen mirroring method of the present invention further includes: when the buffering progress of the media stream is larger than the playing progress, performing audio and video playing on the buffered media stream according to the playing progress, and adjusting the volume according to the volume parameter; and sending play state information containing the play message to the mirror image transmitting device to instruct the mirror image transmitting device to continue playing the video file. If the playing progress is larger than the media stream buffering progress, the playing state information containing the pause message is sent to indicate the mirror image transmitting device to pause playing the video file, the buffering of the mirror image receiving device is waited, and the video file is not played again until the buffering progress is larger than the playing progress.
Correspondingly, referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of a screen image transmitting device for playing a network video by an intelligent terminal according to the present invention. The mirror image transmitting apparatus includes: a media stream acquiring module 301, a buffering module 302, a calculating module 303, a first playing module 304, a first receiving module 305 and a first sending module 306.
the media stream acquiring module 301 is configured to acquire a URL address of the video file, and acquire a media stream according to the URL address.
The buffering module 302 is used to store the media stream in a local buffer and a transmit buffer, respectively.
the calculation module 303 is configured to calculate a playing progress of the video file according to progress information, playing state information, and transmission progress information generated by a user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is transmission progress information that the first sending module 306 sends the media stream of the transmission buffer to the mirror image receiving apparatus.
the first playing module 304 is configured to perform audio/video playing on the media stream in the local buffer according to the playing progress, and acquire a corresponding volume parameter.
the first receiving module 305 is used for receiving the playing status information.
The first sending module 306 is configured to encapsulate the volume parameter, the play progress, and the media stream of the transmission buffer into a data packet, and send the data packet to the image receiving apparatus.
in this embodiment, the progress information is provided with the highest priority; when the calculation module 303 calculates the play progress of the video file, the play state information and the transmission progress information are subordinate to the progress information.
correspondingly, referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a screen image receiving apparatus for playing a network video by an intelligent terminal according to the present invention. As shown in fig. 4, the image receiving apparatus includes: a second receiving module 401, a judging module 402, a second playing module 403, a second sending module 404, a third playing module 405 and a third sending module 406.
the second receiving module 401 is configured to receive a data packet sent by the mirror image transmitting device, and analyze the data packet to obtain transmission data; the transmission data comprises the media stream, the playing progress and the volume parameter of the video file.
the determining module 402 is configured to buffer the media stream and determine whether the buffering progress of the media stream is greater than the playing progress.
The second playing module 403 is configured to, when the determining module 402 determines that the buffering progress of the media stream is greater than the playing progress, perform audio and video playing on the buffered media stream according to the playing progress, and adjust the volume according to the volume parameter.
The second sending module 404 is configured to send play status information including a pause message to the mirror image transmitting apparatus to instruct the mirror image transmitting apparatus to pause playing the video file when the determining module 402 determines that the buffering progress of the media stream is less than or equal to the playing progress.
The third playing module 405 is configured to, after the second transmitting module 404 sends the playing state information including the pause message to the mirror image transmitting device to indicate that the mirror image transmitting device pauses playing the video file, perform audio and video playing on the buffered media stream according to the playing progress when the buffering progress of the media stream is greater than the playing progress, and adjust the volume according to the volume parameter.
the third sending module 406 is configured to send play status information including a play message to the image transmitting apparatus to instruct the image transmitting apparatus to continue playing the video file.
As can be seen from the above, in the screen mirroring method and the transmitting and receiving device for playing the network video by the intelligent terminal according to the embodiments of the present invention, the mirroring transmitting device acquires the media stream, stores the media stream in the local buffer area and the transmitting buffer area, respectively, calculates the playing progress of the video file according to the progress information, the playing state information, and the transmitting progress information, and plays the video file according to the playing progress. Meanwhile, the media stream, the playing progress and the volume parameter of the transmitting buffer area are packaged into a data packet and then sent to the mirror image receiving device. After the mirror image receiving device analyzes the data packet to obtain the transmission data, the media stream in the transmission data is buffered. And if the buffering progress is greater than the playing progress, playing the video file, otherwise, sending playing state information containing a pause message to the mirror image transmitting device to indicate the mirror image transmitting device to pause playing the video file. Compared with the prior art that the media stream of the third-party server is directly acquired by the display device, the technical scheme of the invention can realize synchronous playing of the intelligent terminal and the display device, and a user can not stare at the display device, thereby being more beneficial to operating the mobile terminal and more convenient to control the playing progress of the video.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (8)

1. a screen mirroring method for playing a network video by an intelligent terminal is characterized by comprising the following steps:
Acquiring a URL (Uniform resource locator) address of a video file, and acquiring a media stream according to the URL address;
storing the media streams in a local buffer and a transmission buffer respectively;
Calculating the playing progress of the video file according to progress information, playing state information and transmitting progress information generated by user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is the transmission progress information of the mirror image transmitting device transmitting the media stream of the transmission buffer area to the mirror image receiving device; the progress information is provided with the highest priority, and when the playing progress of the video file is calculated, the playing state information and the transmitting progress information are subordinate to the progress information; the progress information comprises information generated by fast forward and fast backward operations of a user; the playing state information comprises a pause message and a playing message, and is fed back to the mirror image transmitting device by the mirror image receiving device; the transmission progress information can be obtained by a mirror image transmitting device and does not need to be obtained from a mirror image receiving device; the progress information, the playing state information and the transmitting progress information are subjected to logical operation to obtain a final playing progress;
According to the playing progress, audio and video playing is carried out on the media stream of the local buffer area, and a corresponding volume parameter is obtained;
and encapsulating the volume parameter, the playing progress and the media stream of the transmitting buffer area into a data packet, and sending the data packet to the mirror image receiving device.
2. The screen mirroring method for playing the network video by the intelligent terminal according to claim 1, wherein the progress information is provided with a highest priority;
And when the playing progress of the video file is calculated, the playing state information and the transmitting progress information are subordinate to the progress information.
3. A screen mirroring method for playing a network video by an intelligent terminal is characterized by comprising the following steps:
receiving a data packet transmitted by a mirror image transmitting device, analyzing the data packet and acquiring transmission data; the transmission data comprises media streams, playing progress and volume parameters of video files;
Buffering the media stream, and judging whether the buffering progress of the media stream is greater than the playing progress;
if yes, audio and video playing is carried out on the buffered media stream according to the playing progress, and the volume is adjusted according to the volume parameter;
Otherwise, sending play state information containing pause information to the mirror image transmitting device to indicate the mirror image transmitting device to pause playing the video file.
4. the screen mirroring method for the intelligent terminal to play the network video according to claim 3, wherein after sending the play status information including a pause message to the mirror transmitting apparatus to instruct the mirror transmitting apparatus to pause playing the video file, further comprising:
When the buffering progress of the media stream is larger than the playing progress, performing audio and video playing on the buffered media stream according to the playing progress, and adjusting the volume according to the volume parameter;
and sending play state information containing a play message to the mirror image transmitting device to indicate the mirror image transmitting device to continue playing the video file.
5. the utility model provides a screen image emitter of intelligent terminal broadcast network video which characterized in that includes: the device comprises a media stream acquisition module, a buffer module, a calculation module, a first playing module, a first receiving module and a first sending module;
The media stream acquisition module is used for acquiring a URL (uniform resource locator) address of a video file and acquiring a media stream according to the URL address;
The buffer module is used for storing the media stream in a local buffer area and a transmitting buffer area respectively;
the calculation module is used for calculating the playing progress of the video file according to the progress information, the playing state information and the transmitting progress information generated by the user operation; wherein, the playing state information is obtained by the feedback of the mirror image receiving device; the transmission progress information is the transmission progress information of the first sending module sending the media stream of the transmission buffer area to the mirror image receiving device;
The first playing module is used for carrying out audio and video playing on the media stream of the local buffer area according to the playing progress and acquiring a corresponding volume parameter;
The first receiving module is used for receiving the playing state information;
the first sending module is configured to encapsulate the volume parameter, the playing progress, and the media stream in the transmission buffer into a data packet, and send the data packet to the mirror image receiving device.
6. the screen image transmitting device for the intelligent terminal to play the network video according to claim 5, wherein the progress information is provided with the highest priority;
when the calculation module calculates the playing progress of the video file, the playing state information and the transmitting progress information are subordinate to the progress information.
7. The utility model provides a screen image receiving arrangement of intelligent terminal broadcast network video which characterized in that includes: the second receiving module, the judging module, the second playing module and the second sending module;
the second receiving module is used for receiving the data packet sent by the mirror image transmitting device, analyzing the data packet and acquiring transmission data; the transmission data comprises media streams, playing progress and volume parameters of video files;
the judging module is used for buffering the media stream and judging whether the buffering progress of the media stream is greater than the playing progress;
The second playing module is used for carrying out audio and video playing on the buffered media stream according to the playing progress when the judging module determines that the buffering progress of the media stream is greater than the playing progress, and adjusting the volume according to the volume parameter;
The second sending module is configured to send play status information including a pause message to the mirror image transmitting device to instruct the mirror image transmitting device to pause playing the video file when the determining module determines that the buffering progress of the media stream is less than or equal to the playing progress.
8. The screen image receiving device for playing the network video by the intelligent terminal according to claim 7, further comprising: a third playing module and a third sending module;
The third playing module is used for carrying out audio and video playing on the buffered media stream according to the playing progress and adjusting the volume according to the volume parameter after the second transmitting module transmits playing state information containing a pause message to the mirror image transmitting device so as to indicate the mirror image transmitting device to pause playing of the video file and when the buffering progress of the media stream is greater than the playing progress;
The third sending module is configured to send play status information including a play message to the image transmitting device to instruct the image transmitting device to continue playing the video file.
CN201610991375.8A 2016-11-10 2016-11-10 screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device Active CN106572115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610991375.8A CN106572115B (en) 2016-11-10 2016-11-10 screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610991375.8A CN106572115B (en) 2016-11-10 2016-11-10 screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device

Publications (2)

Publication Number Publication Date
CN106572115A CN106572115A (en) 2017-04-19
CN106572115B true CN106572115B (en) 2019-12-06

Family

ID=58541210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610991375.8A Active CN106572115B (en) 2016-11-10 2016-11-10 screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device

Country Status (1)

Country Link
CN (1) CN106572115B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8997137B2 (en) * 2011-12-16 2015-03-31 Verizon Patent And Licensing Inc. Stream control with different trick-mode protocols
CN103517153B (en) * 2012-11-30 2017-07-11 Tcl集团股份有限公司 It is a kind of to realize the method and system that multi-screen plays video with screen
CN104581361A (en) * 2013-10-09 2015-04-29 索尼公司 Method, device and system for multimedia playing control
CN104837048A (en) * 2015-05-08 2015-08-12 深圳市飞图视讯有限公司 Screen mirror implementation method and system
CN105979344A (en) * 2015-11-27 2016-09-28 乐视致新电子科技(天津)有限公司 Multimedia play method and player

Also Published As

Publication number Publication date
CN106572115A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
WO2017076143A1 (en) Method, apparatus, and system for switching video live stream to video-on-demand data
CN106664458B (en) Method for transmitting video data, source device and storage medium
CN108874337B (en) Screen mirroring method and device
KR102154800B1 (en) Data streaming method of electronic apparatus and electronic apparatus thereof
JP6522014B2 (en) Video remote commentary synchronization method and system and terminal device
US9148756B2 (en) Output of content from the internet on a media rendering device
US20140137168A1 (en) Transmitting apparatus, control method for transmitting apparatus, control program, and recording medium
KR101982243B1 (en) User terminal apparatus, electronic device and control method thereof
WO2017008627A1 (en) Multimedia live broadcast method, apparatus and system
KR101852893B1 (en) Information pushing method, device, and system
CN108200447B (en) Live broadcast data transmission method and device, electronic equipment, server and storage medium
US9979690B2 (en) Method and apparatus for social network communication over a media network
CN108932948B (en) Audio data processing method and device, computer equipment and computer readable storage medium
US10812865B2 (en) Network-based control of a media device
US10965969B2 (en) Method and apparatus for playing online television program
CN111526387B (en) Video processing method and device, electronic equipment and storage medium
CN111182342A (en) Media data playing method, device, equipment and storage medium based on DLNA
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
CN112533014A (en) Target article information processing and displaying method, device and equipment in live video
CN110677831B (en) Video projection method based on interconnection technology
CN110662017A (en) Video playing quality detection method and device
US10419865B2 (en) Methods and systems for rendering binaural audio content
CN106572115B (en) screen mirroring method for playing network video by intelligent terminal and transmitting and receiving device
CN106604085A (en) Video sharing method and video sharing device
CN112203116A (en) Video generation method, video playing method and related equipment

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
GR01 Patent grant
GR01 Patent grant