mirror of
https://github.com/Danile71/go-rtsp.git
synced 2026-04-22 23:57:15 +08:00
63c90b28b7
fix: use timeout optionaly
8 lines
167 B
Go
8 lines
167 B
Go
package rtsp
|
|
|
|
// Open rtsp stream or file
|
|
func Open(uri string, opts ...StreamOption) (*Stream, error) {
|
|
stream := New(uri, opts...)
|
|
return stream, stream.Setup()
|
|
}
|