Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/AlexxIT/go2rtc
/ Equal
Method
Equal
pkg/core/media.go:86–91 ·
view source on GitHub ↗
(media *Media)
Source
from the content-addressed store, hash-verified
84
}
85
86
func
(m *Media) Equal(media *Media) bool {
87
if
media.ID !=
""
{
88
return
m.ID == media.ID
89
}
90
return
m.String() == media.String()
91
}
92
93
func
GetKind(name string) string {
94
switch
name {
Callers
15
TestGetStreamUri
Function · 0.80
TestGetCapabilities
Function · 0.80
run
Method · 0.80
TestFormatAlphaNum
Function · 0.80
TestEncryption
Function · 0.80
TestMarshal
Function · 0.80
TestBytes
Function · 0.80
TestVideoCodecParams
Function · 0.80
TestInterface
Function · 0.80
TestSlice1
Function · 0.80
TestSlice2
Function · 0.80
TestMatchHost
Function · 0.80
Calls
1
String
Method · 0.95
Tested by
15
TestGetStreamUri
Function · 0.64
TestGetCapabilities
Function · 0.64
run
Method · 0.64
TestFormatAlphaNum
Function · 0.64
TestEncryption
Function · 0.64
TestMarshal
Function · 0.64
TestBytes
Function · 0.64
TestVideoCodecParams
Function · 0.64
TestInterface
Function · 0.64
TestSlice1
Function · 0.64
TestSlice2
Function · 0.64
TestMatchHost
Function · 0.64