livepeer / go-livepeer-basicnet

Basic p2p video streaming for Livepeer
MIT License
18 stars 8 forks source link

Check for nodeID when calling `UpdateMasterPlaylist` #25

Open ericxtang opened 6 years ago

ericxtang commented 6 years ago

A node should only be able to update the master playlist from a local stream. Even though the current implementation only updates a local copy, semantically, it should throw an error if the NodeID portion of the StreamID doesn't match the local NodeID.