CN111131849B - Streaming media live broadcast method and device and computer readable storage medium - Google Patents

Streaming media live broadcast method and device and computer readable storage medium Download PDF

Info

Publication number
CN111131849B
CN111131849B CN201911371648.9A CN201911371648A CN111131849B CN 111131849 B CN111131849 B CN 111131849B CN 201911371648 A CN201911371648 A CN 201911371648A CN 111131849 B CN111131849 B CN 111131849B
Authority
CN
China
Prior art keywords
live broadcast
video stream
request
playing
timestamp
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
CN201911371648.9A
Other languages
Chinese (zh)
Other versions
CN111131849A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911371648.9A priority Critical patent/CN111131849B/en
Publication of CN111131849A publication Critical patent/CN111131849A/en
Application granted granted Critical
Publication of CN111131849B publication Critical patent/CN111131849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a device for playing live streaming media and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining a playing request sent by a browser, sequentially executing two authority identifications on the playing request, and sending a target video stream stored under a playing address to the browser under the condition that the two authority identifications executed on the playing request are passed so that the browser plays the target video stream. By adopting the live streaming media playing method, the complex configurations that plug-ins are installed in a browser or the browser needs to support flash and the like can be avoided, the unauthorized user is prevented from watching live streaming, the safety of live streaming media is ensured, and the waste of flow can be prevented at the same time.

Description

Streaming media live broadcast method and device and computer readable storage medium
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a method and an apparatus for playing a live streaming media, and a computer-readable storage medium.
Background
With the development of internet technology and streaming media technology, more and more people are used to play streaming media live broadcast through a web browser, and the playing of streaming media live broadcast through the web browser has the advantages of convenience, rapidness, high real-time performance and the like.
Playing a live streaming media through a web browser requires providing a live source address for the live streaming media, which, in general, live broadcast source addresses of Streaming media include live broadcast source addresses in rtsp (Real Time Streaming Protocol) format or live broadcast source addresses in rtmp (Real Time Messaging Protocol) format, and in the prior art, for these live source addresses in rtsp or rtmp format, to play on the browser, some related plug-ins are required, and flash support is required, but current mainstream browsers are discarding flash, and in addition, for live broadcasting, it is also necessary to ensure the security of live broadcasting, for example, it is necessary to prevent a user from stealing related live broadcasting information, protect the privacy of the user and protect traffic, and how to safely play streaming media live broadcasting on a browser without support of flash and plug-in becomes a problem to be solved.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method, an apparatus, and a computer-readable storage medium for playing a live streaming media, which overcome the above problems or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a live streaming media playing method, which is applied to a live server, and the method includes:
acquiring a playing request sent by a browser, wherein the playing request carries a first timestamp, first encryption information and a playing address;
performing one-time authority identification on the playing request according to the first timestamp and the acquisition time of the playing request;
under the condition that the play request is subjected to primary authority authentication, performing secondary authority authentication on the play request according to the first timestamp, the first encryption information and a local preset secret key;
and under the condition that the secondary authority identification of the playing request passes, sending the target video stream stored in the playing address to the browser so that the browser plays the target video stream.
Optionally, before sending the target video stream saved under the play address to the browser, the method further includes:
acquiring a live broadcast request sent by a video source, wherein the live broadcast request carries a second timestamp, second encryption information and the live broadcast address;
performing one-time authority identification on the live broadcast request according to the second timestamp and the acquisition time of the live broadcast request;
under the condition that the one-time authority authentication of the live broadcast request is passed, performing secondary authority authentication on the live broadcast request according to the second encryption information of the second timestamp and the local preset secret key;
under the condition that the secondary authority identification of the live broadcast request is passed, acquiring a source video stream sent by the video source and storing the source video stream in the live broadcast address;
and converting the source video stream into the target video stream and storing the target video stream under the playing address.
Optionally, the converting the source video stream into the target video stream and storing the target video stream in the play address includes:
converting the rtsp video stream or the rtmp video stream into an m3u8 video stream and a websocket video stream;
and storing the m3u8 video stream and the websocket video stream under the playing address.
Optionally, performing a permission authentication on the play request according to the first timestamp and the acquisition time of the play request, including:
judging whether the time indicated by the first timestamp is after the acquisition time of the playing request;
wherein, in the case that the time indicated by the first timestamp is after the acquisition time of the play request, it is determined that one-time authorization authentication on the play request passes;
under the condition that the primary authority authentication of the playing request passes, performing secondary authority authentication on the playing request according to the first timestamp, the first encryption information and a local preset key, and including:
under the condition that the permission authentication of the playing request passes, processing the first timestamp and the local preset secret key through a preset encryption algorithm to obtain first comparison encryption information;
judging whether the first encryption information is matched with the first comparison encryption information;
and determining that the secondary authority authentication of the playing request passes under the condition that the first encryption information is matched with the first comparison encryption information.
The embodiment of the invention also discloses another streaming media live broadcast method which is applied to the conversion server and comprises the following steps:
acquiring a live broadcast identifier sent by a browser;
determining a playing address according to the live broadcast identification;
determining a first standard timestamp according to the acquisition time of the live broadcast identification and a preset time interval;
determining first standard encryption information according to the first standard timestamp, a local preset secret key and a preset encryption algorithm;
generating a playing request according to the playing address, the first standard timestamp and the first standard encryption information;
and sending the playing request to the browser so that the browser obtains the target video stream stored under the playing address from a live broadcast server according to the playing request, thereby playing the streaming media live broadcast corresponding to the target video stream.
Optionally, the method further comprises:
acquiring a live broadcast address sent by a video source;
determining a second standard timestamp according to the acquisition time of the live broadcast address and a preset time interval;
determining second standard encryption information according to the second standard timestamp and a preset encryption algorithm;
generating a live broadcast request according to the live broadcast address, the second standard timestamp and the second standard encryption information;
and sending the live broadcast request to the video source so that the video source sends a source video stream to the live broadcast server according to the live broadcast request, and the live broadcast server converts the source video stream into a target video stream and stores the target video stream in the play address.
The embodiment of the invention also discloses a streaming media live broadcast device, which is applied to a live broadcast server, and the device comprises:
the first obtaining module is used for obtaining a playing request sent by a browser, wherein the playing request carries a first timestamp, first encryption information and a playing address;
the first playing identification module is used for carrying out authority identification on the playing request once according to the first time stamp and the acquisition time of the playing request;
the second playing authentication module is used for performing secondary authority authentication on the playing request according to the first timestamp, the first encryption information and a local preset secret key under the condition that the primary authority authentication on the playing request passes;
and the first sending module is used for sending the target video stream stored in the playing address to the browser under the condition that the secondary authority identification of the playing request is passed, so that the browser plays the target video stream.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a live broadcast request sent by a video source, wherein the live broadcast request carries a second timestamp, second encryption information and the live broadcast address;
the first live broadcast identification module is used for carrying out one-time authority identification on the live broadcast request according to the second timestamp and the acquisition time of the live broadcast request;
the second live broadcast authentication module is used for performing secondary authority authentication on the live broadcast request according to the second encrypted information of the second timestamp and the local preset secret key under the condition that the primary authority authentication on the live broadcast request passes;
a third obtaining module, configured to obtain a source video stream sent by the video source and store the source video stream in the live broadcast address when the secondary authority authentication on the live broadcast request passes;
and the conversion module is used for converting the source video stream into the target video stream and storing the target video stream in the playing address.
Optionally, the source video stream is an rtsp video stream or an rtmp video stream, the destination video streams are an m3u8 video stream and a websocket video stream, and the conversion module includes:
the conversion sub-module is used for converting the rtsp video stream or the rtmp video stream into an m3u8 video stream and a websocket video stream;
and the storage submodule is used for storing the m3u8 video stream and the websocket video stream under the playing address.
Optionally, the first play authentication module includes:
the first judgment submodule is used for judging whether the time indicated by the first timestamp is behind the acquisition time of the playing request or not;
wherein, in the case that the time indicated by the first timestamp is after the acquisition time of the play request, determining that one permission authentication for the play request passes;
optionally, the second playback qualification module includes:
the processing module is used for processing the first timestamp and the local preset secret key through a preset encryption algorithm under the condition that the permission authentication of the play request passes once, so as to obtain first comparison encryption information;
a second judgment sub-module, configured to judge whether the first encrypted information and the first comparison encrypted information are matched;
and determining that the secondary authority authentication of the playing request passes under the condition that the first encryption information is matched with the first comparison encryption information.
The embodiment of the invention also discloses a streaming media live broadcast device, which is applied to the conversion server, and the device comprises:
the fourth acquisition module is used for acquiring the live broadcast identification sent by the browser;
the first determining module is used for determining a playing address according to the live broadcast identification;
the second determining module is used for determining a first standard timestamp according to the acquisition time of the live broadcast identifier and a preset time interval;
the third determining module is used for determining first standard encryption information according to the first standard timestamp, a local preset secret key and a preset encryption algorithm;
the generating module is used for generating a playing request according to the playing address, the first standard timestamp and the first standard encryption information;
and the second sending module is used for sending the playing request to the browser so that the browser obtains the target video stream stored under the playing address from a live broadcast server according to the playing request, and thus the streaming media live broadcast corresponding to the target video stream is played.
Optionally, the apparatus further comprises:
the fifth acquisition module is used for acquiring a live broadcast address sent by a video source;
the fourth determining module is used for determining a second standard timestamp according to the acquisition time of the live broadcast address and a preset time interval;
the fifth determining module is used for determining second standard encryption information according to the second standard timestamp and a preset encryption algorithm;
the second generation module is used for generating a live broadcast request according to the live broadcast address, the second standard timestamp and the second standard encryption information;
and the third sending module is used for sending the live broadcast request to the video source so as to enable the video source to send a source video stream to the live broadcast server according to the live broadcast request, and enable the live broadcast server to convert the source video stream into a target video stream and store the target video stream under the play address.
The embodiment of the invention also discloses a streaming media live broadcast device, which comprises:
one or more processors; and
one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a method for live streaming media playback according to any of the embodiments of the present invention.
The embodiment of the invention also discloses a computer readable storage medium, and the stored computer program enables a processor to execute the streaming media live broadcast method in the embodiment of the invention.
The embodiment of the invention has the following advantages:
in the embodiment, the playing request sent by the browser is acquired, the primary authority identification and the secondary authority identification are sequentially carried out on the playing request, and the target video stream stored under the playing address is sent to the browser under the condition that the two authority identifications are passed, so that the browser plays the target video stream.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for playing a live streaming media according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of another live streaming media playing method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for playing a live streaming media according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a structure of a live streaming media playing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of another structure of a live streaming media playing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
At present, mainstream browsers in the market, including Google, Firefox, Safari and the like, all have their own live streaming media playing protocols, and for live streaming media source formats, that is, live streaming sources in rtsp format (rtsp source for short) or live streaming sources in rtmp format (rtmp source for short), the browsers cannot be directly opened, that is, the browsers do not support the browsers to directly play the rtsp source and rtmp source.
In the prior art, for these rtsp sources or rtmp sources, playing on a browser requires some related plug-ins and flash support, but current mainstream browsers discard flash and remove plug-ins.
In addition, authentication services are essential for live broadcasting. The authentication service can prevent the user from stealing related live broadcast information, and protect the privacy and traffic protection of the user. Therefore, how to safely play the streaming media live broadcast on the browser without the support of flash and plug-in becomes a problem to be solved
Based on the above problems of the related art, one of the core concepts of the embodiments of the present invention is provided, and an authentication service is provided from a streaming media live source to the whole process of playing by a browser in a scenario where streaming media live is played on a browser which discards flash and is depacketized, so that streaming media live can be safely played on a browser which discards flash and is depacketized.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a live streaming media playing method according to an embodiment of the present invention, where the method is applied to a live streaming server, and the method specifically includes the following steps:
step S11, a play request sent by the browser is obtained, where the play request carries a first timestamp, first encryption information, and a play address.
And step S12, performing authority authentication on the play request according to the first timestamp and the acquisition time of the play request.
Step S13, when the first authorization authentication for the play request passes, performing a second authorization authentication for the play request according to the first timestamp, the first encryption information, and a local preset key.
And step S14, sending the target video stream stored in the play address to the browser when the secondary authority authentication on the play request passes, so that the browser plays the target video stream.
In this embodiment, the browser may be various browsers on various devices (pc, Android, ios), such as Chrome, Safari, Firefox, a built-in browser (WeChat, QQ), and the like, but it is directed to a scenario in which these browsers do not develop a browser plug-in nor support flash.
When the browser needs to play the streaming media live broadcast, firstly, a play request is sent to a live broadcast server, the live broadcast server can receive the play request sent by the browser, authority identification is carried out on the play request, if the authority identification is passed, a target video stream stored under a play address can be sent to the browser, after the browser receives the target video stream, the target video stream can be played, namely the streaming media live broadcast is played, the target video stream refers to a video stream corresponding to the streaming media live broadcast and directly played by the browser without using a plug-in or a flash, namely the video stream corresponding to the streaming media live broadcast and desired to be watched by a user in the browser.
For browsers which do not develop browser plug-ins and do not support flash, the formats of live broadcast sources supported by browsers of different systems are different, for example, live broadcast sources supported by browsers of an IOS platform are in m3u8 format, and browsers of a PC or Android platform can play live broadcast sources through websocket format. Therefore, in this embodiment, if the browser is of the IOS system platform, the format of the target video stream is m3u8 format, and if the browser is of the PC or Android platform, the format of the target video stream is websocket format.
In this embodiment, the play request received by the live broadcast server needs to have specific content, including the first timestamp, the first encryption information, and the play address, that is, only the play request including these three pieces of information can be parsed and processed by the live broadcast server.
After the live broadcast server analyzes the broadcast request, the live broadcast server executes two authority identification processes to the broadcast request, namely, one authority identification of the broadcast request and the secondary authority identification of the broadcast request are executed, the secondary authority identification is continued only when the one authority identification is passed, if the secondary authority identification is passed, the live broadcast server sends a target video stream stored under a broadcast address to the browser, and the browser can directly play the target video stream on the browser after receiving the target video stream.
If the primary authority identification is not passed or the secondary authority identification is not passed, the live broadcast server can send a verification failure message to the browser to inform that the browser fails in the authority identification and cannot watch live broadcast, so that a user using the browser can intuitively know that the user cannot watch the live broadcast of the streaming media.
Wherein, the one-time authority identification of the playing request is completed according to the first time stamp and the acquisition time of the playing request; and the secondary authority authentication of the playing request is completed according to the first timestamp, the first encryption information and a local preset secret key.
If the live broadcast is watched without authentication, everyone knows the live broadcast address and can watch the live broadcast, which causes the waste of traffic. Therefore, by adopting the method of the embodiment, by acquiring the playing request sent by the browser, the primary authority identification and the secondary authority identification are sequentially carried out on the playing request, and under the condition that the two authority identifications are passed, the target video stream stored under the playing address is sent to the browser, so that the browser plays the target video stream.
In an embodiment, the performing authority authentication on the play request according to the first timestamp and the obtaining time of the play request may specifically include the steps of: and judging whether the time indicated by the first time stamp is after the acquisition time of the playing request.
In this embodiment, the obtaining time of the play request refers to the time when the live broadcast server receives the play request sent by the browser, and the first timestamp is compared with the obtaining time of the play request to determine whether the one-time permission authentication of the play request passes, and if the time indicated by the first timestamp is after the obtaining time of the play request, the one-time permission authentication of the play request passes, so that the secondary permission authentication of the play request can be continuously performed according to the first timestamp, the first encryption information and a local preset key; and if the time indicated by the first timestamp is before the acquisition time of the playing request, determining that the primary authority authentication of the playing request is not passed, and at the moment, performing secondary authority authentication no longer, and sending the target video stream stored in the playing address to the browser.
The time indicated by the first timestamp represents the latest usage time of the play request, and if the time indicated by the first timestamp is after the acquisition time of the play request, for example, the first timestamp is 1577085371, the conversion is carried out to the beijing time of 2019-12-2315: 16:11, and the acquisition time of the play request is 2019-12-2315: 14:10, it is obvious that the time indicated by the first timestamp is after the acquisition time of the play request, which indicates that the play request is not expired, i.e. the right of the play request passes one time authentication. And checking whether the playing request is overdue or not, if the playing request is not overdue, performing secondary authority identification on the playing request, and if the playing request is overdue, re-acquiring the playing request by the browser and re-sending the playing request to the live broadcast server. For a legal user, the live broadcast identification is sent to the conversion server, so that the playing request is obtained from the conversion server according to the live broadcast identification.
The performing of the secondary authority authentication on the play request according to the first timestamp, the first encryption information, and the local preset key specifically may include the steps of:
step S21, the first timestamp and the local preset key are processed by a preset encryption algorithm to obtain first comparison encryption information.
Step S22, determining whether the first encrypted information and the first comparison encrypted information match.
In this embodiment, after passing the one-time authorization authentication of the play request, the live broadcast server may continue to combine the first time stamp with the local preset key, and then encrypt the combined first time stamp with the local preset key by using a preset encryption algorithm to obtain first comparison encryption information, after obtaining the first comparison information, the live broadcast server may compare the first comparison information with the first encryption information carried by the play request to determine whether the first encryption information matches the first comparison encryption information, if the first encryption information matches the first comparison encryption information, it is determined that the two-time authorization authentication of the play request passes, and may send the target video stream stored at the play address to the browser, and if the first encryption information does not match the first comparison encryption information, determining that the secondary authority authentication of the playing request is not passed, and at this time, not sending the target video stream stored in the playing address to the browser, but at this time, the live broadcast server can send a prompt message that the authority authentication is not passed to the browser, so that the user knows that the authority of the user is not passed through by the browser and cannot watch the live broadcast of the streaming media.
In this embodiment, the preset encryption algorithm may be an MD5 encryption algorithm, or may be other encryption algorithms, such as a symmetric encryption algorithm or an asymmetric encryption algorithm.
Combining the first timestamp with the local preset key may be a simple combination of two parts, for example simply concatenating the two parts, illustratively the first timestamp is 1577085371, the local preset key is 6ede8f117002ae948bf78fa86f526dd4c, and the combination is 1577085371-6ede8f17002ae948bf78fa86f526dd4 c.
In the embodiment, the permission identification is firstly carried out on the play request according to the first timestamp, and the secondary permission identification is carried out under the condition that the primary permission identification is passed.
In an embodiment, considering that the live server needs to store the target video stream, the live server can send the target video stream to the browser after the browser right authentication is passed, before the step S14, the method may further include the following steps:
and step S31, acquiring a live broadcast request sent by a video source, wherein the live broadcast request carries a second timestamp, second encryption information and the live broadcast address.
Step S32, according to the second time stamp and the acquisition time of the live broadcast request, carrying out one-time authority identification on the live broadcast request;
step S33, when the primary authority authentication on the live broadcast request passes, performing secondary authority authentication on the live broadcast request according to the second encryption information of the second timestamp and the local preset key;
step S34, under the condition that the secondary authority identification of the live broadcast request is passed, a source video stream sent by the video source is obtained and stored in the live broadcast address;
and step S35, converting the source video stream into the target video stream, and storing the target video stream in the play address.
In this embodiment, the source video stream is provided by a video source, and the video source may be from live broadcast software, such as OBS, or from streaming media providing rtsp source address or rtmp source address, such as video networking streaming media developed by a certain company.
When a video source issues streaming media live broadcast, a live broadcast request can be sent to a live broadcast server, after the live broadcast server receives the live broadcast request, authority identification can be carried out on the live broadcast request firstly, if the authority identification of the live broadcast request passes, the live broadcast server can allow the video source to issue the streaming media live broadcast, and the live broadcast server can acquire a source video stream sent by the video source.
The source video stream provided by the video source is in rtsp format or rtmp format, and neither rtsp format nor rtmp format can be directly played by the browser, so that after receiving the video stream in rtsp format or rtmp format, the live broadcast server firstly stores the video stream in rtsp format or rtmp format in a live broadcast address, then converts the video stream in rtsp format or rtmp format into a format that the browser supports direct playing, namely, the video stream in m3u8 format and the video stream in websocket format, and then stores the video stream in m3u8 format and the video stream in websocket format together in the broadcast address. That is, the live address stores the source video stream, and the play address stores the target video stream.
In this embodiment, the number of users facing the live platform is large, and a plurality of browser system platforms are used, so that it is necessary to store a video stream in m3u8 format and a video stream in websocket format in the live server at the same time.
In this embodiment, the live request received by the live server also needs to have specific content, including the second timestamp, the second encryption information, and the live address, that is, only the live request including these three pieces of information can be parsed and processed by the live server.
After the live broadcast server analyzes the live broadcast request, the live broadcast request can be subjected to two authority identification processes, namely, the live broadcast request primary authority identification and the live broadcast request secondary authority identification are carried out, only under the condition that the live broadcast request primary authority identification passes through, the live broadcast request secondary authority identification can be carried out continuously, if the live broadcast request secondary authority identification also passes through, the live broadcast server can obtain a source video stream sent by a video source and store the source video stream under a live broadcast address.
If the primary authority identification is not passed or the secondary authority identification is not passed, the live broadcast server can send a verification failure message to the video source to inform that the authority identification of the video source is failed and the live broadcast cannot be issued, so that a user of the video source can intuitively know that the user cannot issue the live broadcast of the streaming media.
Wherein, one-time authority identification of the live broadcast request is completed according to a second time stamp and the acquisition time of the live broadcast request; and the secondary authority authentication of the live broadcast request is completed according to the second timestamp, the second encryption information and a local preset secret key.
In this embodiment, the specific method for identifying the primary right of the broadcast request is substantially the same as the method for identifying the primary right of the broadcast request, and is not described herein again, and the specific method for identifying the secondary right of the broadcast request is substantially the same as the method for identifying the secondary right of the broadcast request, and is not described again, which may be referred to in the foregoing embodiments specifically.
In this embodiment, a Node-Media-Server service may be utilized to convert a video stream in rtmp format or a video stream in rtsp format into a video stream in m3u8 format and a video stream in websocket format. A Node-Media-Server service is a set of scripting services written in Node.
By acquiring a live broadcast request sent by a video source, the live broadcast request is sequentially subjected to primary authority identification and secondary authority identification, under the condition that the two authority identifications are passed, receiving a source video stream sent by a video source, processing the source video stream to obtain a target video stream, then storing the target video stream in a play address, so that the live broadcast server can send the target video stream to the browser after the authentication of the play request sent by the browser is passed, by adopting the method of the embodiment, can convert the source video stream into a target video stream which is directly played by the browser, avoids the complex configuration of installing a plug-in the browser or needing the browser to support flash and the like, meanwhile, the method can prevent unauthorized video sources from being released live, prevent the live server from receiving the video stream of illegal video sources and causing the pressure of the live server to be high, and ensure the safety of the live streaming of the streaming media.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of another live streaming media playing method according to an embodiment of the present invention, where the method is applied to a conversion server, and the method specifically includes the following steps:
and step S41, acquiring the live broadcast identification sent by the browser.
Step S42, determining a playing address according to the live broadcast identification;
step S43, determining a first standard timestamp according to the acquisition time of the live broadcast identification and a preset time interval;
step S44, determining first standard encryption information according to the first standard timestamp, a local preset secret key and a preset encryption algorithm;
step S45, generating a playing request according to the playing address, the first standard timestamp and the first standard encryption information;
step S46, sending the play request to the browser, so that the browser obtains the target video stream stored at the play address from a live broadcast server according to the play request, thereby playing the live broadcast of the streaming media corresponding to the target video stream.
In this embodiment, the play request of the legal user is generated by the conversion server and sent to the browser, so that, for the live broadcast process of the streaming media of the legal user, before the browser sends the play request to the live broadcast server, the browser needs to obtain the play request from the conversion server.
When a legal user wants to watch the live broadcast of the streaming media in a browser, the legal user needs to know the live broadcast identification of the watched live broadcast of the streaming media, the live broadcast identification can be a live broadcast ID or a live broadcast room number, after the user inputs the live broadcast identification into the browser, the browser sends the live broadcast identification to a conversion server, after the conversion server receives the live broadcast identification sent by the browser, the conversion server calls an interface of the conversion server according to the live broadcast identification to obtain a playing address corresponding to the live broadcast identification, and meanwhile, a first standard timestamp and first standard encryption information are generated, and finally, a playing request is generated according to the playing address, the first standard timestamp and the first standard encryption information.
Specifically, the conversion server adds the acquisition time of the live broadcast identifier to a preset time interval to generate a first standard timestamp. The preset time interval refers to how much time the play request is allowed to be used after acquiring the live identification. The first standard timestamp is generated by the conversion server, and the preset time interval refers to how much time the play request is allowed to be used after the live broadcast identifier is acquired, so the first standard timestamp is used for indicating the latest use time of the play request, and the time for using the play request exceeds the time indicated by the first standard timestamp, so the play request is invalid, that is, the live broadcast server does not pass the authentication of the play request once.
After the first standard timestamp is obtained, the first standard encryption information can be determined according to the first standard timestamp, the local preset secret key and the preset encryption algorithm. Specifically, the first standard timestamp and the local preset key are combined, and then the combined first standard timestamp and the local preset key are encrypted by using a preset encryption algorithm to obtain first standard encryption information.
The preset encryption algorithm may be an MD5 encryption algorithm, or may be other encryption algorithms, such as a symmetric encryption algorithm or an asymmetric encryption algorithm. In this embodiment, it needs to be ensured that the preset encryption algorithms used by the conversion server and the live broadcast server are the same, and the local preset keys in the conversion server and the live broadcast server are also the same, for example, the preset encryption algorithms used by the conversion server and the live broadcast server are both MD5 encryption algorithms, and the local preset keys in the conversion server and the live broadcast server are both 7ede812ca002ae948bf78fa86f526dd4 d.
Combining the first standard timestamp with the local preset key may be a simple combination of two parts, for example simply concatenating the two parts, illustratively the first timestamp is 1577085075 and the local preset key is 7ede812ca002ae948bf78fa86f526dd4d combined to 15770850757-ede812ca002ae948bf78fa86f526dd4 d.
After the playing address, the first standard timestamp and the first standard encryption information are respectively obtained, the conversion server may generate a playing request, that is, the playing request may be composed of the playing address, the first standard timestamp and the first standard encryption information.
Illustratively, the browser receives a play request, sends the play request to the live broadcast server, and if the play request is generated by the conversion server and the time indicated by the first timestamp in the play request is after the acquisition time of the live broadcast server for the play request, the browser may acquire the stored target video stream at the play address from the live broadcast server, thereby playing the streaming media corresponding to the target video stream.
In an implementation manner, the conversion server may further obtain a live broadcast address sent by a video source, and determine a second standard timestamp according to the obtaining time of the live broadcast address and a preset time interval; determining second standard encryption information according to the second standard timestamp and a preset encryption algorithm; generating a live broadcast request according to the live broadcast address, the second standard timestamp and the second standard encryption information; and sending the live broadcast request to the video source so that the video source sends a source video stream to the live broadcast server according to the live broadcast request, and the live broadcast server converts the source video stream into a target video stream and stores the target video stream in the play address.
In this embodiment, the second standard timestamp is used to indicate the latest usage time of the live broadcast request, and the time of using the play request exceeds the time indicated by the second standard timestamp, so that the live broadcast request fails, that is, the live broadcast server does not pass the authentication of the live broadcast request once.
In this embodiment, the generation method of the second standard timestamp is similar to that of the first standard timestamp, and is not described herein again, the generation method of the second standard encrypted information is similar to that of the first standard encrypted information, and is not described herein again, and the generation method of the live broadcast request is similar to that of the play request, and is not described herein again.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a method for playing a streaming media live broadcast according to an embodiment of the present invention, where fig. 3 includes a process of publishing the streaming media live broadcast through an OBS and a process of playing the streaming media live broadcast through a browser.
The process of releasing the streaming media live broadcast comprises the following steps: the OBS calls the conversion server to obtain a live broadcast request, then sends the live broadcast request to the live broadcast server for authority identification, sends a source video stream to the live broadcast server after the authority identification is passed, and the live broadcast server converts the source video stream into a target video stream and stores the target video stream.
And (3) playing the streaming media live broadcast: the browser calls the conversion server to obtain a playing request, then sends the playing request to the live broadcast server to perform authority identification, and acquires a target video stream from the live broadcast server after the authority identification is passed.
Based on the same technical concept, please refer to fig. 4, fig. 4 shows a live streaming media playing apparatus 50 according to an embodiment of the present invention, which is applied to a live server, and the apparatus includes:
a first obtaining module 51, configured to obtain a play request sent by a browser, where the play request carries a first timestamp, first encryption information, and a play address;
the first playing authentication module 52 is configured to perform a permission authentication on the playing request according to the first timestamp and the obtaining time of the playing request;
the second play authentication module 53 is configured to perform secondary authority authentication on the play request according to the first timestamp, the first encryption information, and a local preset key when the primary authority authentication on the play request passes;
and a first sending module 54, configured to send the target video stream stored in the playing address to the browser when the secondary authority authentication on the playing request passes, so that the browser plays the target video stream.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring a live broadcast request sent by a video source, wherein the live broadcast request carries a second timestamp, second encryption information and the live broadcast address;
the first live broadcast identification module is used for carrying out one-time authority identification on the live broadcast request according to the second timestamp and the acquisition time of the live broadcast request;
the second live broadcast authentication module is used for performing secondary authority authentication on the live broadcast request according to the second encryption information of the second timestamp and the local preset secret key under the condition that the primary authority authentication on the live broadcast request passes;
a third obtaining module, configured to obtain a source video stream sent by the video source and store the source video stream in the live broadcast address when the secondary authority authentication on the live broadcast request passes;
and the conversion module is used for converting the source video stream into the target video stream and storing the target video stream in the playing address.
Optionally, the source video stream is an rtsp video stream or an rtmp video stream, the destination video streams are an m3u8 video stream and a websocket video stream, and the conversion module includes:
the conversion sub-module is used for converting the rtsp video stream or the rtmp video stream into an m3u8 video stream and a websocket video stream;
and the storage submodule is used for storing the m3u8 video stream and the websocket video stream under the playing address.
Optionally, the first play authentication module includes:
the first judgment submodule is used for judging whether the time indicated by the first timestamp is behind the acquisition time of the playing request or not;
wherein, in the case that the time indicated by the first timestamp is after the acquisition time of the play request, it is determined that one-time authorization authentication on the play request passes;
optionally, the second playback qualification module includes:
the processing module is used for processing the first timestamp and the local preset secret key through a preset encryption algorithm under the condition that the permission authentication of the play request passes once, so as to obtain first comparison encryption information;
a second judgment sub-module, configured to judge whether the first encrypted information and the first comparative encrypted information match;
and determining that the secondary authority authentication of the playing request passes under the condition that the first encryption information is matched with the first comparison encryption information.
Based on the same technical concept, please refer to fig. 5, fig. 5 shows a live streaming media playing apparatus 60 according to an embodiment of the present invention, which is applied to a conversion server, and the apparatus includes:
a fourth obtaining module 61, configured to obtain a live broadcast identifier sent by the browser;
a first determining module 62, configured to determine a play address according to the live broadcast identifier;
a second determining module 63, configured to determine a first standard timestamp according to the acquisition time of the live broadcast identifier and a preset time interval;
a third determining module 64, configured to determine first standard encryption information according to the first standard timestamp, a local preset key, and a preset encryption algorithm;
a generating module 65, configured to generate a play request according to the play address, the first standard timestamp, and the first standard encryption information;
a second sending module 66, configured to send the play request to the browser, so that the browser obtains the target video stream stored in the play address from a live broadcast server according to the play request, and thus plays the live broadcast of the streaming media corresponding to the target video stream.
Optionally, the apparatus further comprises:
a fifth acquiring module, configured to acquire a live address sent by a video source;
the fourth determining module is used for determining a second standard timestamp according to the acquisition time of the live broadcast address and a preset time interval;
the fifth determining module is used for determining second standard encryption information according to the second standard timestamp and a preset encryption algorithm;
the second generation module is used for generating a live broadcast request according to the live broadcast address, the second standard timestamp and the second standard encryption information;
and the third sending module is used for sending the live broadcast request to the video source so as to enable the video source to send a source video stream to the live broadcast server according to the live broadcast request, and enable the live broadcast server to convert the source video stream into a target video stream and store the target video stream under the play address.
The embodiment of the present invention further provides a streaming media live broadcast device, including:
one or more processors; and
one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a method for live streaming media playback according to any of the embodiments of the present invention.
The embodiment of the invention also provides a computer-readable storage medium, and a stored computer program enables a processor to execute the live streaming media playing method according to the embodiment of the invention.
As for the embodiment of the streaming media live broadcast device, since it is basically similar to the embodiment of the streaming media live broadcast method, the description is relatively simple, and relevant points can be referred to only by referring to part of the description of the embodiment of the streaming media live broadcast method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The present invention provides a live streaming media playing method, a live streaming media playing device and a computer readable storage medium, which have been described in detail above, and specific examples are applied herein to explain the principle and implementation of the present invention, and the description of the above embodiments is only used to help understand the method and core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A live broadcast method of streaming media is applied to a live broadcast server, and comprises the following steps:
acquiring a playing request sent by a browser, wherein the playing request carries a first timestamp, first encryption information and a playing address;
performing one-time authority identification on the playing request according to the first timestamp and the acquisition time of the playing request;
under the condition that the play request is subjected to primary authority authentication, performing secondary authority authentication on the play request according to the first timestamp, the first encryption information and a local preset secret key;
under the condition that the secondary authority identification of the playing request is passed, sending the target video stream stored in the playing address to the browser so that the browser plays the target video stream;
wherein, according to the first timestamp and the acquisition time of the play request, performing a permission authentication on the play request, including:
judging whether the time indicated by the first timestamp is after the acquisition time of the playing request;
wherein, in the case that the time indicated by the first timestamp is after the acquisition time of the play request, it is determined that one-time authorization authentication on the play request passes;
under the condition that the primary authority authentication of the playing request passes, performing secondary authority authentication on the playing request according to the first timestamp, the first encryption information and a local preset key, and including:
under the condition that the permission authentication of the playing request passes, processing the first timestamp and the local preset secret key through a preset encryption algorithm to obtain first comparison encryption information;
judging whether the first encryption information is matched with the first comparison encryption information;
and determining that the secondary authority authentication of the playing request passes under the condition that the first encryption information is matched with the first comparison encryption information.
2. The method of claim 1, wherein before sending the target video stream saved under the play address to the browser, the method further comprises:
acquiring a live broadcast request sent by a video source, wherein the live broadcast request carries a second timestamp, second encryption information and a live broadcast address;
performing one-time authority identification on the live broadcast request according to the second timestamp and the acquisition time of the live broadcast request;
under the condition that the live broadcast request is subjected to primary authority authentication, performing secondary authority authentication on the live broadcast request according to the second encrypted information of the second timestamp and the local preset secret key;
under the condition that the secondary authority identification of the live broadcast request is passed, acquiring a source video stream sent by the video source and storing the source video stream in the live broadcast address;
and converting the source video stream into the target video stream and storing the target video stream under the playing address.
3. The method according to claim 2, wherein the source video stream is an rtsp video stream or an rtmp video stream, the destination video streams are an m3u8 video stream and a websocket video stream, and the converting the source video stream into the destination video stream and storing the destination video stream under the play address comprises:
converting the rtsp video stream or the rtmp video stream into an m3u8 video stream and a websocket video stream;
and storing the m3u8 video stream and the websocket video stream under the playing address.
4. A live streaming media playing method is applied to a conversion server, and comprises the following steps:
acquiring a live broadcast identifier sent by a browser;
determining a play address according to the live broadcast identification;
determining a first standard timestamp according to the acquisition time of the live broadcast identification and a preset time interval;
determining first standard encryption information according to the first standard timestamp, a local preset secret key and a preset encryption algorithm;
generating a playing request according to the playing address, the first standard timestamp and the first standard encryption information;
sending the playing request to the browser so that the browser obtains the stored target video stream under the playing address from a live broadcast server according to the playing request, and playing the streaming media live broadcast corresponding to the target video stream;
the method for determining the first standard encryption information according to the first standard timestamp, the local preset secret key and the preset encryption algorithm specifically comprises the following steps:
and combining the first standard timestamp with a local preset secret key, and encrypting the combined first standard timestamp and the local preset secret key by using a preset encryption algorithm to obtain first standard encryption information.
5. The method of claim 4, further comprising:
acquiring a live broadcast address sent by a video source;
determining a second standard timestamp according to the acquisition time of the live broadcast address and a preset time interval;
determining second standard encryption information according to the second standard timestamp and a preset encryption algorithm;
generating a live broadcast request according to the live broadcast address, the second standard timestamp and the second standard encryption information;
and sending the live broadcast request to the video source so that the video source sends a source video stream to the live broadcast server according to the live broadcast request, and the live broadcast server converts the source video stream into a target video stream and stores the target video stream in the play address.
6. A live broadcast device of streaming media is applied to a live broadcast server, and comprises:
the first obtaining module is used for obtaining a playing request sent by a browser, wherein the playing request carries a first timestamp, first encryption information and a playing address;
the first playing identification module is used for carrying out authority identification on the playing request once according to the first time stamp and the acquisition time of the playing request;
the second playing authentication module is used for performing secondary authority authentication on the playing request according to the first timestamp, the first encryption information and a local preset secret key under the condition that the primary authority authentication on the playing request passes;
a first sending module, configured to send, to the browser, a target video stream stored in the play address under the condition that the secondary permission authentication on the play request passes, so that the browser plays the target video stream;
wherein, according to the first timestamp and the acquisition time of the play request, performing a permission authentication on the play request, including:
judging whether the time indicated by the first timestamp is after the acquisition time of the playing request;
wherein, in the case that the time indicated by the first timestamp is after the acquisition time of the play request, it is determined that one-time authorization authentication on the play request passes;
under the condition that the primary authority authentication of the playing request passes, performing secondary authority authentication on the playing request according to the first timestamp, the first encryption information and a local preset key, and including:
under the condition that the permission authentication of the playing request passes, processing the first timestamp and the local preset secret key through a preset encryption algorithm to obtain first comparison encryption information;
judging whether the first encryption information is matched with the first comparison encryption information;
and determining that the secondary authority authentication of the playing request passes under the condition that the first encryption information is matched with the first comparison encryption information.
7. A live streaming media playing device is applied to a conversion server, and the device comprises:
the fourth acquisition module is used for acquiring the live broadcast identification sent by the browser;
the first determining module is used for determining a playing address according to the live broadcast identification;
the second determining module is used for determining a first standard timestamp according to the acquisition time of the live broadcast identifier and a preset time interval;
the third determining module is used for determining first standard encryption information according to the first standard timestamp, a local preset secret key and a preset encryption algorithm;
the generating module is used for generating a playing request according to the playing address, the first standard timestamp and the first standard encryption information;
a second sending module, configured to send the play request to the browser, so that the browser obtains, according to the play request, a target video stream stored at the play address from a live broadcast server, and thus plays a live broadcast of a streaming media corresponding to the target video stream;
the method for determining the first standard encryption information according to the first standard timestamp, the local preset secret key and the preset encryption algorithm specifically comprises the following steps:
and combining the first standard timestamp with a local preset secret key, and encrypting the combined first standard timestamp and the local preset secret key by using a preset encryption algorithm to obtain first standard encryption information.
8. A live streaming media playing device is characterized by comprising:
one or more processors; and
one or more computer-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform a method of live streaming media playback as recited in any of claims 1-5.
9. A computer-readable storage medium storing a computer program for causing a processor to execute the live streaming media playing method according to any one of claims 1 to 5.
CN201911371648.9A 2019-12-26 2019-12-26 Streaming media live broadcast method and device and computer readable storage medium Active CN111131849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371648.9A CN111131849B (en) 2019-12-26 2019-12-26 Streaming media live broadcast method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371648.9A CN111131849B (en) 2019-12-26 2019-12-26 Streaming media live broadcast method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111131849A CN111131849A (en) 2020-05-08
CN111131849B true CN111131849B (en) 2022-07-08

Family

ID=70503596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371648.9A Active CN111131849B (en) 2019-12-26 2019-12-26 Streaming media live broadcast method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111131849B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114071242A (en) * 2021-11-16 2022-02-18 重庆赛迪奇智人工智能科技有限公司 Video playing method, video pushing device and electronic equipment
CN115225934B (en) * 2022-07-25 2023-11-28 未来电视有限公司 Video playing method, system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101127A (en) * 2016-06-30 2016-11-09 Tcl集团股份有限公司 A kind of weight discriminating methods, devices and systems
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN110012301A (en) * 2018-01-04 2019-07-12 武汉斗鱼网络科技有限公司 A kind of method for authenticating and device of video flowing address
CN110121112A (en) * 2019-05-14 2019-08-13 重庆商勤科技有限公司 A kind of video playing control method based on browser, system and device
CN110234020A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 Video broadcasting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682014A (en) * 2011-03-14 2012-09-19 腾讯科技(深圳)有限公司 Open-type plug-in module management platform implemented on browser and open-type plug-in module management method
US10979785B2 (en) * 2017-01-20 2021-04-13 Hanwha Techwin Co., Ltd. Media playback apparatus and method for synchronously reproducing video and audio on a web browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101127A (en) * 2016-06-30 2016-11-09 Tcl集团股份有限公司 A kind of weight discriminating methods, devices and systems
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN110012301A (en) * 2018-01-04 2019-07-12 武汉斗鱼网络科技有限公司 A kind of method for authenticating and device of video flowing address
CN110234020A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 Video broadcasting method and device
CN110121112A (en) * 2019-05-14 2019-08-13 重庆商勤科技有限公司 A kind of video playing control method based on browser, system and device

Also Published As

Publication number Publication date
CN111131849A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
US20230007364A1 (en) System and method for signaling security and database population
CN106571951B (en) Audit log obtaining method, system and device
CN101534433B (en) Streaming media encryption method
US20180249190A1 (en) Method and apparatus for cloud storage and cloud download of multimedia data
CN105939484A (en) Audio/video encrypted playing method and system thereof
CN102143129B (en) Method and system for realizing service protection in hyper text transmission protocol (HTTP) streaming transmission
CN107613316B (en) Live network push stream verification method and system
US8279342B2 (en) System for receiving and storing broadcast content, and device for reception and storage
CN102281300A (en) digital rights management license distribution method and system, server and terminal
CN113128999B (en) Block chain privacy protection method and device
CN111131849B (en) Streaming media live broadcast method and device and computer readable storage medium
CN101977190A (en) Digital content encryption transmission method and server side
JP2009505243A (en) Cancellation information management
CN111953656B (en) Method, device, equipment and medium for monitoring video encryption transmission
JP2015524178A (en) Method and apparatus for sending and receiving messages for downloadable CAS or DRM in MMT
CN103237010B (en) The server end of digital content is cryptographically provided
CN109996095A (en) Method, system and medium for preventing stealing link playing in network video on demand
CN104298896A (en) Method and system for managing and distributing digital rights
CN107888623B (en) Method and device for preventing hijacking of audio and video data streams of live broadcast software
KR102586219B1 (en) Authentication of digital broadcast data
CN110868641B (en) Method and system for detecting validity of live broadcast source
EP3627361B1 (en) Media content control
CN108235067B (en) Authentication method and device for video stream address
CN113114610B (en) Stream taking method, device and equipment
KR20150104949A (en) Apparatus for protecting of digital cinema contents and method thereof

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