WowzaMediaSystems / gocoder-sdk-samples-android

A sample app for Android that demonstrates the capabilities of the Wowza GoCoderâ„¢ SDK.
https://www.wowza.com/products/gocoder/sdk
Other
53 stars 51 forks source link

Add SDK sample that show how to extract metadata from stream #33

Open ber4444 opened 4 years ago

ber4444 commented 4 years ago

We have a requirement to display titles and timestamps for streams. When opening the stream in desktop VLC, it says no such information is embedded in the stream so we want to know how to provide it in the stream as well (we use our own Wowza server and vMix). Note that we are displaying the stream via ExoPlayer.

If embedding such information is not supported, we would want to know if it is possible to wrap the streams in a playlist and assign titles that way. All these features come out of the box with YouTube and we would prefer if it would be equally easy to work with your product.

fabio-delorenzo-wowza commented 4 years ago

can you please give me more information of what you are trying to do. Are you trying to playback HLS from the Wowza Streaming Engine (WSE), using ExoPlayer and you don't get the metadata ? In this case, are you not using the SDK ?

Thanks

ber4444 commented 4 years ago

We can play back using either desktop VLC player (which should find metadata if it was available) or via ExoPlayer in our mobile app (which doesn't support metadata retrieval so we would use your SDK for that).

The streams are provided as URL/live/NAME/playlist.m3u8?DVR and sometimes (rarely) also as VOD mp4

fabio-delorenzo-wowza commented 4 years ago

GoCoder doesn't support MP4 metadata but only AMF (RTMP) metadata. You can insert these extra data live, at runtime.

Can I suggest to implement your own API. I assume you have your own assetID, then you can query your own DB for the title, author, genre etc..

ber4444 commented 4 years ago

Ok I looked up https://en.wikipedia.org/wiki/Action_Message_Format and it does not seem to be of any help here - I don't see a way to embed titles and timestamps for streams. Now, returning to my first question, do you at least support adding such information via playlists, and if so, let me know how to consume playlist information via the SDK. Again, this is a bare minimum, YouTube's API provides this and much more.

fabio-calisoft commented 4 years ago

No, sorry. GoCoder does not support Playlist. Thanks