livepeer / go-PPSPP

Go implementation of the Peer-to-Peer Streaming Peer Protocol (rfc7574)
MIT License
11 stars 4 forks source link

core.Protocol: allow for specifying a callback that's invoked when new chunks are received #23

Closed derekchiang closed 7 years ago

derekchiang commented 7 years ago

Also update tests and examples to use the new AddSwarm.

derekchiang commented 7 years ago

@ericxtang I'm not sure yet. I think we will have a better grasp of the right level of abstraction when we start implementing VideoNetwork.