Skip to content

support using JWT in Authorization header with API, Metrics, PProf (#…

Codecov / codecov/patch succeeded Oct 5, 2024 in 0s

62.26% of diff hit (target 56.04%)

View this Pull Request on Codecov

62.26% of diff hit (target 56.04%)

Annotations

Check warning on line 293 in internal/api/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/api/api.go#L293

Added line #L293 was not covered by tests

Check warning on line 40 in internal/auth/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/manager.go#L37-L40

Added lines #L37 - L40 were not covered by tests

Check warning on line 85 in internal/auth/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/manager.go#L85

Added line #L85 was not covered by tests

Check warning on line 126 in internal/metrics/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/metrics/metrics.go#L124-L126

Added lines #L124 - L126 were not covered by tests

Check warning on line 129 in internal/metrics/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/metrics/metrics.go#L129

Added line #L129 was not covered by tests

Check warning on line 128 in internal/playback/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/playback/server.go#L128

Added line #L128 was not covered by tests

Check warning on line 135 in internal/playback/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/playback/server.go#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 98 in internal/pprof/pprof.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/pprof/pprof.go#L96-L98

Added lines #L96 - L98 were not covered by tests

Check warning on line 101 in internal/pprof/pprof.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/pprof/pprof.go#L101

Added line #L101 was not covered by tests

Check warning on line 158 in internal/servers/hls/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/hls/http_server.go#L158

Added line #L158 was not covered by tests

Check warning on line 160 in internal/servers/hls/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/hls/http_server.go#L160

Added line #L160 was not covered by tests

Check warning on line 171 in internal/servers/rtmp/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/rtmp/conn.go#L171

Added line #L171 was not covered by tests

Check warning on line 238 in internal/servers/rtmp/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/rtmp/conn.go#L238

Added line #L238 was not covered by tests

Check warning on line 142 in internal/servers/rtsp/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/rtsp/conn.go#L142

Added line #L142 was not covered by tests

Check warning on line 128 in internal/servers/rtsp/session.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/rtsp/session.go#L128

Added line #L128 was not covered by tests

Check warning on line 198 in internal/servers/rtsp/session.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/rtsp/session.go#L198

Added line #L198 was not covered by tests

Check warning on line 154 in internal/servers/srt/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/srt/conn.go#L154

Added line #L154 was not covered by tests

Check warning on line 253 in internal/servers/srt/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/srt/conn.go#L253

Added line #L253 was not covered by tests

Check warning on line 121 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L121

Added line #L121 was not covered by tests

Check warning on line 123 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L123

Added line #L123 was not covered by tests

Check warning on line 189 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L185-L189

Added lines #L185 - L189 were not covered by tests

Check warning on line 191 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L191

Added line #L191 was not covered by tests

Check warning on line 194 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L193-L194

Added lines #L193 - L194 were not covered by tests

Check warning on line 197 in internal/servers/webrtc/http_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/servers/webrtc/http_server.go#L196-L197

Added lines #L196 - L197 were not covered by tests