Redirector support
Decoding of multimedia streams

Redirector support. More...

## Topics

| Query and select tracks
| Query if the decoder opened a redirector.

## Detailed Description

Redirector support.

After opening the decoder with bgav_open, you must check if the opened stream is actually a redirector with bgav_is_redirector. If this returns 1, get the number of urls with bgav_redirector_get_num_urls. Then, for each URL, get the address with bgav_redirector_get_url and the title of the URL with bgav_redirector_get_name. After you have this info, close and destroy the decoder with bgav_close and open a newly created decoder with one of the URLs you got.