golanggohlsrtmpwebrtcmedia-serverobs-studiortcprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serversrtstreamingwebrtc-proxy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
363 B
26 lines
363 B
package core |
|
|
|
import ( |
|
"github.com/aler9/gortsplib" |
|
) |
|
|
|
type source interface { |
|
IsSource() |
|
} |
|
|
|
type sourceExternal interface { |
|
IsSource() |
|
IsSourceExternal() |
|
Close() |
|
} |
|
|
|
type sourceExtSetReadyRes struct{} |
|
|
|
type sourceExtSetReadyReq struct { |
|
Tracks gortsplib.Tracks |
|
Res chan sourceExtSetReadyRes |
|
} |
|
|
|
type sourceExtSetNotReadyReq struct { |
|
Res chan struct{} |
|
}
|
|
|