linnovate / replay-api

2 stars 3 forks source link

Demo preparations #54

Closed CodeJjang closed 8 years ago

CodeJjang commented 8 years ago

Thought about the steps we should do in our demo at the end of the milestone:

  1. Drop a file at the shared storage (of Wowza & Kaltura).
  2. Create entry via our API 2.1 API receives the kaltura ID of the item -> fetch the video data from Kaltura -> saves new Video object in our db -> returns the video ID to client.

    (Those steps have simulated the recording process of the video, later on this should not happen via the API of course)

  3. Client asks for video list (via /api/v0.1/video)
  4. Client pass the url .../api/v0.1/dash/mpd/:id to the player 4.1 This way the API only exposes the protocol it uses, which is cruical for the player. The client does not talk with Wowza yet and does not care what is our streaming engine, it knows the protocol and recieves a MPD to play. 4.2 Behind the scenes the API talk to the Wowza server, asks for MPD and returns it to Client.
  5. Player plays video.
CodeJjang commented 8 years ago

Note: Couldn't test the whole process because I do not have permissions to our Kaltura CE server, so every step works standalone but couldn't check the whole chain at the moment. This should be done tomorrow.