Bug 200633 - [GStreamer] Deal with slow buffer consumption in GStreamerMediaStreamSource
Summary: [GStreamer] Deal with slow buffer consumption in GStreamerMediaStreamSource
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Thibault Saunier
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-12 10:43 PDT by Thibault Saunier
Modified: 2019-08-15 10:18 PDT (History)
3 users (show)

See Also:


Attachments
Patch (9.94 KB, patch)
2019-08-12 10:54 PDT, Thibault Saunier
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Saunier 2019-08-12 10:43:09 PDT
[GStreamer] Deal with slow buffer consumption in GStreamerMediaStreamSource
Comment 1 Thibault Saunier 2019-08-12 10:54:01 PDT
Created attachment 376077 [details]
Patch
Comment 2 Philippe Normand 2019-08-15 07:06:18 PDT
Comment on attachment 376077 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=376077&action=review

> Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:553
>  static gboolean webkitMediaStreamSrcSetupAppSrc(WebKitMediaStreamSrc* self,
> -    MediaStreamTrackPrivate* track, GstElement** element,
> +    MediaStreamTrackPrivate* track, WebKitMediaStreamSrc::SourceData* data,
>      GstStaticPadTemplate* pad_template, bool onlyTrack)

Where's the call site for this? I don't see it updated in this patch?
Comment 3 Thibault Saunier 2019-08-15 07:24:05 PDT
Comment on attachment 376077 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=376077&action=review

>> Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:553
>>      GstStaticPadTemplate* pad_template, bool onlyTrack)
> 
> Where's the call site for this? I don't see it updated in this patch?

In `webkitMediaStreamSrcAddTrack` - no need to update it here as it does:

>        res = webkitMediaStreamSrcSetupAppSrc(self, track, &self->audioSrc, &audioSrcTemplate, onlyTrack);

and `self->audioSrc` has been changed to `WebKitMediaStreamSrc::SourceData`.
Comment 4 WebKit Commit Bot 2019-08-15 10:17:59 PDT
Comment on attachment 376077 [details]
Patch

Clearing flags on attachment: 376077

Committed r248721: <https://trac.webkit.org/changeset/248721>
Comment 5 WebKit Commit Bot 2019-08-15 10:18:00 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-08-15 10:18:16 PDT
<rdar://problem/54351290>