Skip to content

Commit

Permalink
📙 Add logging to HangUpMedia (#35)
Browse files Browse the repository at this point in the history
We log whenever a session calls HangUpMedia, which we haven't implemented yet.

This should help us nail down the source of #47 and #33

Co-authored-by: Hayden McAfee <[email protected]>
  • Loading branch information
clone1018 and haydenmc authored Dec 26, 2020
1 parent a424340 commit 4b8be37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/JanusFtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ void JanusFtl::DataReady(janus_plugin_session* handle)
void JanusFtl::HangUpMedia(janus_plugin_session* handle)
{
// TODO
JANUS_LOG(LOG_WARN, "FTL: HangUpMedia called by session, but we're not handling it!\n");
}

void JanusFtl::DestroySession(janus_plugin_session* handle, int* error)
Expand Down Expand Up @@ -868,4 +869,4 @@ ConnectionResult JanusFtl::onOrchestratorStreamRelay(ConnectionRelayPayload payl
}

}
#pragma endregion Private methods
#pragma endregion Private methods

0 comments on commit 4b8be37

Please sign in to comment.