four
This commit is contained in:
parent
ab8b9f5315
commit
7eec0f88e4
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ func CreateServer(parentCtx context.Context, host string, port int, relay *libip
|
||||||
h := &handler{}
|
h := &handler{}
|
||||||
gs := &gortsplib.Server{
|
gs := &gortsplib.Server{
|
||||||
Handler: h,
|
Handler: h,
|
||||||
|
UDPRTPAddress: ":8000",
|
||||||
|
UDPRTCPAddress: ":8001",
|
||||||
RTSPAddress: fmt.Sprintf("%s:%d", host, port),
|
RTSPAddress: fmt.Sprintf("%s:%d", host, port),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue