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.
31 lines
524 B
31 lines
524 B
package source |
|
|
|
import ( |
|
"github.com/aler9/gortsplib" |
|
) |
|
|
|
// Source is a source. |
|
type Source interface { |
|
IsSource() |
|
} |
|
|
|
// ExtSource is an external source. |
|
type ExtSource interface { |
|
IsSource() |
|
IsExtSource() |
|
Close() |
|
} |
|
|
|
// ExtSetReadyRes is a set ready response. |
|
type ExtSetReadyRes struct{} |
|
|
|
// ExtSetReadyReq is a set ready request. |
|
type ExtSetReadyReq struct { |
|
Tracks gortsplib.Tracks |
|
Res chan ExtSetReadyRes |
|
} |
|
|
|
// ExtSetNotReadyReq is a set not ready request. |
|
type ExtSetNotReadyReq struct { |
|
Res chan struct{} |
|
}
|
|
|