Skip to content

Commit 0cd8de4

Browse files
committed
Removed reference usage
1 parent 4eb7cce commit 0cd8de4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/projects/providers/rtmp/handlers/rtmp_handshake_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ namespace pvd::rtmp
311311
return result;
312312
}
313313

314-
const info::NamePath &RtmpHandshakeHandler::GetNamePath() const
314+
info::NamePath RtmpHandshakeHandler::GetNamePath() const
315315
{
316316
return _stream->GetNamePath();
317317
}

src/projects/providers/rtmp/handlers/rtmp_handshake_handler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace pvd::rtmp
2828

2929
off_t HandleData(const std::shared_ptr<const ov::Data> &data);
3030

31-
const info::NamePath &GetNamePath() const;
31+
info::NamePath GetNamePath() const;
3232

3333
bool IsHandshakeCompleted() const
3434
{

src/projects/providers/rtmp/tracks/rtmp_track.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace pvd::rtmp
4141
return nullptr;
4242
}
4343

44-
const info::NamePath &RtmpTrack::GetNamePath() const
44+
info::NamePath RtmpTrack::GetNamePath() const
4545
{
4646
return _stream->GetNamePath();
4747
}

src/projects/providers/rtmp/tracks/rtmp_track.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace pvd::rtmp
4343

4444
static std::shared_ptr<RtmpTrack> Create(std::shared_ptr<RtmpStreamV2> stream, uint32_t track_id, bool from_ex_header, cmn::MediaCodecId codec_id);
4545

46-
const info::NamePath &GetNamePath() const;
46+
info::NamePath GetNamePath() const;
4747

4848
bool IsFromExHeader() const
4949
{

0 commit comments

Comments
 (0)