3.0.1 • Published 2 years ago

js-media-package v3.0.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

JS MEDIA Hooks Package

const {audioURL, isStopped, isRecording, startRecording, stopRecording} = useAudioRecorder();
startRecording(); stopRecording()
const { fileUrl, sendFile, fileExtension, resetFile, fileType, fileName } = useFileUpload();
const {requestLocation, location} = useLocation();
requestLocation();
const {requestNotifications, sendNotification} = useNotification();
requestNotifications(); sendNotification();
const {videoURL, isStopped, isRecording, startRecording, stopRecording, Stream} = useVideoRecorder();
startRecording(); stopRecording(); Stream(videoRef.current);


// to stream video
 useEffect(() => {
        if(videoRef.current) {
            Stream(videoRef.current);
        }
    }, [isStopped, isRecording]);

Conversion

decodeBase64(data: string);
encodeBase64(data : string)
blobToBase64(blob: Blob)
3.0.1

2 years ago

3.0.0

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.0

2 years ago