mirror of
https://github.com/Danile71/go-rtsp.git
synced 2025-09-26 20:21:15 +08:00
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()
|
|
}
|