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.
25 lines
677 B
25 lines
677 B
package defs |
|
|
|
import ( |
|
"github.com/bluenviron/gortsplib/v4/pkg/description" |
|
|
|
"github.com/bluenviron/mediamtx/internal/stream" |
|
) |
|
|
|
// PathSourceStaticSetReadyRes is a set ready response to a static source. |
|
type PathSourceStaticSetReadyRes struct { |
|
Stream *stream.Stream |
|
Err error |
|
} |
|
|
|
// PathSourceStaticSetReadyReq is a set ready request from a static source. |
|
type PathSourceStaticSetReadyReq struct { |
|
Desc *description.Session |
|
GenerateRTPPackets bool |
|
Res chan PathSourceStaticSetReadyRes |
|
} |
|
|
|
// PathSourceStaticSetNotReadyReq is a set not ready request from a static source. |
|
type PathSourceStaticSetNotReadyReq struct { |
|
Res chan struct{} |
|
}
|
|
|