Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose inbound-rtp.id as streamId #1367

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/eighty-rice-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-client": patch
---

expose inbound-rtp.id as streamId
1 change: 1 addition & 0 deletions src/room/track/RemoteAudioTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default class RemoteAudioTrack extends RemoteTrack<Track.Kind.Audio> {
if (v.type === 'inbound-rtp') {
receiverStats = {
type: 'audio',
streamId: v.id,
timestamp: v.timestamp,
jitter: v.jitter,
bytesReceived: v.bytesReceived,
Expand Down
1 change: 1 addition & 0 deletions src/room/track/RemoteVideoTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export default class RemoteVideoTrack extends RemoteTrack<Track.Kind.Video> {
codecID = v.codecId;
receiverStats = {
type: 'video',
streamId: v.id,
framesDecoded: v.framesDecoded,
framesDropped: v.framesDropped,
framesReceived: v.framesReceived,
Expand Down
Loading