{"_id":"@codebayu/mux-data-expo-av","_rev":"3-ae7bf9152feedf970955554e90604dbc","name":"@codebayu/mux-data-expo-av","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@codebayu/mux-data-expo-av","version":"1.0.0","keywords":["mux","mux-data","expo-av","analytics"],"author":{"name":"bayu setiawan"},"license":"MIT","_id":"@codebayu/mux-data-expo-av@1.0.0","maintainers":[{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"}],"homepage":"https://github.com/codebayu/mux-data-expo-av#readme","bugs":{"url":"https://github.com/codebayu/mux-data-expo-av/issues"},"dist":{"shasum":"61e95f75e4585b92965d6e938e008b08b845b9ea","tarball":"https://registry.npmjs.org/@codebayu/mux-data-expo-av/-/mux-data-expo-av-1.0.0.tgz","fileCount":44,"integrity":"sha512-RqLGQFRjrQYAl/TEXBXV6CV7D55iEOA4QmWLPNSZuR294crG/VjJD7d38llGmfivvSdJgyuzyEkm+LpM+jVv8A==","signatures":[{"sig":"MEYCIQDfrE7IJboZevBGu23PvTVLu2y+qohA32zlUuMH30DqqwIhAK1N+l0ZnNB7HLoHZIYgDmY55uN4q3chbKanmUOhsNP6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1358115},"masin":"dist/index.js","types":"dist/index.d.ts","gitHead":"a602fd13768be86a69d0234b7bc1f119d871020a","scripts":{"build":"tsc"},"_npmUser":{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"},"repository":{"url":"git+https://github.com/codebayu/mux-data-expo-av.git","type":"git"},"_npmVersion":"9.7.2","description":"Mux analytics plugin for expo-av","directories":{},"_nodeVersion":"20.4.0","dependencies":{"mux-embed":"^5.2.1","expo-device":"^6.0.2"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.4.5","@types/react":"^18.2.40","@types/react-native":"^0.73.0"},"peerDependencies":{"react":"*","expo-av":"^14.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mux-data-expo-av_1.0.0_1722661995570_0.20575666435004103","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@codebayu/mux-data-expo-av","version":"1.0.1","keywords":["mux","mux-data","expo-av","analytics"],"author":{"name":"bayu setiawan"},"license":"MIT","_id":"@codebayu/mux-data-expo-av@1.0.1","maintainers":[{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"}],"homepage":"https://github.com/codebayu/mux-data-expo-av#readme","bugs":{"url":"https://github.com/codebayu/mux-data-expo-av/issues"},"dist":{"shasum":"fd4babb05d4894dd6745b0ec70c5d45be18565a9","tarball":"https://registry.npmjs.org/@codebayu/mux-data-expo-av/-/mux-data-expo-av-1.0.1.tgz","fileCount":44,"integrity":"sha512-E/HldTVIOIgRTO9CLlxczKF3g69HPi4xSjtpuzo/bBbCsfdvT1GGU03IJGxkJNR6H/VIoJ8Mjqoh4XeFul0SFg==","signatures":[{"sig":"MEUCIAWacp3RSW4aYX3bO++6emO7acg72GqmS1Zr0rkZHlSLAiEAkuiJ+Ig6A+NNzLmqAhCXHjHEj/e4lnIzCSCKEkXbajg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1359406},"masin":"dist/index.js","types":"dist/index.d.ts","gitHead":"38e808024b9d1e7697fb952593ec4e887e69d348","scripts":{"build":"tsc"},"_npmUser":{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"},"repository":{"url":"git+https://github.com/codebayu/mux-data-expo-av.git","type":"git"},"_npmVersion":"9.7.2","description":"Mux analytics plugin for expo-av","directories":{},"_nodeVersion":"20.4.0","dependencies":{"mux-embed":"^5.2.1","expo-device":"^6.0.2"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.4.5","@types/react":"^18.2.40","@types/react-native":"^0.73.0"},"peerDependencies":{"react":"*","expo-av":"^14.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mux-data-expo-av_1.0.1_1722662939366_0.9758793478341308","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@codebayu/mux-data-expo-av","version":"1.0.2","keywords":["mux","mux-data","expo-av","analytics"],"author":{"name":"bayu setiawan"},"license":"MIT","_id":"@codebayu/mux-data-expo-av@1.0.2","maintainers":[{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"}],"homepage":"https://github.com/codebayu/mux-data-expo-av#readme","bugs":{"url":"https://github.com/codebayu/mux-data-expo-av/issues"},"dist":{"shasum":"b1b322ffaae909ef48fbe861e3dbbd47696b66e6","tarball":"https://registry.npmjs.org/@codebayu/mux-data-expo-av/-/mux-data-expo-av-1.0.2.tgz","fileCount":44,"integrity":"sha512-kYJg6lVH+R4wsYQAI0qkAl7EkXJyTwHUXgnS96TqT0qL6OyDANs4Of/ef98A6/2aAfPJsww2Vox7qm1sMwT7xQ==","signatures":[{"sig":"MEQCICMBQNb9zMzh999xUUoi6oXYhSiIVvBdaA6mToRPxB2GAiAKz6NlJDJ0NSZJ4pvNWB1uyzcvu9rtaAs3qpsptSj5jw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1359274},"masin":"dist/index.js","types":"dist/index.d.ts","gitHead":"fd65ba41f83c5b01b65089870b7d7deed6ecaebc","scripts":{"build":"tsc"},"_npmUser":{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"},"repository":{"url":"git+https://github.com/codebayu/mux-data-expo-av.git","type":"git"},"_npmVersion":"9.7.2","description":"Mux analytics plugin for expo-av","directories":{},"_nodeVersion":"20.4.0","dependencies":{"mux-embed":"^5.2.1","expo-device":"^6.0.2"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","typescript":"^5.4.5","@types/react":"^18.2.40","@types/react-native":"^0.73.0"},"peerDependencies":{"react":"*","expo-av":"^14.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mux-data-expo-av_1.0.2_1722663683188_0.10460166886510347","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@codebayu/mux-data-expo-av","version":"1.0.3","description":"Mux analytics plugin for expo-av","masin":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/codebayu/mux-data-expo-av.git"},"keywords":["mux","mux-data","expo-av","analytics"],"author":{"name":"bayu setiawan"},"license":"MIT","bugs":{"url":"https://github.com/codebayu/mux-data-expo-av/issues"},"homepage":"https://github.com/codebayu/mux-data-expo-av#readme","devDependencies":{"@types/react":"^18.2.40","@types/react-native":"^0.73.0","react":"^18.2.0","typescript":"^5.4.5"},"peerDependencies":{"expo-av":"^14.0.6","react":"*"},"dependencies":{"expo-device":"^6.0.2","mux-embed":"^5.2.1"},"gitHead":"fd65ba41f83c5b01b65089870b7d7deed6ecaebc","_id":"@codebayu/mux-data-expo-av@1.0.3","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-AR0Uted+fK9iI9AVgdUZLQo0uw3DkTBGA6WBnyl6jZvItd/cYpuEuQHIt6RK5c2EWFC6mTBFsaIWxkez7TTAOA==","shasum":"ee3b2abb3fb4384e79f05b4203449f48d021e4a0","tarball":"https://registry.npmjs.org/@codebayu/mux-data-expo-av/-/mux-data-expo-av-1.0.3.tgz","fileCount":44,"unpackedSize":1359346,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq5MBMv3nGJpDjsAea+1Y/KJPz8l4HmSeWJfOJa5g9mgIhAKhLeb6uQjiADG7OLNuJXn9sVZLuWLdpCgJccjz3vygM"}]},"_npmUser":{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"},"directories":{},"maintainers":[{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mux-data-expo-av_1.0.3_1725012090364_0.13775087644346606"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-03T05:13:15.411Z","modified":"2024-08-30T10:01:30.839Z","1.0.0":"2024-08-03T05:13:15.849Z","1.0.1":"2024-08-03T05:28:59.666Z","1.0.2":"2024-08-03T05:41:23.399Z","1.0.3":"2024-08-30T10:01:30.605Z"},"bugs":{"url":"https://github.com/codebayu/mux-data-expo-av/issues"},"author":{"name":"bayu setiawan"},"license":"MIT","homepage":"https://github.com/codebayu/mux-data-expo-av#readme","keywords":["mux","mux-data","expo-av","analytics"],"repository":{"type":"git","url":"git+https://github.com/codebayu/mux-data-expo-av.git"},"description":"Mux analytics plugin for expo-av","maintainers":[{"name":"bayu-setiawan","email":"bayusetiawanipb@gmail.com"}],"readme":"# Mux Data Integration with expo-av\n\nThis is a package for using [Mux Data](https://mux.com/data/) for video QoS monitoring with a expo-av player.\n\nIf you are using React Native CLI, check out [this package](https://github.com/muxinc/mux-stats-sdk-react-native-video)\n\nView the DemoApp/ directory to see a demo application that implements this library.\n\n## Installation\n\n```bash\n# npm\nnpm install @codebayu/mux-data-expo-av\n\n# yarn\nyarn add @codebayu/mux-data-expo-av\n```\n\n## Usage\n\n```tsx\nimport app from './package.json'; // this is your application's package.json\nimport { ResizeMode, Video } from 'expo-av'; // import Video from expo-av like you normally would\nimport { Platform } from 'react-native';\nimport muxExpoAv from '@codebayu/mux-data-expo-av';\n\n// wrap the `Video` component with Mux functionality\nconst MuxVideo = muxExpoAv(Video);\n\n// Pass the same props to `MuxVideo` that you would pass to the\n// `Video` element. All of these props will be passed through to your underlying expo-av component\n// Include a new prop for `muxOptions`\n<MuxVideo\n  source={{\n    uri: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',\n  }}\n  style={{ width: '100%', aspectRatio: 16 / 9 }}\n  resizeMode={ResizeMode.COVER}\n  isLooping\n  useNativeControls\n  muxOptions={{\n    application_name: app.name, // (required) the name of your application\n    application_version: app.version, // the version of your application (optional, but encouraged)\n    data: {\n      env_key: 'YOUR_ENVIRONMENT_KEY', // (required)\n      player_software_version: '5.0.2', // (optional, but encouraged) the version of expo-av that you are using\n\n      // Site Metadata\n      viewer_user_id: '12345', // ex: '12345'\n      experiment_name: 'player_test_A', // ex: 'player_test_A'\n      sub_property_id: 'cus-1', // ex: 'cus-1'\n\n      // Player Metadata\n      player_name: '', // ex: 'My Main Player'\n      player_version: '', // ex: '1.0.0'\n      player_init_time: 0, // ex: 1451606400000\n\n      // Video Metadata\n      video_id: '', // ex: 'abcd123'\n      video_title: '', // ex: 'My Great Video'\n      video_series: '', // ex: 'Weekly Great Videos'\n      video_duration: '', // in milliseconds, ex: 120000\n      video_stream_type: 'on-demand', // 'live' or 'on-demand'\n      video_cdn: '', // ex: 'Fastly', 'Akamai'\n\n      // Custom Metadata\n      custom_1: 'custom value 1',\n    },\n  }}\n/>;\n```\n\n## License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](LICENSE) file for details.\n","readmeFilename":"README.md"}