IP Library Granted Patent US 12,526,331
Granted Patent B2
US 12,526,331 · App. 17/734,229 · Granted Jan 13, 2026

Adaptive media streaming method and apparatus according to decoding performance

Inventors: Byung In Song (Seongnam-si, KR); Sweung Won Cheung (Seongnam-si, KR)
Assignee: Hanwha Vision Co., Ltd.
H04L65/764H04L65/61H04L65/65H04N21/23439H04N21/4516H04N21/6125H04N21/8173H04N21/8193H04N21/8456
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,526,331
App. No.
17/734,229
Granted
Jan 13, 2026
Kind
B2
Abstract

A method and apparatus for streaming media without installing a plug-in in a web browser are provided. When a JavaScript decoder is used to stream media without installing a plug-in, it is difficult to support decoding of high framerate and high resolution video due to the limitations of JavaScript. When streaming media using a video element of HTML5 without installing a plug-in, a compatibility issue with a conventional video capturing apparatus using RTSP/RTP and an initial delay problem due to a container of MPEG-DASH are inherent. The present disclosure presents an adaptive media streaming method and apparatus capable of performing streaming of high framerate and high resolution video without an initial delay and compatibility issues by addressing these drawbacks.

Claims (41)

1 . An adaptive media streaming apparatus comprising:

a receiver;

a video web worker;

a first video player;

a second video player;

the receiver receiving media data generated by a media service apparatus using a communication protocol which supports web services;

the video web worker configured to determine that a video codec used to encode video data in the media data is supported by a first video decoder and configured to determine that a decoding delay over a delay threshold has occurred in the first video player;

the first video player configured to decode a portion of the video data transmitted from the video web worker using a second video decoder; and

the second video player configured to decode another portion of the video data using the first video decoder upon determination that the video codec is supported by the first video decoder and upon determination that the decoding delay over the delay threshold has occurred, wherein

the first video decoder is embedded in a web browser of the adaptive media streaming apparatus that allows the adaptive media streaming apparatus to play the media data without installing a plug-in, and

the second video decoder is written in a script which is supported by the web browser that allows the adaptive media streaming apparatus to play the media data without installing a plug-in.

2 . The adaptive media streaming apparatus of claim 1 , wherein a decoding time measurer measures a frame rate of the video data being decoded by the first video player using a frames per second (FPS) meter to determine that the decoding delay of the first video player is over the delay threshold.

3 . The adaptive media streaming apparatus of claim 1 , further comprising:

an audio web worker determining that an audio codec of audio data included in the media data is supported by a first audio decoder embedded in the web browser;

a first audio player, in response to the audio codec of the audio data being unsupported by the first audio decoder embedded in the web browser, decoding the audio data transmitted from the audio web worker using a second audio decoder written in the script; and

a second audio player, in response to the audio codec of the audio data being supported by the first audio decoder embedded in the web browser, decoding the audio data transmitted from the audio web worker using the first audio decoder embedded in the web browser.

4 . The adaptive media streaming apparatus of claim 1 , wherein the script is JavaScript.

5 . The adaptive media streaming apparatus of claim 3 , wherein the first video decoder and the first audio decoder are a video tag and an audio tag, respectively, according to a HTML5 standard.

6 . The adaptive media streaming apparatus of claim 3 , wherein the video web worker is further configured to transmit the video data to the first video player or the second video player according to the video codec used to encode the video data and whether the decoding delay over the delay threshold has occurred, and

wherein the audio web worker is further configured to transmit the audio data to the first audio player or the second audio player according to the audio codec of the audio data.

7 . An adaptive media streaming apparatus comprising:

a receiver;

a video web worker;

a first video player;

a second video player;

the receiver receiving media data generated by a media service apparatus using a communication protocol which supports web services;

the video web worker configured to determine that a video codec used to encode video data in the media data is supported by a first video decoder and configured to determine that a decoding delay over a delay threshold has occurred in the first video player;

the first video player configured to decode a portion of the video data transmitted from the video web worker using a second video decoder; and

the second video player configured to decode another portion of the video data using the first video decoder upon determination that the video codec is supported by the first video decoder and upon determination that the decoding delay over the delay threshold has occurred, wherein

the first video decoder is embedded in a web browser of the adaptive media streaming apparatus, and

the second video decoder is written in a script which is supported by the web browser.

8 . The adaptive media streaming apparatus of claim 7 , wherein a decoding time measurer measures a frame rate of the video data being decoded by the first video player using a frames per second (FPS) meter to determine that the decoding delay of the first video player is over the delay threshold.

9 . The adaptive media streaming apparatus of claim 7 , wherein the video web worker is configured to adjust, through machine learning, a threshold value used for determining the decoding time received from a decoding time measurer.

10 . The adaptive media streaming apparatus of claim 7 , further comprising:

an audio web worker determining that an audio codec of audio data included in the media data is supported by a first audio decoder embedded in the web browser;

a first audio player, in response to the audio codec of the audio data being unsupported by the first audio decoder embedded in the web browser, decoding the audio data transmitted from the audio web worker using a second audio decoder written in the script; and

a second audio player, in response to the audio codec of the audio data being supported by the first audio decoder embedded in the web browser, decoding the audio data transmitted from the audio web worker using the first audio decoder embedded in the web browser.

11 . The adaptive media streaming apparatus of claim 7 , wherein the script is JavaScript.

12 . The adaptive media streaming apparatus of claim 10 , wherein the first video decoder and the first audio decoder are a video tag and an audio tag, respectively, according to a HTML5 standard.

13 . The adaptive media streaming apparatus of claim 10 , wherein the video web worker is further configured to transmit the video data to the first video player or the second video player according to the video codec used to encode the video data and whether the decoding delay over the delay threshold has occurred, and

wherein the audio web worker is further configured to transmit the audio data to the first audio player or the second audio player according to the audio codec of the audio data.

Assignments (1)
CHANGE OF NAME Recorded Aug 10, 2023
From: HANWHA TECHWIN CO., LTD.
To: HANWHA VISION CO., LTD.
Reel/Frame 064549/0075 →
Priority Claims (1)
KR 10-2016-0147633 · Nov 7, 2016 · national
Continuity (2)
Continuation 15660169 · Jul 26, 2017
Related Publication 20220263885A1 · Aug 18, 2022
References Cited (9)
US 20060220930A1 · Lee · 2006 [cited by examiner]
US 20110022984A1 · van der Meulen · 2011 [cited by examiner]
US 20160029002A1 · Balko · 2016 [cited by applicant]
US 20160088015A1 · Sivan · 2016 [cited by examiner]
US 20160173959A1 · Seema et al. · 2016 [cited by applicant]
US 20170070792A1 · Shaw · 2017 [cited by examiner]
US 20180103261A1 · Sun · 2018 [cited by examiner]
Guolei Zhu et al: “HTML 5 based media player for real-time video surveillance”, Image and Signal Processing (CSIP), 2012 5th International Congress on, IEEE, Oct. 16, 2012, pp. 245-248. [cited by applicant]
EP Summons issued on Feb. 9, 2023 for EPO Application 17 200 312.1. [cited by applicant]