...
- New version of the content-player should support for the old contents(Unstreamed mp4 contents).
- Newley created streaming content should not visible in the old version of content-player
Solution 1: Content config Data should have streaming video config
For the newly created content, player will accept the config for the video streaming so latest version of content player will stream the video based on the config.
Code Block |
---|
config={
videoStreaming:true
} |
Pros:
1.Old contents still will play as it is. will not going to break the contract.
Cons:
1.To identify the streaming url the mobile as to send extra property
Solution
...
2: New streaming mime type content
Currently content-player supports the below video mime type contents all these mime type contents are launched by org.ekestep.videorenderer-1.0 plugin.
...
- Need to maintain the multiple version of video js library.
Solution
...
3: Content Migration
Migrate all mp4/webm contents to streaming format so then new version of content-player will play the contents without breaking the contract.
...
2. The contents which is already downloaded in the mobile will not be going to play in the new version content-player.
Solution
...
4: Content player Should detect the streaming url.
The content player should find weather is mp4/web/streaming url with the help of the asset extension.
Sample streaming url link: http://sunbirdspikemedia-inct.streaming.media.azure.net/afcc5a99-d0c4-4ef5-9dfe-dc403a1269fb/learn-colors-with-numbers-in-kid.ism/manifest(format=m3u8-aapl-v3)
Example:
1. sample_video.mp4 -→ Mp4 video content.
...
- Multiple extension checks are needed to support.
Conclusion
- LP Should migrate all older MP4 mimeType Contents previewURL to empty.
- Sunbird mobile should show the "Preview" button only if previewURL is present.
- Sunbird mobile app will send following in content metadata to content playerFor streaming contentspreviewUrl(if available) = <s3 url>For locally downloaded contentspreviewUrl=<local basepath>
- Sunbird mobile app will send following in cData
Code Block language actionscript3 title cdata { “id”: “<launch type>”, // offline/streaming “type”: “PlayerLaunch" }
- Content player will stream the mp4 content based on the config which is passed.
- Need design from LP, What other video streaming metadata information is storing (Example: streamingType:"XXXX").
- Sunbird mobile app
CC: Vinu Kumar Souvik Mondal Mahesh Kumar Gangula Rayulu Villa Gourav More Swayangjit Parida Kartheek Palla