@livepeer-frameworks/player-react 0.0.4 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,7 +22,7 @@ export default function App() {
22
22
  <div style={{ width: '100%', height: 500 }}>
23
23
  <Player
24
24
  contentType="live"
25
- contentId="my-stream"
25
+ contentId="pk_..." // playbackId
26
26
  options={{ gatewayUrl: 'https://your-bridge/graphql' }}
27
27
  />
28
28
  </div>
@@ -30,6 +30,19 @@ export default function App() {
30
30
  }
31
31
  ```
32
32
 
33
+ Notes:
34
+ - There is **no default gateway**; provide `gatewayUrl` unless you pass `endpoints` or `mistUrl`.
35
+
36
+ ### Direct MistServer Node (mistUrl)
37
+
38
+ ```tsx
39
+ <Player
40
+ contentType="live"
41
+ contentId="pk_..."
42
+ options={{ mistUrl: 'https://edge.example.com' }}
43
+ />
44
+ ```
45
+
33
46
  ### Styles
34
47
 
35
48
  ```ts