Skip to content

Instantly share code, notes, and snippets.

View adolphTech's full-sized avatar
🎯
Focusing -- Learning React

Adolph Odhiambo adolphTech

🎯
Focusing -- Learning React
View GitHub Profile
@Enforc3rr
Enforc3rr / web_rtc.md
Last active February 21, 2023 11:39
Information about Web-RTC (made after watching Hussein Nasser's WebRTC crash Course Video)

WEB RTC

Refer to Video = https://www.youtube.com/watch?v=FExZvpVvYxA

  • Stands for Web Real-Time Communication
  • Peer-To-Peer
  • Enables rich media communication

NAT

  • Stands for Network Address Translation
  • It basically is a way of translation of local network IP addresses to a single IP address.
@lucky-c
lucky-c / app.js
Last active May 6, 2024 13:13
React Native: Expo video HLS streaming sample
import React from 'react';
import { StyleSheet, Text, View, Dimensions } from 'react-native';
import { Video } from 'expo';
export default class App extends React.Component {
render() {
// Set video dimension based on its width, so the video doesn't stretched on any devices.
// The video dimension ratio is 11 : 9 for width and height
let videoWidth = Dimensions.get('window').width;