Skip to content

Android RTSP shows black frame. #24

@ayaulym97

Description

@ayaulym97

IOS works perfectly.I added after installation all in readme.But in Android shows https url but rtsp shows black frame.What should I do?

import { LivePlayer } from "react-native-live-stream";
<LivePlayer
source={{
uri: "rtsp://admin:AVdev0021@192.168.1.64:554"
}}
ref={ref => {
this.player = ref;
}}
style={{ width: "100%", height: "30%", borderWidth: 1 }}
paused={true}
muted={true}
bufferTime={300}
maxBufferTime={1000}
resizeMode={"contain"}
onLoading={() => console.log("LOADINGGGG")}
onLoad={() => console.log("LOADED")}
onEnd={() => {}}

    />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions