Parsing custom metadata fields RTMP - Android

This forum is about all development around libVLC.
Anonymouser
New Cone
New Cone
Posts: 4
Joined: 02 Jun 2014 04:06

Parsing custom metadata fields RTMP - Android

Postby Anonymouser » 12 Jun 2014 03:13

Hey guys,

I am streaming RTMP in my Android app and there are a few custom fields in the Metadata that are needed. They are {"commercial", "videoId", and "stamp"} and I want to be able to read them in Java. I don't know where to add them.

I've noticed that these files involve some meta data stuff, but I don't get the flow. Where does the parsing start and how is it eventually passes into Java? I feel like I shouldn't need to modify all of these files, but don't know which ones are actually necessary.
./vlc/include/vlc/libvlc_media.h
./vlc/lib/media.c
./vlc/include/vlc_meta.h
./vlc/src/input/meta.c
./vlc/src/input/es_out.c
./vlc-android/src/org/videolan/libvlc/Media.java
./vlc-android/src/org/videolan/libvlc/TrackInfo.java
./vlc-android/src/org/videolan/libvlc/LibVLC.java

I hope this isn't too broad a question.

Thanks for the help!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Parsing custom metadata fields RTMP - Android

Postby Jean-Baptiste Kempf » 09 Jul 2014 02:36

Does VLC (on the desktop) see those fields?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 23 guests