rtsp in react native

import React from 'react';

import { View } from 'react-native';

import { RtspPlayer } from 'react-native-rtsp-player';


const CameraScreen = () => {

  const ipCameraUrl = 'rtsp://YOUR_IP_CAMERA_URL';


  return (

    <View style={{ flex: 1 }}>

      <RtspPlayer

        url={ipCameraUrl}

        style={{ flex: 1 }}

        autoplay

        controls

      />

    </View>

  );

};


export default CameraScreen;


Comments

Popular posts from this blog

WR3D wwe 2k19 MOD apk direct download link for Android

Download wwe2k17 wr3d

Top 5 best Professional video editing apps for Andoid