Skip to content

v0.5.37-ad-astra

Pre-release
Pre-release
Compare
Choose a tag to compare
@ad-astra-video ad-astra-video released this 20 Jan 14:41
· 208 commits to master since this release

go-livepeer release v0.5.37 with modifications:

Transcoders sorting by time to transcode or priority.

  • Options are 0 = default, equal load, 1 = time to transcode, 2 = priority (high to low)
  • Set transcoder sort method to select transcoder on priority curl http://127.0.0.1:7935/setTranscoderSortMethod?transcodersortmethod=2

Web server endpoints to set connected transcoder priority and capacity

  • Set transcoder priority curl -X POST -d "priority=200&t_uri=127.0.0.1" http://127.0.0.1:7935/setTranscoderPriority
  • Set transcoder capacity curl -X POST -d "capacity=5&t_uri=127.0.0.1" http://127.0.0.1:7935/setTranscoderCapacity
  • Note: you can set priority by IP address or full uri. The transcoder port changes every time it reconnects.

Transcoders can operate using separate secrets

  • Activate a transcoder secret curl -X POST http://127.0.0.1:7935/activateTranscoderSecret returns a new transcoder secret
  • Deactivate a transcoder secret curl -X POST -d "secret=verybigsecret" http://127.0.0.1:7935/deactivateTranscoderSecret

Redeemer only redeems tickets, does not monitor maxfloat for facevalue calculations.

Metrics for transcoders (Pixels Per Nanosecond, Real Time Ratio, Load and Capacity)

  • /status endpoint provides this data as well. Secret used by transcoder included in transcoder information.

Set max sessions for orchestrator while running

  • Set orchestrator max sessions curl -X POST -d "maxsessions=30" http://127.0.0.1:7935/setMaxSessions
  • Max sessions updates to add capacity provided by remote transcoder at connection and removes sessions at close of remote transcoder

Transcoders can use separate secrets to connect to orchestrator

  • orchSecret in launch command or config is always included in transcoder secrets
  • /activateTranscoderSecret endpoint creates a new secret and returns the secret in the body
  • /deactivateTranscoderSecret endpoint removes a secret curl -X POST -d "secret=verybigsecret" http://127.0.0.1:7935/deactivateTranscoderSecret

Broadcaster node will select orchestrator that is in trusted or untrusted pool if OrchAddr header is in request to http push /live endpoint

  • OrchAddr: header can be URL (https://domain:port) or main O eth address (main O eth address that would redeem tickets)

Broadcaster node logs discovery latency to orchestrators to metrics

Includes fix for removeFromRemoteTranscoders to do simple loop and discard the T not wanted (provided by @eliteprox)