Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(FEC-8176): restructure media config #52

Merged
merged 2 commits into from
May 6, 2018
Merged

feat(FEC-8176): restructure media config #52

merged 2 commits into from
May 6, 2018

Conversation

dan-ziv
Copy link
Contributor

@dan-ziv dan-ziv commented May 1, 2018

Description of the Changes

Restructuring media config to:

ProviderMediaConfigObject = {
  session: ProviderMediaConfigSessionObject,
  sources: ProviderMediaConfigSourcesObject,
  plugins: { [plugin: string]: Object }
};

where:

ProviderMediaConfigSessionObject = {
  partnerId: number,
  uiConfId?: number,
  ks?: string
};
ProviderMediaConfigSourcesObject = {
  dash: Array<ProviderMediaSourceObject>,
  hls: Array<ProviderMediaSourceObject>,
  progressive: Array<ProviderMediaSourceObject>,
  duration: number,
  type: string,
  id: string,
  poster: string | Array<Object>,
  dvr: boolean,
  metadata: ProviderMediaConfigMetadataObject
};
ProviderMediaConfigMetadataObject = {
  name: string,
  description: string
};

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@dan-ziv dan-ziv self-assigned this May 1, 2018
@dan-ziv dan-ziv requested review from OrenMe and yairans May 1, 2018 11:00
@dan-ziv dan-ziv merged commit 911d79d into master May 6, 2018
@dan-ziv dan-ziv deleted the FEC-8176 branch May 6, 2018 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant