Page 1 of 1

Parsing custom metadata fields RTMP - Android

Posted: 12 Jun 2014 03:13
by Anonymouser
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!

Re: Parsing custom metadata fields RTMP - Android

Posted: 09 Jul 2014 02:36
by Jean-Baptiste Kempf
Does VLC (on the desktop) see those fields?