small change

This commit is contained in:
cqm 2024-10-31 11:28:06 +08:00 committed by cqm
parent c0febafd52
commit 9814992a8e
2 changed files with 6 additions and 6 deletions

View File

@ -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); 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& getSrcUrl() const { return _src_url; }
const std::string &getDstUrl() const { return _dst_url; } const std::string& getDstUrl() const { return _dst_url; }
const std::string &getCmd() const { return _cmd; } const std::string& getCmd() const { return _cmd; }
const std::string &getCmdKey() const { return _ffmpeg_cmd_key; } const std::string& getCmdKey() const { return _ffmpeg_cmd_key; }
const mediakit::MediaInfo& getMediaInfo() const { return _media_info; } const mediakit::MediaInfo& getMediaInfo() const { return _media_info; }
/** /**

View File

@ -140,8 +140,8 @@ public:
TranslationInfo getTranslationInfo(); TranslationInfo getTranslationInfo();
const std::string& getUrl() const { return _pull_url; } const std::string& getUrl() const { return _pull_url; }
const MediaTuple &getMediaTuple() const { return _tuple; } const MediaTuple& getMediaTuple() const { return _tuple; }
const ProtocolOption &getOption() const { return _option; } const ProtocolOption& getOption() const { return _option; }
private: private:
// MediaSourceEvent override // MediaSourceEvent override