unreal-pixel-streaming

command
v3.0.0-...-dbc7dd3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 6 Imported by: 0

README

unreal-pixel-streaming

unreal-pixel-streaming demonstrates how to connect to a Unreal Pixel Streaming instance and accept the inbound audio/video

This example doesn't do anything with the media rtp-forwarder and save-to-disk shows some things you could do.

Instructions

Download unreal-pixel-streaming
export GO111MODULE=on
go get github.com/pion/example-webrtc-applications/v3/unreal-pixel-streaming
Run unreal-pixel-streaming and pass the url and origin

unreal-pixel-streaming -url wss://my-unreal-pixel-streaming.com/controller.htm?t=ABCDEF -origin 'https://my-unreal-pixel-streaming.com'

Hit 'Start Session' in jsfiddle, enjoy your video!

You will then get the following messages when your media is received.

Player Count 2
Connection State has changed checking
Connection State has changed connected
Track has started, of type 111: audio/opus
Track has started, of type 96: video/H264

Congrats, you have used Pion WebRTC! Now start building something cool

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL