Functions | |
| QUVIcode | quvi_next_media_url (quvi_media_t media) |
| Move to the next media URL (if any) | |
| QUVIcode | quvi_next_videolink (quvi_video_t video) |
| Move to the next video URL (if any) | |
| QUVIcode quvi_next_media_url | ( | quvi_media_t | media | ) |
Move to the next media URL (if any)
Used to iterate the parsed media URLs. Typically there is only one, although some websites have split the media into several segments.
| media | Handle to a media session |
Example:
char *url; do { quvi_getprop(media, QUVIPROP_MEDIAURL, &url); puts(url); } while (quvi_next_media_url(media) == QUVI_OK);
| QUVIcode quvi_next_videolink | ( | quvi_video_t | video | ) |
Move to the next video URL (if any)
Used to iterate the parsed video URLs. Typically there is only one, although some websites have split the videos into several segments.
| video | Handle to a video session |
Example:
char *url; do { quvi_getprop(media, QUVIPROP_MEDIAURL, &url); puts(url); } while (quvi_next_videolink(video) == QUVI_OK);
1.7.4