scottlamb / retina

High-level RTSP multimedia streaming library, in Rust
https://crates.io/crates/retina
Apache License 2.0
218 stars 46 forks source link

Add optioin to bind device or address #95

Closed yujincheng08 closed 1 week ago

yujincheng08 commented 2 months ago

The motivation is quite trivial. I have two interfaces, one for Internet connections and one for IPTV connections. Of course, the internet connection is by default. When I used retina to connect to my IPTV, it connected through my Internet interface, which was unexpected. So I have to bind to an interface for the connection. This works exactly like curl -I or ping -I, and it also affects the UDP connection.