diff --git a/server/FFmpegSource.h b/server/FFmpegSource.h index c3ef3cc6..4bc44e33 100644 --- a/server/FFmpegSource.h +++ b/server/FFmpegSource.h @@ -77,10 +77,10 @@ public: */ void play(const std::string &ffmpeg_cmd_key, const std::string &src_url, const std::string &dst_url, int timeout_ms, const onPlay &cb); - const std::string &getSrcUrl() const { return _src_url; } - const std::string &getDstUrl() const { return _dst_url; } - const std::string &getCmd() const { return _cmd; } - const std::string &getCmdKey() const { return _ffmpeg_cmd_key; } + const std::string& getSrcUrl() const { return _src_url; } + const std::string& getDstUrl() const { return _dst_url; } + const std::string& getCmd() const { return _cmd; } + const std::string& getCmdKey() const { return _ffmpeg_cmd_key; } const mediakit::MediaInfo& getMediaInfo() const { return _media_info; } /** diff --git a/src/Player/PlayerProxy.h b/src/Player/PlayerProxy.h index 52d57285..304d22a6 100644 --- a/src/Player/PlayerProxy.h +++ b/src/Player/PlayerProxy.h @@ -140,8 +140,8 @@ public: TranslationInfo getTranslationInfo(); const std::string& getUrl() const { return _pull_url; } - const MediaTuple &getMediaTuple() const { return _tuple; } - const ProtocolOption &getOption() const { return _option; } + const MediaTuple& getMediaTuple() const { return _tuple; } + const ProtocolOption& getOption() const { return _option; } private: // MediaSourceEvent override