[Webkit-unassigned] [Bug 226481] [MSE] When mediaSample of the same pts and dts are received consecutively, the mediaSample received later are discarded.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 10 02:30:00 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226481

--- Comment #8 from Toshio Ogasawara <toshio.ogasawara at access-company.com> ---
If you create a MediaSample with one frame of video, such as a GTK port, you will not encounter this issue.
I created a mediasample from multiple frames of video on my own port I developed.

Example)
* "MediaSample = one frame"
ReceiveSample
  MediaSample-00:[frame00 PTS:0 DTS:0 Duration:1 Resolution:720 I-frame]
  MediaSample-01:[frame01 PTS:1 DTS:1 Duration:1 Resolution:720 P-frame]
  MediaSample-02:[frame02 PTS:2 DTS:2 Duration:1 Resolution:720 B-frame]

ReceiveSample
  MediaSample-03:[frame03 PTS:0 DTS:0 Duration:1 Resolution:480 I-frame]
  MediaSample-04:[frame04 PTS:1 DTS:1 Duration:1 Resolution:480 P-frame]
  MediaSample-05:[frame05 PTS:2 DTS:2 Duration:1 Resolution:480 B-frame]

* "MediaSample = multiple frame"
ReceiveSample
  MediaSample-00:[PTS:0 DTS:0 Duration:3 Resolution:720 I-frame
                  (frame00 PTS:0 DTS:0 Duration:1 Resolution:720 I-frame,
                   frame01 PTS:1 DTS:1 Duration:1 Resolution:720 P-frame,
                   frame02 PTS:2 DTS:2 Duration:1 Resolution:720 B-frame)]

ReceiveSample
  MediaSample-01:[PTS:0 DTS:0 Duration:3 Resolution:480 I-frame
                  (frame03 PTS:0 DTS:0 Duration:1 Resolution:480 I-frame,
                   frame04 PTS:1 DTS:1 Duration:1 Resolution:480 P-frame,
                   frame05 PTS:2 DTS:2 Duration:1 Resolution:480 B-frame)]

As mentioned above, didReceiveSample does not receive MediaSample with the same PTS and DTS consecutively when "MediaSample = one frame".
didReceiveSample may receive MediaSample with the same PTS and DTS consecutively when "MediaSample = multiple frame".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210610/bac18f46/attachment.htm>


More information about the webkit-unassigned mailing list