WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
169216
Expose WebRTC current/pending description getters
https://bugs.webkit.org/show_bug.cgi?id=169216
Summary
Expose WebRTC current/pending description getters
youenn fablet
Reported
2017-03-06 14:12:58 PST
Following on
bug 168234
, we should tie current/pending description getters to libwebrtc
Attachments
Patch
(11.76 KB, patch)
2017-03-07 08:19 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2017-03-07 08:19:06 PST
Created
attachment 303654
[details]
Patch
Alex Christensen
Comment 2
2017-03-07 08:27:11 PST
Comment on
attachment 303654
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303654&action=review
> LayoutTests/webrtc/descriptionGetters-expected.txt:2 > +PASS description getters when changing description from video to video & data channel
I think we should print the description in the results so we can see what the description looks like and so we can see if we accidentally change the description format or something.
youenn fablet
Comment 3
2017-03-07 08:35:09 PST
The description will change all the time. We could print out a sanitized SDP though. We could also reuse the SDP parser from WebCore and add directly in the tests some SDP field checks.
youenn fablet
Comment 4
2017-03-07 08:42:17 PST
The SDP parser is at Source/WebCore/Modules/mediastream/sdp.js It is a good idea to add some libwebrtc-specifc tests that will check more deeply the different parameters. I'll add some in LayoutTests/webrtc/libwebrtc
WebKit Commit Bot
Comment 5
2017-03-07 09:15:10 PST
Comment on
attachment 303654
[details]
Patch Clearing flags on attachment: 303654 Committed
r213520
: <
http://trac.webkit.org/changeset/213520
>
WebKit Commit Bot
Comment 6
2017-03-07 09:15:13 PST
All reviewed patches have been landed. Closing bug.
Carlos Alberto Lopez Perez
Comment 7
2017-03-07 10:46:38 PST
The test webrtc/descriptionGetters.html added on
r213520
it is failing on GTK+ (We use OpenWebRTC instead of libwebrtc), and it seems this test is created to match the behaviour of the the current implementation based on libwebrtc. On GTK+ we are skipping all tests under webrtc/libwebrtc. So if when you add a test for something that depends on libwebrtc, and you add it under webrtc/libwebrtc, then on the GTK+ port we won't run into new unexpected failures. So.. do you think its a good idea if we move this test from webrtc/descriptionGetters.html to webrtc/libwebrtc/descriptionGetters.html ?
youenn fablet
Comment 8
2017-03-07 10:51:47 PST
(In reply to
comment #7
)
> The test webrtc/descriptionGetters.html added on
r213520
it is failing on > GTK+ (We use OpenWebRTC instead of libwebrtc), and it seems this test is > created to match the behaviour of the the current implementation based on > libwebrtc.
Ah right, it might be better to put it in libwebrtc for now. At the end of the day, we want that very same test, but matching the spec, and working with both libwebrtc and OpenWebRTC :)
> So.. do you think its a good idea if we move this test from > webrtc/descriptionGetters.html to webrtc/libwebrtc/descriptionGetters.html ?
yep
Carlos Alberto Lopez Perez
Comment 9
2017-03-07 11:06:58 PST
(In reply to
comment #8
)
> (In reply to
comment #7
) > > The test webrtc/descriptionGetters.html added on
r213520
it is failing on > > GTK+ (We use OpenWebRTC instead of libwebrtc), and it seems this test is > > created to match the behaviour of the the current implementation based on > > libwebrtc. > > Ah right, it might be better to put it in libwebrtc for now. > At the end of the day, we want that very same test, but matching the spec, > and working with both libwebrtc and OpenWebRTC :) >
Yes :)
> > So.. do you think its a good idea if we move this test from > > webrtc/descriptionGetters.html to webrtc/libwebrtc/descriptionGetters.html ? > > yep
Ok.. I will move it now. Thanks!
Carlos Alberto Lopez Perez
Comment 10
2017-03-07 11:16:20 PST
Committed
r213526
: <
http://trac.webkit.org/changeset/213526
>
youenn fablet
Comment 11
2017-03-07 11:24:24 PST
Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug