Method and device for media data transmission and medium
By using HTTP header extensions and MIME multi-part messages in the DASH start method, the start process of real-time streaming is optimized, solving the initialization delay problem caused by multiple round-trip requests, and improving the start-up efficiency and user experience of live broadcasts. .
Patent Information
- Application Number
- CN202280081326.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-07
- Filing Date
- 2022-12-07
- Publication Date
- 2024-09-24
Smart Images

Figure CN118696536A
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate generally to video streaming technology, and more particularly, to start-up delay optimization in real-time media streaming. Background Art
[0002] Media streaming applications are typically based on Internet Protocol (IP), Transmission Control Protocol (TCP), and Hypertext Transfer Protocol (HTTP) transmission methods, and typically rely on file formats such as ISO Base Media File Format (ISOBMFF). One such streaming system is Dynamic Adaptive Streaming over HTTP (DASH). In DASH, video and / or audio data of multimedia content can have multiple representations, and different representations can correspond to different codec characteristics (e.g., different profiles or levels of video codec standards, different bit rates, different spatial resolutions, etc.). As real-time streaming services become more and more popular, DASH needs to be enhanced. Summary of the invention
[0003] Various embodiments of the present disclosure provide a solution for media data transmission.
[0004] In a first aspect, a method for media data transmission is provided. The method comprises: transmitting, at a first device, a request for at least one media data file to a second device, the request comprising a first indication, the first indication being used to indicate that multiple media data files are to be transmitted in a single message; and receiving, from the second device, the multiple media data files in the single message.
[0005] Based on the method according to the first aspect of the present disclosure, multiple media data files for presenting media content to a user can be received in a single message. Compared with conventional solutions that request and transmit these media data files in more than one round trip, the proposed method can advantageously reduce the number of round trips, thereby reducing initialization delays.
[0006] In a second aspect, another method for media data transmission is provided. The method includes: receiving a request for at least one media data file from a first device at a second device, the request including a first indication, the first indication being used to indicate that multiple media data files are to be transmitted in a single message; and transmitting the multiple media data files to the first device in the single message.
[0007] Based on the method according to the second aspect of the present disclosure, multiple media data files for presenting media content to a user can be transmitted in a single message. Compared with conventional solutions that request and transmit these media data files in more than one round trip, the proposed method can advantageously reduce the number of round trips, thereby reducing initialization delays.
[0008] In a third aspect, a device for processing video data is provided. The device for processing video data includes a processor and a non-volatile memory having instructions thereon. These instructions, when executed by the processor, cause the processor to perform a method according to the first or second aspect of the present disclosure.
[0009] In a fourth aspect, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores instructions for causing a processor to execute the method according to the first or second aspect of the present disclosure.
[0010] This summary is provided to introduce some concepts in a simplified form, which are further described in the following detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other purposes, features and advantages of the embodiments of the present disclosure will become more apparent through the following detailed description and with reference to the accompanying drawings. In the embodiments of the present disclosure, the same reference numerals generally refer to the same components.
[0012] Figure 1 A block diagram showing an example video encoding and decoding system according to some embodiments of the present disclosure is shown;
[0013] Figure 2 A block diagram illustrating a first example video encoder according to some embodiments of the present disclosure is shown;
[0014] Figure 3 A block diagram of an example video decoder according to some embodiments of the present disclosure is shown;
[0015] Figure 4A is a diagram showing a first part of an example of a DASH Tuning-in method response;
[0016] Figure 4B is a schematic diagram showing a second part of an example of a DASH start method response;
[0017] Figure 5A is a schematic diagram showing a first portion of an example process of a DASH start method using a content delivery network (CDN) when a required file is not cached;
[0018] Figure 5B is a schematic diagram showing the second part of an example process of a DASH start method using a CDN when a required file is not cached.
[0019] Figure 5Cis a schematic diagram showing the third part of an example flow of a DASH start method using a CDN when a required file is not cached.
[0020] Figure 5D is a schematic diagram showing the fourth part of an example flow of a DASH start method using a CDN when a required file is not cached.
[0021] Figure 6 A schematic diagram showing an example environment in which techniques for media data transmission according to some embodiments of the present disclosure may be implemented;
[0022] Figure 7 A signaling diagram showing the transmission of media data according to some embodiments of the present disclosure;
[0023] Figure 8 Another signaling diagram for media data transmission according to some embodiments of the present disclosure is shown;
[0024] Fig. 9 A flow chart showing a method for transmitting media data according to some embodiments of the present disclosure is shown;
[0025] Fig.10 A flowchart showing another method for transmitting media data according to some embodiments of the present disclosure; and
[0026] Fig.11 A block diagram of a computing device is shown in which various embodiments of the present disclosure may be implemented.
[0027] Throughout the drawings, same or similar reference numbers generally refer to same or similar elements. DETAILED DESCRIPTION
[0028] The principles of the present disclosure are now described in conjunction with some embodiments. It should be understood that these embodiments are described only for the purpose of illustrating and helping those skilled in the art to understand and implement the present disclosure, and do not imply any limitation on the scope of the present disclosure. In addition to the methods described below, the disclosure described herein can also be implemented in various ways.
[0029] In the following description and claims, unless defined otherwise, all scientific and technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present disclosure belongs.
[0030] References in this disclosure to "one embodiment," "an embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but not every embodiment must include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an example embodiment, whether or not explicitly described, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in relation to other embodiments.
[0031] It should be understood that although the terms "first" and "second" etc. can be used to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish one element from another element. For example, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element without departing from the scope of the exemplary embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.
[0032] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "including", "comprising", and / or "having" when used herein indicate the presence of the features, elements, and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, components, and / or combinations thereof.
[0033] Example Environment
[0034] Figure 1 1 is a block diagram illustrating an example video codec system 100 that may utilize the techniques of the present disclosure. As shown, the video codec system 100 may include a source device 110 and a destination device 120. The source device 110 may also be referred to as a video encoding device, and the destination device 120 may also be referred to as a video decoding device. In operation, the source device 110 may be configured to generate encoded video data, and the destination device 120 may be configured to decode the encoded video data generated by the source device 110. The source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.
[0035] Video source 112 may include a source such as a video capture device. Examples of a video capture device include, but are not limited to, an interface that receives video data from a video content provider, a computer graphics system for generating video data, and / or combinations thereof.
[0036] The video data may include one or more pictures. The video encoder 114 encodes the video data from the video source 112 to generate a bit stream. The bit stream may include a bit sequence that forms a coded representation of the video data. The bit stream may include coded pictures and associated data. The coded pictures are coded representations of pictures. The associated data may include sequence parameter sets, picture parameter sets, and other grammatical structures. The I / O interface 116 may include a modulator / demodulator and / or a transmitter. The coded video data may be directly transmitted to the destination device 120 via the network 130A via the I / O interface 116. The coded video data may also be stored on a storage medium / server 130B for access by the destination device 120.
[0037] The destination device 120 may include an I / O interface 126, a video decoder 124, and a display device 122. The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain encoded video data from the source device 110 or the storage medium / server 130B. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to the user. The display device 122 may be integrated with the destination device 120, or may be outside the destination device 120, which is configured to be connected to an external display device interface.
[0038] The video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Codec (HEVC) standard, the Versatile Video Codec (VVC) standard, and other existing and / or further standards.
[0039] Figure 2 is a block diagram showing an example of a video encoder 200 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video encoder 114 in the system 100 is shown.
[0040] Video encoder 200 may be configured to implement any or all of the techniques of this disclosure. Figure 2 In the example of , video encoder 200 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video encoder 200. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0041] In some embodiments, the video encoder 200 may include a partitioning unit 201, a prediction unit 202, a residual generation unit 207, a transformation unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transformation unit 211, a reconstruction unit 212, a buffer 213 and an entropy coding unit 214, and the prediction unit 202 may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-frame prediction unit 206.
[0042] In other examples, the video encoder 200 may include more, fewer, or different functional components. In one example, the prediction unit 202 may include an intra-block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode, where at least one reference picture is a picture where the current video block is located.
[0043] Furthermore, although some components (such as the motion estimation unit 204 and the motion compensation unit 205) may be integrated, for the purpose of explanation, these components are described in detail below. Figure 2 are shown separately in the example.
[0044] The partitioning unit 201 may partition a picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.
[0045] The mode selection unit 203 may select one of a plurality of codec modes (intra-frame coding or inter-frame coding), for example, based on the error result, and provide the generated intra-frame codec block or inter-frame codec block to the residual generation unit 207 to generate residual block data, and to the reconstruction unit 212 to reconstruct the codec block for use as a reference picture. In some examples, the mode selection unit 203 may select a combination of intra-frame and inter-frame prediction (CIIP) modes, where the prediction is based on an inter-frame prediction signal and an intra-frame prediction signal. In the case of inter-frame prediction, the mode selection unit 203 may also select a resolution for the motion vector (e.g., sub-pixel precision or integer pixel precision) for the block.
[0046] To perform inter-frame prediction on the current video block, the motion estimation unit 204 may generate motion information for the current video block by comparing the current video block with one or more reference frames from the buffer 213. The motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from the buffer 213 other than the picture associated with the current video block.
[0047] The motion estimation unit 204 and the motion compensation unit 205 may perform different operations on the current video block, for example, depending on whether the current video block is in an I slice, a P slice, or a B slice. As used herein, an "I slice" may refer to a portion of a picture consisting of macroblocks, all of which are based on macroblocks within the same picture. Furthermore, as used herein, in some aspects, a "P slice" and a "B slice" may refer to a portion of a picture consisting of macroblocks that are independent of macroblocks in the same picture.
[0048] In some examples, the motion estimation unit 204 may perform unidirectional prediction on the current video block, and the motion estimation unit 204 may search the reference pictures of list 0 or list 1 to find the reference video block for the current video block. The motion estimation unit 204 may then generate a reference index and a motion vector, the reference index indicating the reference picture in list 0 or list 1 containing the reference video block, and the motion vector indicating the spatial displacement between the current video block and the reference video block. The motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as the motion information of the current video block. The motion compensation unit 205 may generate a predicted video block for the current video block based on the reference video block indicated by the motion information of the current video block.
[0049] Alternatively, in other examples, the motion estimation unit 204 may perform bidirectional prediction on the current video block. The motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block, and may also search the reference pictures in list 1 for another reference video block for the current video block. The motion estimation unit 204 may then generate a plurality of reference indexes and a plurality of motion vectors, the plurality of reference indexes indicating a plurality of reference pictures in list 0 and list 1 containing a plurality of reference video blocks, and the plurality of motion vectors indicating a plurality of spatial displacements between the plurality of reference video blocks and the current video block. The motion estimation unit 204 may output the plurality of reference indexes and the plurality of motion vectors of the current video block as motion information of the current video block. The motion compensation unit 205 may generate a predicted video block for the current video block based on the plurality of reference video blocks indicated by the motion information of the current video block.
[0050] In some examples, motion estimation unit 204 may output a complete set of motion information for use in a decoding process by a decoder. Alternatively, in some embodiments, motion estimation unit 204 may signal motion information of a current video block with reference to motion information of another video block. For example, motion estimation unit 204 may determine that motion information of a current video block is sufficiently similar to motion information of a neighboring video block.
[0051] In one example, motion estimation unit 204 may indicate to video decoder 300 a value in a syntax structure associated with the current video block that indicates that the current video block has the same motion information as another video block.
[0052] In another example, the motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
[0053] As discussed above, the video encoder 200 may signal motion vectors in a predictive manner.Two examples of prediction signaling techniques that may be implemented by the video encoder 200 include Advanced Motion Vector Prediction (AMVP) and merge mode signaling.
[0054] The intra prediction unit 206 may perform intra prediction on the current video block. When the intra prediction unit 206 performs intra prediction on the current video block, the intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a prediction video block and various syntax elements.
[0055] The residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by a minus sign) the prediction video block(s) of the current video block from the current video block. The residual data of the current video block may include residual video blocks corresponding to different sample portions of samples in the current video block.
[0056] In other examples, such as in skip mode, there may be no residual data for the current video block, and the residual generation unit 207 may not perform a subtraction operation.
[0057] Transform processing unit 208 may generate one or more transform coefficient video blocks for a current video block by applying one or more transforms to the residual video block associated with the current video block.
[0058] After transform processing unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
[0059] The inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transform to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block. The reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more prediction video blocks generated by the prediction unit 202 to generate a reconstructed video block associated with the current video block for storage in the buffer 213.
[0060] After reconstruction unit 212 reconstructs the video block, a loop filtering operation may be performed to reduce video blocking artifacts in the video block.
[0061] The entropy coding unit 214 may receive data from other functional components of the video encoder 200. When the entropy coding unit 214 receives data, the entropy coding unit 214 may perform one or more entropy coding operations to generate entropy-coded data and output a bitstream including the entropy-coded data.
[0062] Figure 3 is a block diagram showing an example of a video decoder 300 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video decoder 124 in the system 100 is shown.
[0063] Video decoder 300 may be configured to perform any or all of the techniques of this disclosure. Figure 3 In the example of , video decoder 300 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video decoder 300. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0064] exist Figure 3 In the example of , the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, and a reconstruction unit 306 and a buffer 307. In some examples, the video decoder 300 can perform a decoding process that is generally opposite to the encoding process described with respect to the video encoder 200.
[0065] The entropy decoding unit 301 can retrieve the encoded bitstream. The encoded bitstream may include entropy encoded video data (e.g., encoded video data blocks). The entropy decoding unit 301 can decode the entropy encoded video data, and the motion compensation unit 302 can determine motion information from the entropy decoded video data, the motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. The motion compensation unit 302 can determine the information, for example, by performing AMVP and merge mode. AMVP is used, including deriving several most likely candidates based on data and reference pictures of adjacent PBs. The motion information typically includes horizontal and vertical motion vector displacement values, one or two reference picture indexes, and in the case of prediction areas in B strips, also includes an identification of which reference picture list is associated with each index. As used herein, in some aspects, "merge mode" may refer to deriving motion information from blocks that are adjacent in space or time.
[0066] The motion compensation unit 302 may generate motion compensated blocks, possibly performing interpolation based on interpolation filters.Identifiers for the interpolation filters used with sub-pixel precision may be included in the syntax elements.
[0067] The motion compensation unit 302 may calculate interpolated values for sub-integer pixels of a reference block using interpolation filters used by the video encoder 200 during encoding of the video block. The motion compensation unit 302 may determine the interpolation filters used by the video encoder 200 based on received syntax information, and the motion compensation unit 302 may use the interpolation filters to generate a prediction block.
[0068] The motion compensation unit 302 may use at least part of the syntax information to determine the size of blocks used to encode (multiple) frames and / or (multiple) slices of the encoded video sequence, partition information describing how each macroblock of a picture of the encoded video sequence is partitioned, a mode indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-frame coding block, and other information for decoding the encoded video sequence. As used herein, in some aspects, a "slice" may refer to a data structure that can be decoded independently of other slices of the same picture in terms of entropy coding, signal prediction, and residual signal reconstruction. A slice may be an entire picture, or it may be a region of a picture.
[0069] The intra prediction unit 303 may use, for example, an intra prediction mode received in the bitstream to form a prediction block from spatially neighboring blocks. The inverse quantization unit 304 inverse quantizes (i.e., dequantizes) the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 305 applies an inverse transform.
[0070] The reconstruction unit 306 may obtain the decoded block, for example, by adding the residual block to the corresponding prediction block generated by the motion compensation unit 302 or the intra prediction unit 303. If necessary, a deblocking filter may also be applied to filter the decoded block in order to remove blocking artifacts. The decoded video block is then stored in a buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction, and the buffer 307 also generates the decoded video for presentation on a display device.
[0071] Some example embodiments of the present disclosure will be described in detail below. It should be noted that the section titles used in this document are for ease of understanding, and the embodiments disclosed in the section are not limited to that section. In addition, although some embodiments are described with reference to general video codecs or other specific video codecs, the disclosed technology is also applicable to other video codec technologies. In addition, although some embodiments describe the video coding and decoding steps in detail, it should be understood that the corresponding decoding steps of the uncoding will be implemented by the decoder. In addition, the term video processing includes video coding or compression, video decoding or decompression, and video transcoding, in which video pixels are represented from one compression format to another compression format or at different compression bit rates.
[0072] 1. Overview
[0073] The present disclosure relates to video streaming. Specifically, the present disclosure relates to the definition of some new HTTP header extensions for minimizing initialization delay (i.e., start delay) in real-time media streaming. These ideas can be applied alone or in various combinations to media streaming systems, such as those based on the Dynamic Adaptive Streaming over HTTP (DASH) standard or its extensions.
[0074] 2. Background
[0075] 2.1 Video Codec Standards
[0076] Video codec standards have evolved primarily through the development of the well-known ITU-T and ISO / IEC standards. ITU-T produced H.261 and H.263, ISO / IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H.262 / MPEG-2 Video and H.264 / MPEG-4 Advanced Video Codec (AVC) and H.265 / HEVC standards. Since H.262, video codec standards are based on a hybrid video codec structure, which utilizes temporal prediction plus transform codec. In order to explore future video codec technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, JVET has adopted many new methods and incorporated them into a reference software called the Joint Exploration Model (JEM). JVET was later renamed the Joint Video Experts Group (JVET) when the Versatile Video Codec (VVC) project was officially launched. VVC is a new codec standard that aims to reduce bit rate by 50% compared to HEVC and was finalized by JVET at its 19th meeting that ended on July 1, 2020.
[0077] The Versatile Video Codec (VVC) standard (ITU-T H.266 | ISO / IEC 23090-3) and the associated Versatile Supplementary Enhancement Information (VSEI) standard (ITU-T H.274 | ISO / IEC 23002-7) are designed for the widest range of applications, including traditional uses such as TV broadcasting, video conferencing or playback from storage media, as well as newer and more advanced use cases such as adaptive bitrate streaming, video region extraction, combination and merging of content from multiple codec video bitstreams, multi-view video, scalable layered codecs and viewport-adaptive 360° immersive media.
[0078] The Essential Video Codec (EVC) standard (ISO / IEC 23094-1) is another video codec standard recently developed by MPEG.
[0079] 2.2 File Format Standards
[0080] Media streaming applications are typically based on IP, TCP, and HTTP transport methods and often rely on file formats, such as the ISO Base Media File Format (ISOBMFF). One such streaming system is Dynamic Adaptive Streaming over HTTP (DASH). In order to use video formats with ISOBMFF and DASH, file format specifications specific to the video formats, such as the AVC file format and the HEVC file format, are required to encapsulate the video content in ISOBMFF tracks and DASH representations and segments. Important information about the video bitstream, such as profile, tier, and level, and many other information, needs to be exposed in file format level metadata and / or DASH Media Presentation Description (MPD) for content selection purposes, such as for selecting appropriate media segments, for initialization at the start of a streaming session, and for stream adaptation during a streaming session.
[0081] Similarly, in order to use an image format with ISOBMFF, a file format specification specific to the image format would be required, such as the AVC image file format and the HEVC image file format.
[0082] The VVC video file format, a file format based on ISOBMFF for storing VVC video content, is currently being developed by MPEG.
[0083] The VVC image file format, a file format based on ISOBMFF for storing image content using the VVC codec, is currently being developed by MPEG.
[0084] 2.3DASH
[0085] In Dynamic Adaptive Streaming over HTTP (DASH), there may be multiple representations of video and / or audio data of multimedia content, and different representations may correspond to different codec characteristics (e.g., different profiles or levels of a video codec standard, different bit rates, different spatial resolutions, etc.). A list of such representations may be defined in a media presentation description (MPD) data structure. A media presentation may correspond to a structured set of data accessible to a DASH streaming client device. A DASH streaming client device may request and download media data information to present a streaming service to a user of the client device. A media presentation may be described in an MPD data structure, which may include updates to the MPD.
[0086] Media presentation can include a sequence of one or more periods. Each period can be extended until the beginning of the next period, or in the case of the last period, until the end of the media presentation. Each period can include one or more representations of the same media content. The representation can be one of multiple alternative coded versions of audio, video, timed text or other such data. These representations can differ due to the coding type, such as the bit rate, resolution and / or codec of video data and the bit rate, language and / or codec of audio data. The term "representation" can be used to refer to a portion of encoded audio or video data that corresponds to a specific period of multimedia content and is encoded in a specific manner.
[0087] Representations for a particular time period may be assigned to a group indicated by an attribute in the MPD indicating the adaptation set to which the representation belongs. Representations in the same adaptation set are generally considered to be alternatives to each other, because client devices can dynamically and seamlessly switch between these representations, for example, to perform bandwidth adaptation. For example, each representation of video data for a particular time period may be assigned to the same adaptation set, so that any representation may be selected for decoding to present media data of the multimedia content, such as video data or audio data, for the corresponding time period. In some examples, the media content within a time period may be represented by a representation from group 0 (if present) or a combination of at most one representation from each non-zero group. Timing data for each representation of a time period may be expressed relative to the start time of the time period.
[0088] A representation may include one or more segments. Each representation may include an initialization segment, or each segment of a representation may be self-initializing. When present, the initialization segment may contain initialization information for accessing the representation. In general, the initialization segment does not contain media data. A segment may be uniquely referenced by an identifier, such as a uniform resource locator (URL), a uniform resource name (URN), or a uniform resource identifier (URI). The MPD may provide an identifier for each segment. In some examples, the MPD may also provide a byte range in the form of a range attribute, which may correspond to data for a segment within a file accessible via a URL, URN, or URI.
[0089] Different representations may be selected to retrieve different types of media data substantially simultaneously. For example, a client device may select an audio representation, a video representation, and a timed text representation from which to retrieve a segment. In some examples, a client device may select a particular adaptation set to perform bandwidth adaptation. That is, a client device may select an adaptation set that includes a video representation, an adaptation set that includes an audio representation, and / or an adaptation set that includes timed text. Alternatively, a client device may select an adaptation set for certain types of media (e.g., video) and directly select representations for other types of media (e.g., audio and / or timed text).
[0090] The typical DASH streaming process is shown in the following steps:
[0091] 1) The client obtains MPD.
[0092] 2) The client estimates the downlink bandwidth and selects the video representation and the audio representation based on the estimated downlink bandwidth and the codec, decoding capability, display size, audio language setting, etc.
[0093] 3) Unless the end of the media presentation is reached, the client requests media segments of the selected representation and presents the streaming content to the user.
[0094] 4) The client continuously estimates the downlink bandwidth. When the bandwidth changes significantly in one direction (eg, becomes lower), the client selects a different video representation to match the new estimated bandwidth and goes to step 3.
[0095] 3. Question
[0096] In DASH-based live streaming, it is often difficult to guarantee a constant segment duration, especially when the live broadcast "anchor" is a user using a variety of mobile devices. The device's camera can capture video at different varying frame rates. Due to computing resource issues, the video encoder may skip a frame from time to time. Therefore, it is not always possible to use a simple and easy-to-use method based on the @duration attribute to specify a constant approximate segment duration. Therefore, many live streaming media services are forced to use the SegmentTimeline element.
[0097] However, using SegmentTimeline usually requires the client to request the latest MPD when starting a live streaming session. Basically, the client first requests the latest MPD to get the URL information of the latest Media Segment, then requests the Initialization Segment with the latest Media Segment and continues from there. This need for multiple round trips and multiple requests results in additional initialization latency (the delay between the time the user presses the "Start" / "Join" button and the time the first picture is displayed) compared to the case where the @duration attribute and a $number$-identifier-based URL template for the segments can be used.
[0098] 4. Detailed solution
[0099] In order to solve the above problems, the methods outlined below are disclosed. The solutions should be considered as examples to explain the general concept and should not be interpreted in a narrow way. In addition, these solutions can be applied alone or in combination in any way.
[0100] For convenience, each object (eg, MPD, initialization segment (IS), media segment (MS)) is referred to as a file in the following description.
[0101] To solve the above problems, one or more of the following methods are disclosed:
[0102] 1) A new method for clients to access real-time streaming media sessions is defined, called the DASH start method.
[0103] a. As a client, when the DASH start method is enabled, the client notifies the server that the client enables this method when requesting the MPD file, for example, by including a specific HTTP header in the request. If the client gets confirmation from the server that the DASH start method is also enabled, the client parses the MIME multipart message transmitted by the server, reads the files in the different parts of the MIME multipart message, and uses these files to initialize the player and start playing.
[0104] b. As a server, when the DASH start method is enabled, the server transmits the requested MPD file and all other files required for the client to access the real-time streaming session in a single response using a MIME multi-part message. The server can include multiple files into a MIME multi-part message as different parts of the message, such as an MPD, one or more ISs, and one or more MSs.
[0105] i. In one example, when using a CDN, MIME multipart messages should be generated by the CDN's edge servers rather than the origin servers. When generating MIME multipart messages, the edge servers should load the required files from their cache and only request the missing files from the origin server.
[0106] 1. In one example, additionally, when transmitting the MPD file to the CDN in an HTTP response, the origin server can inform the CDN what files should be included in the MIME multipart message to be transmitted from the CDN to the client, for example, by including the URL of the file in the HTTP response header.
[0107] 2. In one example, additionally, when transmitting a file to the CDN in an HTTP response, the origin server may inform the CDN of the type of the file, for example, by including the type of the file in an HTTP response header.
[0108] 3. In one example, additionally, when transmitting a file to the CDN in an HTTP response, the origin server can inform the CDN what identifier to use to construct the URL of the file, for example, by including the identifier in the HTTP response header.
[0109] 2) Defines a list of HTTP / MIME headers used for the DASH start method.
[0110] a. The Dash-Tuning-In-Enable header is used to inform the receiver of this header whether the sender of this header has enabled the DASH start method. The DASH start method is enabled for a streaming session only if both the client and the server have enabled the method. The DASH start method is considered enabled for the sender of this header if and only if the value of this header is set to 1, any other value or the absence of this header indicates that the DASH start method is disabled for the sender of this header.
[0111] b. The Origin-Dash-Tuning-In-Segment header is used to notify which segment or segments should be included in the MIME multi-part message when the DASH start method is used. This header may appear multiple times in an HTTP response; in this case, multiple segments should be included in the MIME multi-part message.
[0112] i. In one example, when using a CDN, the origin server can use this header to inform the CDN which segments should be included in the MIME multi-part message when the DASH start method is in use. The CDN's edge server must put the files of these segments into the MIME multi-part message in the order listed in the Origin-Dash-Tuning-In-Segment header.
[0113] c. The Dash-Tuning-In-File-Type header is used to inform the client of the file type. This makes it easier for the client to distinguish between files in a MIME multi-part message. Valid values are MPD (Media Presentation Description), IS (Initialization Segment), and MS (Media Segment).
[0114] i. In one example, when using the DASH start method, the server can inform the client what type of file is by adding this header to the multi-part message.
[0115] ii. In one example, when using a CDN, the origin server can use the
[0116] The HTTP header informs the CDN of the file type. When using the DASH streaming method, the CDN's edge server should carry the header to the client in a MIME multipart message.
[0117] d. Defines a list of HTTP / MIME headers used to signal identifiers used in URLs, called "Identifier headers".
[0118] i. The Dash-Tuning-In-Identifier-Representation-Id header is used to signal the representation id identifier of the file.
[0119] ii. Dash-Tuning-In-Identifier-Number is used to signal the number identifier of the file.
[0120] iii. Dash-Tuning-In-Identifier-Time is used to signal the time identifier of the file.
[0121] iv. Dash-Tuning-In-Identifier-Bandwidth is used to signal the bandwidth identifier of the file.
[0122] v. Dash-Tuning-In-Identifier-Sub-Number is used to signal the sub-number identifier of the file.
[0123] vi. In one example, when using the DASH start method, the server can notify the client of the identifier by adding an identifier header to the multi-part message. vii. In one example, when using a CDN, the origin server can use the identifier header to notify the CDN of the identifier. When using the DASH start method, the CDN's edge server should carry the identifier header to the client in the MIME multi-part message.
[0124] 5. Examples
[0125] Below are some example embodiments relating to some of the solution aspects summarized in Section 4 above.
[0126] 5.1 Example 1
[0127] This embodiment is applicable to item 1 and item 2, and is used to use the DASH start method without using a CDN.
[0128] When the client starts to start a live streaming session, the client requests an MPD file with the HTTP header Dash-Tuning-In-Enable and the value of the HTTP header is set to 1. If the server accepts the DASH start method, the server includes the HTTP header Dash-Tuning-In-Enable with the value set to 1 in the response and includes the requested MPD file and other necessary files for start in a MIME multipart message, such as IS files and MS files. For each file in the MIME multipart message, the server should inform the client of the type of the file using the Dash-Tuning-In-File-Type header and inform the client of the URL identifier using the Identifier header. Figure 4A and 4B The example of the DASH start method response is shown in FIG. Figure 4A and 4B More specifically, Figure 4A A first portion 400 shows an example of a DASH start method response, and Figure 4B A second portion 402 of an example of a DASH start method response is shown. It should be understood that the second portion 402 follows the first portion 400 and that the example of a DASH start method response is shown in two portions for illustration purposes only.
[0129] When the client receives the response, the client should check whether the server has enabled the DASH start method. If the DASH start method is enabled, the client parses the MIME multipart message, reads all the files within the different parts of the MIME multipart message, and uses these files to initialize the player, and then derives the URLs of subsequent MS files.
[0130] 5.2 Example 2
[0131] This is another implementation example of item 1 and item 2 for using the DASH start method by using a CDN.
[0132] When the client starts a live streaming session, it requests an MPD file with the HTTP header Dash-Tuning-In-Enable and sets the value to 1. If the CDN edge server accepts the DASH start method, it includes the HTTP header Dash-Tuning-In-Enable with the value set to 1 in the response, and includes the requested MPD file and other files required for start, such as IS files and MS files, in a MIME multipart message. For each file in the MIME multipart message, the server should inform the client of the file type using the Dash-Tuning-In-File-Type header and the URL identifier using the Identifier header.
[0133] However, the CDN may not be able to decide which files should be included in the MIME multi-part message. In this case, when the origin server transmits the MPD file to the CDN, it needs to inform the CDN which files should be included by carrying the URL of the file with the Origin-Dash-Tuning-In-Segment header. The CDN's edge server then includes the listed files in the MIME multi-part message in the order listed in the Origin-Dash-Tuning-In-Segment header. If any of the required files are missing from the CDN edge server's cache, the edge server requests the file from the origin server. If any of the required files are also missing from the origin server, the edge server should disable the DASH start method for this request by setting the Dash-Tuning-In-Enable header to 0 and only transmit the requested MPD file.
[0134] The CDN may not know the types and URL identifiers of these files. In this case, the origin server needs to transmit the file's type and URL identifier to the CDN using the Dash-Tuning-In-File-Type header and the Identifier header when transmitting each file to the CDN. The CDN's edge server should then include the Dash-Tuning-In-File-Type header and the Identifier header in the multipart message header, for example, Figures 5A-5D The example shown is shown. Figures 5A to 5D The figures collectively illustrate the process of a DASH start-up method using a CDN when a required file is not cached, and each figure illustrates a portion of an example process. More specifically, FIG. 5A to FIG. 5D A first portion 500 , a second portion 502 , a third portion 504 , and a fourth portion 506 , respectively, of an example process of a DASH start method using a CDN when a required file is not cached, are shown.
[0135] When the client receives the response, the client should check whether the DASH start method is enabled on the server and CDN. If the DASH start method is enabled, the client parses the MIME multipart message, reads all the files in the message, and uses these files to initialize the player, and then derives the URL of the subsequent MS.
[0136] More details of embodiments of the present disclosure are described below, which relate to Hypertext Transfer Protocol (HTTP) header extensions for start-up delay optimization in real-time media streaming.
[0137] As used herein, the term "media data file" may refer to a file associated with media data such as video data and / or audio data. In the case of Dynamic Adaptive Streaming over HTTP (DASH), the media data file may be a Multimedia Presentation Description (MPD), an Initialization Segment (IS), a Media Segment (MS), etc. It should be understood that the examples of media data files described herein are merely illustrative and thus should not be construed as limiting the present disclosure in any way.
[0138] For the purpose of discussion, Figure 6 6 shows a schematic diagram of an example environment 600 in which techniques for media data transmission according to some embodiments of the present disclosure may be implemented. Figure 6 As shown, environment 600 includes a first device 610 and a second device 620. The first device 610 and the second device 620 may be communicatively coupled. As an example and not limitation, the first device 610 and the second device 620 may be coupled via a network, which may be the Internet.
[0139] In some embodiments, the first device 610 may be a client or a media data recipient. The term "client" as used herein may refer to computer hardware or software that accesses services provided by a server as part of a client-server model of a computer network. By way of example only, the first device 610 may be a mobile device, such as a smartphone or a tablet computer.
[0140] In some embodiments, the second device 620 may be a server or a media data sender. The term "server" used herein may refer to a device with computing capabilities, in which case the client accesses the service through a network. As an example only, the second device 620 610 may be a physical computing device or a virtual computing device.
[0141] Figure 7A signaling diagram 700 for media data transmission according to some embodiments of the present disclosure is shown. The signaling diagram 700 involves a first device 610 and a second device 620. As an example and not limitation, the first device 610 may be a client, and the second device 620 may be a source device that prepares a media data file, or an edge device in a content delivery network (CDN).
[0142] In operation, the first device 610 transmits 705 a request for at least one media data file to the second device 620. The request includes a first indication indicating that multiple media data files will be transmitted in a single message. In some embodiments, the at least one media data file may be a manifest file associated with the media data, such as an MPD. Additionally or alternatively, the at least one media data file may include any other suitable file, such as an IS or MS. The scope of the present disclosure is not limited in this respect.
[0143] As an example and not limitation, the request may be an HTTP request, such as a GET request. In addition, the first indication may be an HTTP header, such as a Dash-Tuning-In-Enable header. In one example, if the Dash-Tuning-In-Enable header is set to 1, the indication should not only transmit the requested MPD in a single message, but also transmit all other media data files required for the first device 610 to start the real-time streaming service in a single message. It should be understood that the possible implementations of the first indication described herein are merely exemplary and therefore should not be construed as limiting the present disclosure in any way.
[0144] After receiving 710 the request from the first device 610, the second device 620 may load the plurality of media data files if these plurality of media data files are available at the second device 620. In some cases, a portion of the plurality of media data files may not be available at the second device 620. As an example and not limitation, the second device 620 may be an edge device in a CDN and store or cache a subset of the media data files prepared by an origin device in the CDN. In this case, the second device 620 may retrieve the missing media data files from a third device (e.g., an origin device). This will be referred to below Figure 8 It will be appreciated that the plurality of media data files may be obtained in any other suitable manner. The scope of the present disclosure is not limited in this respect.
[0145] The second device 620 transmits 715 the plurality of media data files in a single message to the first device 610 as a response to the request for at least one media data file. The first device 610 receives 720 the plurality of media data files in a single message.
[0146] From the above description, it can be seen that, as a response to a request for at least one media data file, multiple media data files can be transmitted in a single message. Compared with conventional solutions that request and transmit these media data files in more than one round trip, the proposed method can advantageously reduce the number of round trips, thereby reducing the initialization delay, i.e., the start delay.
[0147] In some embodiments, the single message can be a Multipurpose Internet Mail Extensions (MIME) message, the MIME message can include multiple parts, and the second device 620 can generate a MIME message by including multiple media data files as different parts in the MIME message. In other words, each of the multiple parts in the MIME message can include one of the multiple media data files. Thus, multiple media data files can be included in a single message in a well-organized manner. It should be noted that the single message can be any other suitable multi-part message. The scope of the present disclosure is not limited in this respect.
[0148] In some additional embodiments, a single message may include a second indication for indicating the file type of one of the multiple media data files. In some examples, the second indication may be an HTTP header, such as a Dash-Tuning-In-File-Type header. For example, the valid values of the Dash-Tuning-In-File-Type header may include "MPD" for media presentation description, "IS" for initialization segments, and "MS" for media segments. Thus, the first device 610 can more easily distinguish media data files within a single message. It should be understood that the second indication is an optional element rather than a required element of a single message, and the above examples are described for description purposes only. The scope of the present disclosure is not limited in this respect.
[0149] Additionally, the single message may also include a set of indications for constructing a file identifier of a first media data file in the plurality of media data files. In one example, the file identifier may be a uniform resource locator (URL). In another example, the file identifier may be a uniform resource name (URN). In a further example, the file identifier may be a uniform resource identifier (URI). Additionally, a set of indications may be a set of HTTP headers, which may also be referred to as identifier headers. It should be understood that a set of indications is an optional element of a single message, rather than a required element of a single message.
[0150] As an example and not a limitation, a set of indications may include an indication of a representation identity (ID) identifier of a first media data file (e.g., a Dash-Tuning-In-Identifier-Representation-Id header). A set of indications may also include an indication of a number identifier of a first media data file (e.g., a Dash-Tuning-In-Identifier-Number header). Additionally, a set of indications may include an indication of a time identifier of a first media data file (e.g., a Dash-Tuning-In-Identifier-Time header). In addition, a set of indications may include an indication of a bandwidth identifier of a first media data file (e.g., a Dash-Tuning-In-Identifier-Bandwidth header). Additionally, a set of indications may include an indication of a sub-number identifier of a first media data file (e.g., a Dash-Tuning-In-Identifier-Sub-Number header). Thus, the second device 620 may notify the first device 610 of the identifier used by the file identifier of the media data file, so that the file identifier of the media data file may be constructed more efficiently. It should be understood that the above examples are for descriptive purposes only. The scope of the present disclosure is not limited in this respect.
[0151] In another embodiment, the single message may include an eighth indication, which is used to indicate that multiple media data files are transmitted in a single message. The eighth indication may be an HTTP header, such as a Dash-Tuning-In-Enable header. Thus, the second device 620 can notify the first device 610 that the second device 620 also supports the proposed media data transmission method, which may also be referred to as a DASH start-up method. Accordingly, when receiving 720 the single message, the first device 610 can determine whether the single message includes the eighth indication. If the single message includes the eighth indication, the first device 610 can parse the single message, read the media data files in the message and use these files to initialize the media player and start playing.
[0152] With the help of the eighth indication, the first device 610 can more easily determine whether the second device 620 supports the DASH start method, so that the received message can be parsed more effectively. It should be understood that the eighth indication is an optional element, not a required element of a single message, and the above example is only for description purposes. The scope of the present disclosure is not limited in this respect.
[0153] Figure 8Another signaling diagram 800 for media data transmission according to some embodiments of the present disclosure is shown. The signaling diagram 800 includes a first device 610, a second device 620, and a third device 803. As an example and not a limitation, the first device 610 may be a client, the second device 620 may be an edge device in a CDN, and the third device 803 may be an origin device in the CDN. The edge device may be closer to the client than the origin device.
[0154] In operation, for example, when the first device 610 starts a real-time streaming service, the first device 610 transmits 805 a request for at least one media data file to the second device 620. The request includes a reference to Figure 7 After receiving 810 the request, the second device 620 may determine 815 whether each of the plurality of media data files is available at the second device 620. For example, the second device 620 may check whether each of the plurality of media data files is stored in a storage device (e.g., a cache) of the second device 620. If it is determined that the requested media data file is stored in the storage device, the second device 620 may load the requested media data file from the storage device.
[0155] For ease of discussion, assume that the second media data file and the third media data file of the plurality of media data files are not available at the second device 620. In this case, the second device 620 may transmit 820 a request for the second media data file to the third device 803. After receiving 825 the request from the second device 620, the third device 803 may transmit 830 a response to the second device 620. The response may include the requested second media data file.
[0156] In some embodiments, if the second device 620 cannot determine which media data files should be included in a single message to be transmitted from the second device 620 to the first device 610, the third device 803 can notify the second device 620 that the media data files are included in the single message in some way, including but not limited to carrying the ninth indication in the response. For example, the ninth indication can be an HTTP header, such as an Origin-Dash-Tuning-In-Segment header. In one example, the Origin-Dash-Tuning-In-Segment header may include the URL of a set of media data files to be transmitted from the second device 620 to the first device 610 in a single message. Alternatively, the Origin-Dash-Tuning-In-Segment header may appear multiple times in the response to indicate that multiple media data files should be transmitted from the second device 620 to the first device 610 in a single message. Thus, the second device 620 can transmit multiple media data files required by the first device 610 in a single message, thereby optimizing the start-up delay.
[0157] In some additional embodiments, the response may also include an indication of the file type of the second media data file (e.g., a Dash-Tuning-In-File-Type header) to notify the second device 620 of the type of the second media data file. Additionally or alternatively, the response may include an indication of a file identifier for constructing the second media data file (e.g., an identifier header) to notify the second device 620 which identifier should be used to construct the file identifier of the second media data file. It should be understood that the above illustrations are described for illustrative purposes only. The scope of the present disclosure is not limited in this respect.
[0158] After receiving 835 the second media data file, the second device 620 may also transmit 840 a request for the third media data file to the third device 803. Upon receiving 845 the request, the third device 803 may transmit 850 a response to the request to the second device 620, which response may include, for example, the third media data file and an indication (e.g., a Dash-Tuning-In-File-Type header) indicating a file type of the third media data file.
[0159] After receiving 855 the third media data file from the third device 803, the second device 620 may generate 860 a single message by including the plurality of media data files as different parts in the single message. In some embodiments, if the response received 835 from the third device 803 includes an Origin-Dash-Tuning-In-Segment header indicating the plurality of media data files to be included in the single message, the second device 620 may include the plurality of media data files. These plurality of media data files are arranged in the single message in the order indicated in the Origin-Dash-Tuning-In-Segment header to ensure good organization of the single message and facilitate parsing of the single message.
[0160] The second device 620 transmits 865 the single message to the first device 610. Upon receiving 870 the single message, the first device 610 may parse the single message, read the media data files within the message, and use the files to initialize a media player and begin playback.
[0161] Although the above reference Figure 7 and 8 Two example processes for media data transmission are described, but it should be noted that any other suitable variations of the media data transmission process are also conceivable in view of the present disclosure. For example, the requested at least one media data file can be first transmitted to the first device 610, and then multiple media data files can be transmitted to the first device 610 in a single message. The scope of the present disclosure is not limited in this respect.
[0162] Fig. 9 A flowchart of a method 900 of transmitting media data according to some embodiments of the present disclosure is shown. For the purpose of discussion, Figure 6 The method 900 is described from the perspective of the first device 610 as shown.
[0163] At 902, the first device 610 transmits a request for at least one media data file to the second device 620. The request includes a first indication indicating that multiple media data files will be transmitted in a single message. In some embodiments, the at least one media data file may include an MPD. The multiple media data files may include at least one of the following: an MPD, an IS, or an MS.
[0164] At 904, the first device 610 receives multiple media data files in a single message from the second device 620. In some embodiments, the first device 610 can receive multiple media data files in a MIME message. For example, the MIME message can include multiple parts. Each part can include one of the multiple media data files.
[0165] In some embodiments, the single message may include a second indication of a file type of one of the plurality of media data files. Additionally or alternatively, the single message may include a set of indications of a file identifier for constructing a first media data file in the plurality of media data files. In one example, the file identifier may be a URL.
[0166] By way of example and not limitation, the set of indications may include at least one of the following: a third indication indicating a representation ID identifier of the first media data file, a fourth indication indicating a number identifier of the first media data file, a fifth indication indicating a time identifier of the first media data file; a sixth indication indicating a bandwidth identifier of the first media data file; a seventh indication indicating a sub-number identifier of the first media data file. In some embodiments, the first indication, the second indication, and the set of indications may be HTTP headers.
[0167] In some embodiments, the first device 610 may determine whether the single message includes an eighth indication. The eighth indication is used to indicate that multiple media data files are transmitted in the single message. According to determining that the single message includes the eighth indication, the first device 610 may obtain multiple media data files by parsing the single message.
[0168] Fig.10 FIG. 1 is a flowchart of another media data transmission method 1000 according to some embodiments of the present disclosure. For the purpose of discussion, Figure 6 The method 1000 is described from the perspective of the second device 620 as shown.
[0169] At 1002, the second device 620 receives a request for at least one media data file from the first device 610. The request includes a first indication indicating that multiple media data files will be transmitted in a single message. In some embodiments, the at least one media data file may include an MPD. The multiple media data files may include at least one of the following: an MPD, an IS, or an MS.
[0170] At 1004, the second device 620 transmits the plurality of media data files in a single message to the first device 610. In some embodiments, the second device 620 may transmit the plurality of media data files in a MIME message. For example, the MIME message may include a plurality of parts, each of which may include one of the plurality of media data files.
[0171] In some embodiments, the second device 620 may determine whether a second media data file of the plurality of media data files is available at the second device 620. If it is determined that the second media data file is available at the second device 620, the second device 620 may generate a single message based on the second media data file. If it is determined that the second media data file is not available at the second device 620, the second device 620 may transmit a request for the second media data file to a third device for which the second media data file is available. The second device 620 may receive a response that may include the second media data file from the third device, and generate a single message based on the second media data file.
[0172] In some embodiments, the response may further include a ninth indication, which is used to indicate a group of media data files including multiple media data files. For example, the ninth indication may be an HTTP header, which may include a file identifier of a group of media data files. Multiple media data files may be included in a single message in the order indicated in the ninth indication. Additionally or alternatively, the response may further include a tenth indication, which is used to indicate a file type of a second media data file. In another embodiment, the response may further include an eleventh indication for constructing a file identifier of a second media data file.
[0173] In some embodiments, the single message may include a second indication of a file type of one of the plurality of media data files. Additionally or alternatively, the single message may include a set of indications of a file identifier for constructing a first media data file in the plurality of media data files. In one example, the file identifier may be a URL.
[0174] By way of example and not limitation, the set of indications may include at least one of: a third indication indicating a representation ID identifier of the first media data file, a fourth indication indicating a number identifier of the first media data file, a fifth indication indicating a time identifier of the first media data file, a sixth indication indicating a bandwidth identifier of the first media data file, or a seventh indication indicating a sub-number identifier of the first media data file. In another embodiment, a single message may include an eighth indication indicating that multiple media data files are transmitted in a single message. In some embodiments, the first indication, the second indication, and the set of indications may be HTTP headers.
[0175] Embodiments of the present disclosure may be described in terms of the following clauses, and features of these clauses may be combined in any reasonable way.
[0176] Item 1. A method for transmitting media data, comprising: transmitting a request for at least one media data file at a first device to a second device, the request comprising a first indication, the first indication being used to indicate that multiple media data files will be transmitted in a single message; and receiving the multiple media data files in the single message from the second device.
[0177] Clause 2. A method according to clause 1, wherein the at least one media data file comprises a multimedia presentation description (MPD), and the plurality of media data files comprises at least one of the following: an MPD, an initialization segment (IS), or a media segment (MS).
[0178] Clause 3. A method according to clause 1 or 2, wherein receiving the multiple media data files in the single message includes: receiving the multiple media data files in a Multipurpose Internet Mail Extensions (MIME) message.
[0179] Clause 4. A method according to clause 3, wherein the MIME message includes multiple parts, each part including one of the multiple media data files.
[0180] Clause 5. The method of any of Clauses 1 to 4, wherein the single message comprises a second indication indicating a file type of one of the plurality of media data files.
[0181] Clause 6. The method of any of Clauses 1 to 5, wherein the single message comprises a set of indications for constructing a file identifier for a first media data file of the plurality of media data files.
[0182] Clause 7. The method of Clause 6, wherein the file identifier is a uniform resource locator (URL).
[0183] Clause 8. A method according to clause 6 or 7, wherein the set of indications includes at least one of the following: a third indication for indicating a representation identity (ID) identifier of the first media data file, a fourth indication for indicating a number identifier of the first media data file, a fifth indication for indicating a time identifier of the first media data file, a sixth indication for indicating a bandwidth identifier of the first media data file, or a seventh indication for indicating a sub-number identifier of the first media data file.
[0184] Clause 9. The method of any one of clauses 6 to 8, wherein the first indication, the second indication, and the set of indications are Hypertext Transfer Protocol (HTTP) headers.
[0185] Clause 10. The method according to any one of clauses 1 to 9 further includes: determining whether the single message includes an eighth indication for indicating that the multiple media data files are transmitted in the single message; and if it is determined that the single message includes the eighth indication, obtaining the multiple media data files by parsing the single message.
[0186] Clause 11. A method for transmitting media data, comprising: receiving, at a second device, a request for at least one media data file from a first device, the request comprising a first indication, the first indication being used to indicate that multiple media data files will be transmitted in a single message; and transmitting the multiple media data files to the first device in the single message.
[0187] Clause 12. The method of clause 11, wherein the at least one media data file comprises a multimedia presentation description (MPD), and the plurality of media data files comprises at least one of: the MPD, an initialization segment (IS), or a media segment (MS).
[0188] Clause 13. The method of clause 11 or 12, wherein transmitting the plurality of media data files in the single message comprises transmitting the plurality of media data files in a Multipurpose Internet Mail Extensions (MIME) message.
[0189] Clause 14. The method of clause 13, wherein the MIME message comprises a plurality of parts, each part comprising one of the plurality of media data files.
[0190] Clause 15. The method of any one of clauses 11 to 14, wherein the second device comprises an edge device of a content delivery network (CDN) for transmission of media data.
[0191] Clause 16. The method according to any one of clauses 11 to 15 further includes: determining whether a second media data file among the multiple media data files is available at the second device; if it is determined that the second media data file is available at the second device, generating the single message based on the second media data file; and if it is determined that the second media data file is not available at the second device, transmitting a request for the second media data file to a third device, the second media data file being available to the third device, receiving a response including the second media data file from the third device, and generating the single message based on the second media data file.
[0192] Clause 17. The method of Clause 16, wherein the response further comprises a ninth indication for indicating a group of media data files comprising the plurality of media data files.
[0193] Clause 18. The method of Clause 17, wherein the ninth indication is an HTTP header, and the HTTP header includes a file identifier of the set of media data files.
[0194] Clause 19. The method of clause 17 or 18, wherein the plurality of media data files are included in the single message in the order indicated in the ninth indication.
[0195] Clause 20. The method of any one of clauses 16 to 19, wherein the response further comprises a tenth indication for indicating a file type of the second media data file.
[0196] Clause 21. A method according to any one of clauses 16 to 20, wherein the response further comprises an eleventh indication for constructing a file identifier of the second media data file.
[0197] Clause 22. The method of any one of clauses 11 to 21, wherein the single message comprises a second indication indicating a file type of one of the plurality of media data files.
[0198] Clause 23. The method of any one of clauses 11 to 22, wherein the single message comprises a set of indications for constructing a file identifier for a first media data file of the plurality of media data files.
[0199] Clause 24. The method of Clause 23, wherein the file identifier is a uniform resource locator (URL).
[0200] Clause 25. A method according to clause 23 or 24, wherein the set of indications includes at least one of the following: a third indication for indicating a representation identity (ID) identifier of the first media data file, a fourth indication for indicating a number identifier of the first media data file, a fifth indication for indicating a time identifier of the first media data file, a sixth indication for indicating a bandwidth identifier of the first media data file, or a seventh indication for indicating a sub-number identifier of the first media data file.
[0201] Clause 26. The method of any one of Clauses 22 to 25, wherein the first indication, the second indication, and the set of indications are HTTP headers.
[0202] Clause 27. The method of any one of clauses 11 to 26, wherein the single message comprises an eighth indication indicating that the plurality of media data files are transmitted in the single message.
[0203] Clause 28. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of clauses 1 to 27.
[0204] Clause 29. A non-transitory computer-readable storage medium storing instructions for causing a processor to perform the method of any one of clauses 1 to 27.
[0205] Device Examples
[0206] Fig.11 A block diagram of a computing device 1100 in which various embodiments of the present disclosure may be implemented is shown. The computing device 1100 may be implemented as a source device 110 (or video encoder 114 or 200) or a destination device 120 (or video decoder 124 or 300), or may be included in a source device 110 (or video encoder 114 or 200) or a destination device 120 (or video decoder 124 or 300).
[0207] It should be understood that Fig.11 The computing device 1100 shown in the figure is for illustration purposes only and is not intended to in any way imply any limitation on the functionality and scope of the embodiments of the present disclosure. Fig.11 As shown, computing device 1100 includes a general computing device 1100. Computing device 1100 may include at least one or more processors or processing units 1110, memory 1120, storage unit 1130, one or more communication units 1140, one or more input devices 1150, and one or more output devices 1160.
[0208] In some embodiments, the computing device 1100 can be implemented as any user terminal or server terminal with computing capabilities. The server terminal can be a server provided by a service provider, a large computing device, etc. The user terminal can be, for example, any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet computer, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device, or any combination thereof, and includes accessories and peripherals of these devices, or any combination thereof. It is conceivable that the computing device 1100 can support any type of interface to the user (such as a "wearable" circuit device, etc.).
[0209] The processing unit 1110 may be a physical processor or a virtual processor and may implement various processes based on a program stored in the memory 1120. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the computing device 1100. The processing unit 1110 may also be referred to as a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.
[0210] The computing device 1100 typically includes various computer storage media. Such media can be any media accessible by the computing device 1100, including but not limited to volatile media and non-volatile media, or removable media and non-removable media. The memory 1120 can be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (such as a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM) or flash memory) or any combination thereof. The storage unit 1130 can be any removable or non-removable medium, and can include machine-readable media, such as a memory, a flash drive, a disk, or other media that can be used to store information and / or data and can be accessed in the computing device 1100.
[0211] The computing device 1100 may also include additional removable / non-removable storage media, volatile / non-volatile storage media. Fig.11 Although not shown in the figure, a magnetic disk drive for reading from and / or writing to a removable nonvolatile magnetic disk and an optical disk drive for reading from and / or writing to a removable nonvolatile optical disk may be provided. In this case, each drive may be connected to the bus (not shown) via one or more data medium interfaces.
[0212] The communication unit 1140 communicates with another computing device via a communication medium. In addition, the functionality of the components in the computing device 1100 can be implemented by a single computing cluster or multiple computing machines that can communicate via a communication connection. Therefore, the computing device 1100 can operate in a networked environment using logical connections to one or more other servers, networked personal computers (PCs), or other general network nodes.
[0213] The input device 1150 may be one or more of various input devices, such as a mouse, keyboard, trackball, voice input device, etc. The output device 1160 may be one or more of various output devices, such as a display, a speaker, a printer, etc. With the help of the communication unit 1140, the computing device 1100 may also communicate with one or more external devices (not shown), such as storage devices and display devices, and the computing device 1100 may also communicate with one or more devices that enable a user to interact with the computing device 1100, or any device that enables the computing device 1100 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), if necessary. Such communication may be performed via an input / output (I / O) interface (not shown).
[0214] In some embodiments, some or all components of the computing device 1100 may also be arranged in a cloud computing architecture rather than being integrated in a single device. In a cloud computing architecture, components may be provided remotely and work together to implement the functions described in the present disclosure. In some embodiments, cloud computing provides computing, software, data access and storage services, which will not require the end user to know the physical location or configuration of the system or hardware that provides these services. In various embodiments, cloud computing provides services via a wide area network (e.g., the Internet) using a suitable protocol. For example, a cloud computing provider provides applications via a wide area network, which can be accessed through a web browser or any other computing component. The software or components of the cloud computing architecture and the corresponding data may be stored on a remote server. The computing resources in a cloud computing environment may be merged or distributed at the location of a remote data center. Cloud computing infrastructures may provide services through a shared data center, although they appear as a single access point for users. Therefore, cloud computing architectures may be used to provide components and functions described herein from a service provider at a remote location. Alternatively, they may be provided by a conventional server, or installed directly or otherwise on a client device.
[0215] In an embodiment of the present disclosure, the computing device 1100 may be used to implement video encoding / decoding. The memory 1120 may include one or more video encoding / decoding modules 1125 having one or more program instructions. These modules can be accessed and executed by the processing unit 1110 to perform the functions of the various embodiments described herein.
[0216] In an example embodiment performing video encoding, input device 1150 may receive video data as input to be encoded 1170. The video data may be processed, for example, by video codec module 1125 to generate an encoded bitstream. The encoded bitstream may be provided as output 1180 via output device 1160.
[0217] In an example embodiment performing video encoding, input device 1150 may receive video data as input 1170 to be encoded. The video data may be processed by, for example, video codec module 1125 to generate an encoded bitstream. The encoded bitstream may be provided as output 1180 via output device 1160.
[0218] Although the present disclosure has been specifically shown and described with reference to the preferred embodiments of the present disclosure, it will be understood by those skilled in the art that various changes can be made in form and detail without departing from the spirit and scope of the present application as defined by the appended claims. These changes are intended to be encompassed by the scope of the present application. Therefore, the foregoing description of the embodiments of the present application is not intended to be limiting.
Claims
1. A media data transmission method, comprising: transmitting, at a first device to a second device, a request for at least one media data file, the request comprising a first indication indicating that a plurality of media data files are to be transmitted in a single message; as well as The plurality of media data files are received in the single message from the second device.
2. The method according to claim 1, wherein the at least one media data file comprises a multimedia presentation description (MPD), and the plurality of media data files comprises at least one of the following: The MPD, The fragment is initialized, or Media fragment MS.
3. The method of claim 1 or 2, wherein receiving the plurality of media data files in the single message comprises: The plurality of media data files are received in a Multipurpose Internet Mail Extensions (MIME) message.
4. The method of claim 3, wherein the MIME message comprises a plurality of parts, each part comprising one of the plurality of media data files.
5. The method according to any one of claims 1 to 4, wherein the single message comprises a second indication for indicating a file type of one of the plurality of media data files.
6. The method according to any one of claims 1 to 5, wherein the single message comprises a set of indications for constructing a file identifier of a first media data file of the plurality of media data files. The method of claim 6 , wherein the file identifier is a uniform resource locator (URL).
8. The method according to claim 6 or 7, wherein the set of indications comprises at least one of the following: A third indication is used to indicate an identity ID identifier of the first media data file, a fourth indication, used to indicate a serial number identifier of the first media data file, a fifth indication, used to indicate a time identifier of the first media data file, a sixth indication, used to indicate a bandwidth identifier of the first media data file, or The seventh indication is used to indicate a sub-number identifier of the first media data file.
9. The method according to any one of claims 6 to 8, wherein the first indication, the second indication and the set of indications are Hypertext Transfer Protocol (HTTP) headers.
10. The method according to any one of claims 1 to 9, further comprising: determining whether the single message includes an eighth indication indicating that the plurality of media data files are transmitted in the single message; as well as If it is determined that the single message includes the eighth indication, the multiple media data files are obtained by parsing the single message.
11. A method for transmitting media data, comprising: receiving, at a second device, from a first device, a request for at least one media data file, the request comprising a first indication indicating that a plurality of media data files are to be transmitted in a single message; as well as The plurality of media data files are transmitted to the first device in the single message.
12. The method according to claim 11, wherein the at least one media data file comprises a multimedia presentation description (MPD), and the plurality of media data files comprises at least one of the following: The MPD, The fragment is initialized, or Media fragment MS.
13. The method of claim 11 or 12, wherein transmitting the plurality of media data files in the single message comprises: The plurality of media data files are transmitted in a Multipurpose Internet Mail Extensions (MIME) message.
14. The method of claim 13, wherein the MIME message comprises a plurality of parts, each part comprising one of the plurality of media data files.
15. The method according to any one of claims 11 to 14, wherein the second device comprises an edge device of a content delivery network (CDN) for transmission of media data.
16. The method according to any one of claims 11 to 15, further comprising: determining whether a second media data file among the plurality of media data files is available at the second device; generating the single message based on the second media data file if it is determined that the second media data file is available at the second device; as well as If it is determined that the second media data file is not available at the second device, transmitting a request for the second media data file to a third device, the second media data file being available to the third device, receiving a response including the second media data file from the third device, and The single message is generated based on the second media data file.
17. The method according to claim 16, wherein the response further comprises a ninth indication for indicating a group of media data files including the plurality of media data files.
18. The method of claim 17, wherein the ninth indication is an HTTP header, and the HTTP header comprises a file identifier of the set of media data files.
19. The method according to claim 17 or 18, wherein the plurality of media data files are included in the single message in the order indicated in the ninth indication.
20. The method according to any one of claims 16 to 19, wherein the response further comprises a tenth indication, the tenth indication being used to indicate a file type of the second media data file.
21. The method according to any one of claims 16 to 20, wherein the response further comprises an eleventh indication for constructing a file identifier of the second media data file.
22. The method according to any one of claims 11 to 21, wherein the single message comprises a second indication for indicating a file type of one of the plurality of media data files.
23. The method of any one of claims 11 to 22, wherein the single message comprises a set of indications for constructing a file identifier of a first media data file of the plurality of media data files.
24. The method of claim 23, wherein the file identifier is a uniform resource locator (URL).
25. The method of claim 23 or 24, wherein the set of indications comprises at least one of: A third indication is used to indicate an identity ID identifier of the first media data file, a fourth indication, used to indicate a serial number identifier of the first media data file, a fifth indication, used to indicate a time identifier of the first media data file, a sixth indication, used to indicate a bandwidth identifier of the first media data file, or The seventh indication is used to indicate a sub-number identifier of the first media data file.
26. The method according to any one of claims 22 to 25, wherein the first indication, the second indication and the set of indications are HTTP headers.
27. The method according to any one of claims 11 to 26, wherein the single message comprises an eighth indication for indicating that the plurality of media data files are transmitted in the single message.
28. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 27.
29. A non-transitory computer-readable storage medium storing instructions for causing a processor to execute the method according to any one of claims 1 to 27.
