gocoder-sdk-samples-android icon indicating copy to clipboard operation
gocoder-sdk-samples-android copied to clipboard

Add SDK sample that show how to extract metadata from stream

Open ber4444 opened this issue 6 years ago • 5 comments

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.

ber4444 avatar Dec 03 '19 18:12 ber4444

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

fabio-delorenzo-wowza avatar Dec 03 '19 18:12 fabio-delorenzo-wowza

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

ber4444 avatar Dec 03 '19 18:12 ber4444

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..

fabio-delorenzo-wowza avatar Dec 03 '19 20:12 fabio-delorenzo-wowza

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.

ber4444 avatar Dec 04 '19 06:12 ber4444

No, sorry. GoCoder does not support Playlist. Thanks

fabio-calisoft avatar Dec 04 '19 06:12 fabio-calisoft