• Home
  • What's Tribler
  • Download
  • FAQ
  • Forum
Tribler
  • Developers Center

  • Getting Started
  • Introduction
  • Development Process
  • Releasing Process
  • Tips & Tricks
  • Architecture
  • Overview
  • Local Storage Structure
  • API
  • Tribler Core
  • Rationale
  • Tutorials
  • Overview
  • 1. Download Hello world!
  • 2. Video on Demand
  • 3. Live Streaming
  • 4. Seeding
  • Tools
  • Source browser
  • Roadmap
  • Timeline
  • Report a bug
  • Reported bugs
  • Gantt Chart
  • Forum

Wiki Navigation


Live Streaming Tutorial

Broadcasting your Live stream

tdef = TorrentDef()
tdef.create_live(bitrate)
tdef.set_tracker(s.get_internal_tracker_url())
tdef.finalize()
    
dscfg = DownloadStartupConfig()
dscfg.set_video_source(inputstream)
s.start_download(tdef,dscfg)

In this example a "Live"-torrent file is created with a specified video bitrate and using the internal tracker. The second part of the code starts the downloading/seeding Protocol for this torrent.

Watching Live Streams

Watching Live streams is the same as watching video-on-demand files: Tutorials/VideoOnDemand.

  • News
  • Developers
  • Business
  • Research
  • Jobs
  • About Us
  • Press
  • Contact
Login