-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to pion/webrtc/v4 #592
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #592 +/- ##
=======================================
Coverage 44.67% 44.67%
=======================================
Files 80 80
Lines 5498 5498
=======================================
Hits 2456 2456
Misses 2875 2875
Partials 167 167 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@3DRX thank you for your contribution!
I tried examples/webrtc
on this branch and got:
Connection State has changed checking
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Constrained Baseline, level 3.0, 4:2:0, 8-bit
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x7c973a]
goroutine 36 [running]:
github.com/pion/mediadevices.(*baseTrack).rtcpReadLoop(0x799320?, {0x0, 0x0}, {0x7f096db2a068, 0xc0002be3f0}, 0xc0002b51f0)
/home/at-wat/go/src/github.com/pion/mediadevices/track.go:252 +0x7a
created by github.com/pion/mediadevices.(*baseTrack).bind in goroutine 1
/home/at-wat/go/src/github.com/pion/mediadevices/track.go:235 +0x858
exit status 2
Does it work on you environment?
@at-wat thanks for review! I believe this is fixed by pion/webrtc@2553783, I'll update pion/webrtc to v4.0.5. |
Yeah, this works for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirmed the example works now!
Please run go mod tidy
under examples directory as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you for your contribution! |
Description
Migrate to pion/webrtc/v4, code changes:
webrtc.RtpTransceiverInit
towebrtc.RTPTransceiverInit
.