Streaming app for web tv channel legal ?

it’s legal or not to develop an application for tv online as France tv or germany tv ?