-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Description
Hi,
I tried installing version 0.11.0-nightly-6dcac64-20251122 with the ffmpeg disable flag in app.config.js.
When setting the flag to true, I encountered an error during the expo prebuild step.
I know this is not a stable version, but I just wanted to let you know.
› Compiling react-native-audio-api Pods/RNAudioAPI » StreamerNode.cpp
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:26:7)
24 | StreamerNode::StreamerNode(BaseAudioContext *context)
25 | : AudioScheduledSourceNode(context),
> 26 | fmtCtx_(nullptr),
| ^ member initializer 'fmtCtx_' does not name a non-static data member or base class
27 | codecCtx_(nullptr),
28 | decoder_(nullptr),
29 | codecpar_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:27:7)
25 | : AudioScheduledSourceNode(context),
26 | fmtCtx_(nullptr),
> 27 | codecCtx_(nullptr),
| ^ member initializer 'codecCtx_' does not name a non-static data member or base class
28 | decoder_(nullptr),
29 | codecpar_(nullptr),
30 | pkt_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:28:7)
26 | fmtCtx_(nullptr),
27 | codecCtx_(nullptr),
> 28 | decoder_(nullptr),
| ^ member initializer 'decoder_' does not name a non-static data member or base class
29 | codecpar_(nullptr),
30 | pkt_(nullptr),
31 | frame_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:29:7)
27 | codecCtx_(nullptr),
28 | decoder_(nullptr),
> 29 | codecpar_(nullptr),
| ^ member initializer 'codecpar_' does not name a non-static data member or base class
30 | pkt_(nullptr),
31 | frame_(nullptr),
32 | swrCtx_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:30:7)
28 | decoder_(nullptr),
29 | codecpar_(nullptr),
> 30 | pkt_(nullptr),
| ^ member initializer 'pkt_' does not name a non-static data member or base class
31 | frame_(nullptr),
32 | swrCtx_(nullptr),
33 | resampledData_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:31:7)
29 | codecpar_(nullptr),
30 | pkt_(nullptr),
> 31 | frame_(nullptr),
| ^ member initializer 'frame_' does not name a non-static data member or base class
32 | swrCtx_(nullptr),
33 | resampledData_(nullptr),
34 | bufferedBus_(nullptr),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:32:7)
30 | pkt_(nullptr),
31 | frame_(nullptr),
> 32 | swrCtx_(nullptr),
| ^ member initializer 'swrCtx_' does not name a non-static data member or base class
33 | resampledData_(nullptr),
34 | bufferedBus_(nullptr),
35 | audio_stream_index_(-1),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:33:7)
31 | frame_(nullptr),
32 | swrCtx_(nullptr),
> 33 | resampledData_(nullptr),
| ^ member initializer 'resampledData_' does not name a non-static data member or base class
34 | bufferedBus_(nullptr),
35 | audio_stream_index_(-1),
36 | maxResampledSamples_(0),
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:34:7)
32 | swrCtx_(nullptr),
33 | resampledData_(nullptr),
> 34 | bufferedBus_(nullptr),
| ^ member initializer 'bufferedBus_' does not name a non-static data member or base class
35 | audio_stream_index_(-1),
36 | maxResampledSamples_(0),
37 | processedSamples_(0) {}
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:35:7)
33 | resampledData_(nullptr),
34 | bufferedBus_(nullptr),
> 35 | audio_stream_index_(-1),
| ^ member initializer 'audio_stream_index_' does not name a non-static data member or base class
36 | maxResampledSamples_(0),
37 | processedSamples_(0) {}
38 |
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:36:7)
34 | bufferedBus_(nullptr),
35 | audio_stream_index_(-1),
> 36 | maxResampledSamples_(0),
| ^ member initializer 'maxResampledSamples_' does not name a non-static data member or base class
37 | processedSamples_(0) {}
38 |
39 | StreamerNode::~StreamerNode() {
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:37:7)
35 | audio_stream_index_(-1),
36 | maxResampledSamples_(0),
> 37 | processedSamples_(0) {}
| ^ member initializer 'processedSamples_' does not name a non-static data member or base class
38 |
39 | StreamerNode::~StreamerNode() {
40 | cleanup();
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:40:3)
38 |
39 | StreamerNode::~StreamerNode() {
> 40 | cleanup();
| ^ 'cleanup' is a private member of 'audioapi::AudioNode'
41 | }
42 |
43 | bool StreamerNode::initialize(const std::string &input_url) {
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:45:5)
43 | bool StreamerNode::initialize(const std::string &input_url) {
44 | if (isInitialized_) {
> 45 | cleanup();
| ^ 'cleanup' is a private member of 'audioapi::AudioNode'
46 | }
47 |
48 | if (!openInput(input_url)) {
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:48:8)
46 | }
47 |
> 48 | if (!openInput(input_url)) {
| ^ use of undeclared identifier 'openInput'
49 | if (VERBOSE)
50 | printf("Failed to open input\n");
51 | return false;
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:54:8)
52 | }
53 |
> 54 | if (!findAudioStream() || !setupDecoder() || !setupResampler()) {
| ^ use of undeclared identifier 'findAudioStream'
55 | if (VERBOSE)
56 | printf("Failed to find/setup audio stream\n");
57 | cleanup();
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:54:30)
52 | }
53 |
> 54 | if (!findAudioStream() || !setupDecoder() || !setupResampler()) {
| ^ use of undeclared identifier 'setupDecoder'
55 | if (VERBOSE)
56 | printf("Failed to find/setup audio stream\n");
57 | cleanup();
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:54:49)
52 | }
53 |
> 54 | if (!findAudioStream() || !setupDecoder() || !setupResampler()) {
| ^ use of undeclared identifier 'setupResampler'
55 | if (VERBOSE)
56 | printf("Failed to find/setup audio stream\n");
57 | cleanup();
❌ (node_modules/react-native-audio-api/common/cpp/audioapi/core/sources/StreamerNode.cpp:57:5)
55 | if (VERBOSE)
56 | printf("Failed to find/setup audio stream\n");
> 57 | cleanup();
| ^ 'cleanup' is a private member of 'audioapi::AudioNode'
58 | return false;
59 | }
60 |
❌ fatal error: too many errors emitted, stopping now [-ferror-limit=]
```n setting
### Steps to reproduce
1. yarn install the 0.11.0-nightly-6dcac64-20251122 version
2. launch expo prebuild
### Snack or a link to a repository
https://github.com/RemyNtshaykolo/react-native-audo-api-ffmpeg
### React Native Audio API version
0.11.0-nightly-6dcac64-20251122
### React Native version
0.79.5
### Platforms
iOS
### JavaScript runtime
None
### Workflow
None
### Architecture
None
### Build type
None
### Device
None
### Device model
_No response_
### Acknowledgements
YesMetadata
Metadata
Assignees
Labels
No labels