After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796387 - Update webrtctransceiver example to use multiple streams
Update webrtctransceiver example to use multiple streams
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-24 15:17 UTC by Andreas Frisch
Modified: 2018-11-03 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
modified example (adds an audio stream and checks caps) (7.23 KB, text/x-csrc)
2018-05-24 15:17 UTC, Andreas Frisch
  Details
Adds an audio stream and checks caps (2.52 KB, patch)
2018-05-24 15:33 UTC, Andreas Frisch
none Details | Review
webrtcbin: copy sticky events for new pads (947 bytes, patch)
2018-05-28 07:47 UTC, Andreas Frisch
none Details | Review
webrtc: Add audio to stream. Test case for bug #796387 (2.52 KB, patch)
2018-05-28 07:57 UTC, Andreas Frisch
none Details | Review

Description Andreas Frisch 2018-05-24 15:17:27 UTC
Created attachment 372389 [details]
modified example (adds an audio stream and checks caps)

I've noticed that my recvonly webrtcbin application breaks once I enabled the new ULPFEC/RED features. 

it's really easy to reproduce with this modified example of webrtctransceiver.c
it works when commenting out the ULPFEC/RED features. if they're enabled, the pad-added callback asserts because the pad's CAPS aren't fully set.
Comment 1 Andreas Frisch 2018-05-24 15:33:24 UTC
Created attachment 372391 [details] [review]
Adds an audio stream and checks caps
Comment 2 Andreas Frisch 2018-05-28 07:47:01 UTC
Created attachment 372441 [details] [review]
webrtcbin: copy sticky events for new pads

This patch from Mathieu fixes the issue for me
Comment 3 Andreas Frisch 2018-05-28 07:57:09 UTC
Created attachment 372442 [details] [review]
webrtc: Add audio to stream. Test case for bug #796387
Comment 4 Mathieu Duponchelle 2018-05-29 11:10:53 UTC
I have merged my patch as 33c7af8845c9f53c21c0c3f8ca20e26b58346317 , I have renamed this bug as I think we could merge the updated example as well, my only requirement for it would be to make sure FEC is only used for the video stream, this would make the example more generally useful :)
Comment 5 Jan Schmidt 2018-06-27 14:53:31 UTC
(In reply to Mathieu Duponchelle from comment #4)
> I have merged my patch as 33c7af8845c9f53c21c0c3f8ca20e26b58346317 , I have
> renamed this bug as I think we could merge the updated example as well, my
> only requirement for it would be to make sure FEC is only used for the video
> stream, this would make the example more generally useful :)

Cherry-pick to 1.14 for 1.14.2.

I guess the test-case change is still pending?
Comment 6 Mathieu Duponchelle 2018-06-28 17:03:19 UTC
(In reply to Jan Schmidt from comment #5)

> I guess the test-case change is still pending?

Not sure, Andreas ?
Comment 7 Andreas Frisch 2018-06-29 07:05:30 UTC
I couldn't figure out how to determine whether a transceiver was for the video or the audio stream. there's no CAPS set anywhere visible at the point :/
Comment 8 Mathieu Duponchelle 2018-07-03 22:54:57 UTC
(In reply to Andreas Frisch from comment #7)
> I couldn't figure out how to determine whether a transceiver was for the
> video or the audio stream. there's no CAPS set anywhere visible at the point
> :/

You would need to look at the SDP and compare with the transceiver's index iirc
Comment 9 GStreamer system administrator 2018-11-03 14:24:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/716.