Skip to content

Commit

Permalink
Apply requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LVala committed Jun 24, 2024
1 parent 41ff049 commit f5eaf38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_webrtc/rtp_receiver.ex
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ defmodule ExWebRTC.RTPReceiver do
@spec get_stats(receiver(), non_neg_integer()) :: [map()]
def get_stats(receiver, timestamp) do
Enum.map(receiver.layers, fn {rid, layer} ->
id = if(rid == nil, do: receiver.track.id, else: "#{receiver.track.id}, rid: #{rid}")
id = if(rid == nil, do: receiver.track.id, else: "#{receiver.track.id}:#{rid}")

%{
id: id,
Expand Down

0 comments on commit f5eaf38

Please sign in to comment.