[vlc-devel] libvlc : add custom scheme stream source

Rémi Denis-Courmont remi at remlab.net
Wed Jun 28 15:38:29 CEST 2017


Le 28 juin 2017 03:07:15 GMT+03:00, Damien <maitredede at gmail.com> a écrit :
>Hi,
>
>I am developping an app that uses libvlc. My app uses its own data
>format,
>containing videos.
>
>I would like to know if it is possible to add a custom uri handler, so
>video can be streamed directly from application memory.
>
>For example, I do the same with the Chromuim Embeded framework, I have
>added a custom scheme handler for "myapp://" urls, so I can display web
>content.
>
>Thanks.

You can inject your ownbdata with libvlc_media_new_callbacks(). But to actually provide a new resource location scheme, a new VLC plugin is indispensable.
-- 
Rémi Denis-Courmont
Typed on an inconvenient virtual keyboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170628/d9614f25/attachment.html>


More information about the vlc-devel mailing list