Hi,
MediaPlayerStream duration is not working for the following mp3 file.
1. Is there a problem with the Mp3 file?
2. Since the duration is coming 0 is there any other way i can get the duration?
3. I am using
But im getting no such method found. how to get the metadata duration.
Kindly let me know your suggestions and inputs.
Regards,
SK
MediaPlayerStream duration is not working for the following mp3 file.
B4X:
"http://rekard.com/abhyas/tracks/5_Rangana_Nodire_Sushrutha/Without_metronome/Rangana_Nodire_120_C.mp3"
1. Is there a problem with the Mp3 file?
2. Since the duration is coming 0 is there any other way i can get the duration?
3. I am using
B4X:
Dim s As String
Dim r As Reflector
r.Target = s
r.RunPublicmethod("setDataSource",Array As Object("http://rekard.com/abhyas/tracks/5_Rangana_Nodire_Sushrutha/Without_metronome/Rangana_Nodire_120_C.mp3"), Array As String("java.lang.String"))
s = r.RunPublicmethod("extractMetadata",Array As Object("METADATA_KEY_DURATION"), Array As String("java.lang.int"))
Log("Meta data duration"&s)
Kindly let me know your suggestions and inputs.
Regards,
SK