KallDrexx / rust-media-libs

Rust based libraries for misc media functionality
Apache License 2.0
229 stars 58 forks source link

Player endpoint #6

Closed juicycleff closed 4 years ago

juicycleff commented 4 years ago

Hi, thanks for this package, it's been helpful, however I need some help as I am relatively new to RUST. Please say I am streaming to the Mio example with stream key "rust", what endpoint should the player connect to. Thank you

KallDrexx commented 4 years ago

It's been a while since I did anything from this service, but if you push a video stream to rtmp://localhost:1935/app/rust then you should be able to connect VLC (or any other rtmp player) to that same URL and watch the video. I think the /app part is arbitrary based on looking at the code (specifically https://github.com/KallDrexx/rust-media-libs/blob/master/examples/mio_rtmp_server/src/server.rs#L324)

juicycleff commented 4 years ago

@KallDrexx thank you