Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onVideoBuffer for Android #23

Closed
vvavepacket opened this issue May 20, 2017 · 1 comment
Closed

onVideoBuffer for Android #23

vvavepacket opened this issue May 20, 2017 · 1 comment

Comments

@vvavepacket
Copy link

It was mentioned from here TheWidlarzGroup#426 that there is video buffer callback. But I tried to use onVideoBuffer and it did'nt work.

onVideoBuffer = (data) => {
    console.log('onVideoBuffer called');
    console.dir(data);=
  };

style={styles.fullScreen}
            rate={this.state.rate}
            paused={this.state.paused}
            volume={this.state.volume}
            muted={this.state.muted}
            resizeMode={this.state.resizeMode}
            onLoad={this.onLoad}
            onProgress={this.onProgress}
            onEnd={this.onEnd}
            onAudioBecomingNoisy={this.onAudioBecomingNoisy}
            onAudioFocusChanged={this.onAudioFocusChanged}
            onVideoBuffer={this.onVideoBuffer}

the function was not called. Is this available on android?

I am using "react-native-video": "^1.0.0",

@vvavepacket
Copy link
Author

closing,, it should be onBuffer. not onVideoBuffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant