Hi,I'm trying to test my streams using the demo application and the guide which you can reach through this link
https://google.github.io/ExoPlayer/demo-application.html
As you can see and as you know it gets the streams from a local json file named "media.exolist.json".Everything is good about streams and works perfectly fine,but I also want to get subtitle URL from that json file and merge that subtitle to related stream.For example,it will be something like this
{
"name": "My Test Stream",
"uri": "https://testtest.mpd",
"drm_scheme": "widevine",
"drm_license_url": "https://testtest.com"
"subtitle":" "http://subtitledomain.com/test.vtt"
},
So,how can I do it by changing demo codes ? If you can help me about this I'd be more than happy.
Hi,I'm trying to test my streams using the demo application and the guide which you can reach through this link
https://google.github.io/ExoPlayer/demo-application.html
As you can see and as you know it gets the streams from a local json file named "media.exolist.json".Everything is good about streams and works perfectly fine,but I also want to get subtitle URL from that json file and merge that subtitle to related stream.For example,it will be something like this
{
"name": "My Test Stream",
"uri": "https://testtest.mpd",
"drm_scheme": "widevine",
"drm_license_url": "https://testtest.com"
"subtitle":" "http://subtitledomain.com/test.vtt"
},
So,how can I do it by changing demo codes ? If you can help me about this I'd be more than happy.