Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ class StreamerNode : public AudioScheduledSourceNode {
bool initialize(const std::string &inputUrl);

std::string getStreamPath() const {
#if !RN_AUDIO_API_TEST
return streamPath_;
#else
return "";
#endif // RN_AUDIO_API_TEST
}

protected:
Expand All @@ -87,6 +83,8 @@ class StreamerNode : public AudioScheduledSourceNode {
int framesToProcess) override;

private:
std::string streamPath_;

#if !RN_AUDIO_API_FFMPEG_DISABLED
AVFormatContext *fmtCtx_;
AVCodecContext *codecCtx_;
Expand Down Expand Up @@ -114,7 +112,6 @@ class StreamerNode : public AudioScheduledSourceNode {
STREAMER_NODE_SPSC_OVERFLOW_STRATEGY,
STREAMER_NODE_SPSC_WAIT_STRATEGY>
receiver_;
std::string streamPath_;

/**
* @brief Setting up the resampler
Expand Down