tlenclos / react-native-audio-streaming

iOS & Android react native module to play an audio stream, with background support and media controls
MIT License
781 stars 255 forks source link

README is not enough information #96

Open huyhoang1990 opened 7 years ago

huyhoang1990 commented 7 years ago

Hi Team,

This project is really good ( at least for me ). But some information like seekToTime, getStatus of audio is missing in README. I have to read your code to know that 2 functions above is exists. So maybe many others dont know it is exits.

Please update your readme for this project that can get many stars more. Detail as below

ReactNativeAudioStreaming.seekToTime(60);
ReactNativeAudioStreaming.getStatus((error, info) => {
    if (error) {
        console.log(error);
    } else {
        console.log(info.duration);
        console.log(info.url);
        console.log(info.status);
        console.log(info.progress);
    }
});

Thanks

zk2401 commented 6 years ago

android may not support this