pion / example-webrtc-applications

Examples of WebRTC applications that are large, or use 3rd party libraries
https://pion.ly/
MIT License
1.05k stars 248 forks source link

fixing: panic: no element "audiotestsrc" #225

Closed danilofreitas closed 2 months ago

danilofreitas commented 2 months ago

Description

Without initialising gst the code does not run, throwing the following error:

panic: no element "audiotestsrc"

goroutine 1 [running]: main.pipelineForCodec({0x9293b6?, 0x3?}, {0xc0002a60e8, 0x1, 0x1}, {0x92bd1e?, 0x0?})

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (57b266b) to head (228bc22).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #225 +/- ## ======================================== Coverage 0.00% 0.00% ======================================== Files 27 10 -17 Lines 2067 347 -1720 ======================================== + Misses 2067 347 -1720 ``` | [Flag](https://app.codecov.io/gh/pion/example-webrtc-applications/pull/225/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | Coverage Δ | | |---|---|---| | [go](https://app.codecov.io/gh/pion/example-webrtc-applications/pull/225/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `?` | | | [wasm](https://app.codecov.io/gh/pion/example-webrtc-applications/pull/225/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | `0.00% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Sean-Der commented 2 months ago

Thank you @danilofreitas