kajojeq
kajojeq

Reputation: 904

How to in RTSP protocol TEARDOWN only one track?

I do: PLAY rtsp://addr/track1 I get ok response and I send another one but for track2. One is for audio and another one is for video, question is: How can I TEARDOWN only one of them only? let's say: TEARDOWN rtsp://addr/track1. Is this even possible or should I just TEARDOWN rtsp://addr/ and play again only one track?

Upvotes: 0

Views: 510

Answers (1)

Ralf
Ralf

Reputation: 9573

Yes, the RTSP specification definitely allows this but in the end I guess this depends on server implementation/support. Easiest thing would be to write a quick script to test if your server supports it.

The "Media on Demand (Unicast)" example section shows such a scenario.

Upvotes: 1

Related Questions