Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Fix/new track notification #249

Merged
merged 2 commits into from
Feb 27, 2023
Merged

Fix/new track notification #249

merged 2 commits into from
Feb 27, 2023

Conversation

bblaszkow06
Copy link
Contributor

In e2a841a I've removed too much, this PR fixes that and makes integration tests pass (at least locally)

@bblaszkow06 bblaszkow06 requested a review from mickel8 as a code owner February 24, 2023 17:50
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@1620023). Click here to learn what that means.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #249   +/-   ##
=========================================
  Coverage          ?   59.16%           
=========================================
  Files             ?       38           
  Lines             ?     1783           
  Branches          ?        0           
=========================================
  Hits              ?     1055           
  Misses            ?      728           
  Partials          ?        0           
Impacted Files Coverage Δ
...b/membrane_rtc_engine/endpoints/webrtc_endpoint.ex 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1620023...56c7f1a. Read the comment docs.

@@ -398,6 +398,8 @@ defmodule Membrane.RTC.Engine.Endpoint.WebRTC do

variant = to_track_variant(rid)

Membrane.Logger.info("New incoming WebRTC track #{track_id} with SSRC #{inspect(ssrc)}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main issue with that log is that it is missing the SSRC - without it, it's extremely hard to correlate them. Originally, in a previous PR, I changed the log you mentioned to include the ssrc that I added to :track_ready message, but I realized it is incompatible with other endpoints and breaks the API for them.

I'm open to any other ideas for logging the SSRC <> track_id mapping, but I guess this is the most straightforward solution

@mickel8 mickel8 self-requested a review February 27, 2023 14:02
@mickel8 mickel8 merged commit d514b8b into master Feb 27, 2023
@mickel8 mickel8 deleted the fix/new_track_notification branch February 27, 2023 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants