Skip to content

Commit 036748a

Browse files
committed
feat: expose IBitrateTrackingService
1 parent ee510f9 commit 036748a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/LiveStreamingServerNet.Standalone/Internal/Services/BitrateTrackingInterceptor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using LiveStreamingServerNet.Rtmp;
22
using LiveStreamingServerNet.Rtmp.Server.Contracts;
3-
using LiveStreamingServerNet.Standalone.Internal.Services.Contracts;
3+
using LiveStreamingServerNet.Standalone.Services.Contracts;
44
using LiveStreamingServerNet.Utilities.Buffers.Contracts;
55

66
namespace LiveStreamingServerNet.Standalone.Internal.Services
@@ -24,7 +24,7 @@ public ValueTask OnReceiveMediaMessageAsync(uint clientId, string streamPath, Me
2424
{
2525
// Record the data for bitrate calculation
2626
_bitrateTrackingService.RecordDataReceived(streamPath, mediaType, rentedBuffer.Size);
27-
27+
2828
return ValueTask.CompletedTask;
2929
}
3030
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using LiveStreamingServerNet.Rtmp;
22

3-
namespace LiveStreamingServerNet.Standalone.Internal.Services.Contracts
3+
namespace LiveStreamingServerNet.Standalone.Services.Contracts
44
{
55
/// <summary>
66
/// Provides bitrate tracking capabilities for RTMP streams.
77
/// </summary>
8-
internal interface IBitrateTrackingService
8+
public interface IBitrateTrackingService
99
{
1010
/// <summary>
1111
/// Gets the current video bitrate for a stream in bits per second.

0 commit comments

Comments
 (0)