bluenviron / gortsplib

RTSP 1.0 client and server library for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`base.ParseURL()` does not exist

mateothegreat opened this issue Β· comments

Greetings! πŸ‘‹

Noticed something that you're probably already working on but figured I'd reach out just in case..

base.ParseURL() does not exist per

u, err := base.ParseURL("rtsp://localhost:8554/mystream")

~/workspace/examples/client-read-format-h265-save-to-disk ➜ go run .  
# github.com/mateothegreat/client-read-format-h265-save-to-disk
./main.go:22:17: undefined: base.ParseURL

I have a repro at https://github.com/mateothegreat/client-read-format-h265-save-to-disk.

Let me know if I can help..
Thanks for all your hard work!!
-Matthew

Hi Mateo,

You can use "github.com/bluenviron/gortsplib/v4/pkg/url" instend of "github.com/bluenviron/gortsplib/v4/pkg/base"

base.URL is a new feature that has not been included in a tag yet. The problem will solve by itself within some days.

fixed in v4.5.0

Thank you!!!

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.