8xFF / atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://8xff.github.io/media-docs/
MIT License
235 stars 17 forks source link

feat: rtp transport #424

Closed giangndm closed 2 months ago

giangndm commented 3 months ago

Pull Request

Description

This PR implements RTP transport with HTTP APIs. This is useful for using with drachtio instead of RtpEngine protocol

Related Issue

If this pull request is related to any issue, please mention it here.

Checklist

Screenshots

If applicable, add screenshots to help explain the changes made.

Additional Notes

Add any additional notes or context about the pull request here.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0.12500% with 799 lines in your changes missing coverage. Please review.

Project coverage is 39.64%. Comparing base (f7b201a) to head (e4f4f67). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
packages/transport_rtpengine/src/transport.rs 0.00% 143 Missing :warning:
bin/src/http/api_media/rtpengine.rs 0.00% 102 Missing :warning:
bin/src/http.rs 0.00% 95 Missing :warning:
bin/src/http/api_media/webrtc.rs 0.00% 93 Missing :warning:
packages/protocol/src/protobuf/cluster_gateway.rs 0.00% 77 Missing :warning:
bin/src/http/api_media/whip.rs 0.00% 72 Missing :warning:
bin/src/http/api_media/whep.rs 0.00% 71 Missing :warning:
bin/src/server/gateway/local_rpc_handler.rs 0.00% 34 Missing :warning:
packages/protocol/src/transport/rtpengine.rs 0.00% 32 Missing :warning:
bin/src/server/gateway/remote_rpc_handler.rs 0.00% 25 Missing :warning:
... and 7 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #424 +/- ## ========================================== - Coverage 40.71% 39.64% -1.07% ========================================== Files 154 157 +3 Lines 16642 17077 +435 ========================================== - Hits 6775 6770 -5 - Misses 9867 10307 +440 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.