tlenclos / react-native-audio-streaming

iOS & Android react native module to play an audio stream, with background support and media controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README is not enough information

huyhoang1990 opened this issue · comments

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

android may not support this