1 Star 0 Fork 0

我还是我 / gortsplib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 520 Bytes
一键复制 编辑 原始数据 按行查看 历史
package main
import "log"
// This example shows how to
// 1. create a server that serves a single stream.
// 2. create a client, read an existing stream from an external server or camera,
// pass the stream to the server in order to serve it.
func main() {
// allocate the server.
s := &server{}
s.initialize()
// allocate the client.
// give client access to the server.
c := &client{s: s}
c.initialize()
// start server and wait until a fatal error
log.Printf("server is ready")
s.s.StartAndWait()
}
Go
1
https://gitee.com/likunde_admin/gortsplib.git
git@gitee.com:likunde_admin/gortsplib.git
likunde_admin
gortsplib
gortsplib
main

搜索帮助