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

[RTC-145] Add RTSP Endpoint #257

Merged
merged 9 commits into from
Apr 5, 2023
Merged

[RTC-145] Add RTSP Endpoint #257

merged 9 commits into from
Apr 5, 2023

Conversation

sgfn
Copy link
Member

@sgfn sgfn commented Mar 23, 2023

No description provided.

@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Merging #257 (165cb8b) into master (5136fd8) will increase coverage by 2.72%.
The diff coverage is 78.12%.

@@            Coverage Diff             @@
##           master     #257      +/-   ##
==========================================
+ Coverage   57.73%   60.46%   +2.72%     
==========================================
  Files          40       43       +3     
  Lines        1791     2031     +240     
==========================================
+ Hits         1034     1228     +194     
- Misses        757      803      +46     
Impacted Files Coverage Δ
...rane_rtc_engine/endpoints/webrtc/track_receiver.ex 49.45% <0.00%> (-1.12%) ⬇️
...b/membrane_rtc_engine/endpoints/webrtc_endpoint.ex 0.00% <0.00%> (ø)
lib/membrane_rtc_engine/engine.ex 76.82% <ø> (+1.62%) ⬆️
lib/membrane_rtc_engine/track.ex 88.88% <ø> (+11.11%) ⬆️
lib/membrane_rtc_engine/endpoints/rtsp_endpoint.ex 66.10% <66.10%> (ø)
...ne_rtc_engine/endpoints/rtsp/connection_manager.ex 80.80% <80.80%> (ø)
lib/membrane_rtc_engine/endpoints/hls_endpoint.ex 77.18% <83.33%> (+0.09%) ⬆️
test/support/fake_rtsp_server.ex 86.66% <86.66%> (ø)
...embrane_rtc_engine/endpoints/webrtc/media_event.ex 24.24% <90.00%> (+18.88%) ⬆️
...mbrane_rtc_engine/endpoints/webrtc/track_sender.ex 73.83% <100.00%> (+2.40%) ⬆️
... and 2 more

Continue to review full report in Codecov by Sentry.

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

Comment on lines +97 to 99
* `#{inspect(__MODULE__)}.Endpoint.RTSP` which is responsible for connecting to a remote RTSP stream source and
sending the appropriate media track to other Endpoints. RTSP Endpoint is a Standalone Endpoint.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice that you updated this description 👍

@@ -0,0 +1,133 @@
defmodule Membrane.RTC.RTSPEndpointTest do
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice tests! 👍

sgfn added 6 commits April 3, 2023 13:53
* Copy ConnectionManager over from RTSP to HLS demo
* First iteration of RTSP endpoint
* lint
* attempt fix tests
* Fixes after review
* More fixes
* Fix call to get_required_deps when endpoint module not defined
* Fix crash on unrecognised RTP mapping
* Bump membrane_rtsp to 0.3.1
* RTSP.PortAllocator first iteration
* Remove PortAllocator, add reconnects, tests, fix things
* Fixes after review
* Fix plugin version in docs
* Make FakeRTSPserver more sophisticated
* lint
* minor fix
@sgfn sgfn force-pushed the sgfn/RTC-145-rtsp-endpoint branch from 74a4d33 to afbd645 Compare April 3, 2023 11:58
@sgfn sgfn requested a review from mickel8 April 3, 2023 11:58
@sgfn sgfn merged commit 9e1912b into master Apr 5, 2023
@sgfn sgfn deleted the sgfn/RTC-145-rtsp-endpoint branch April 5, 2023 10:18
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