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

Support for different payload types #68

Closed
mat-hek opened this issue Jun 21, 2018 · 2 comments
Closed

Support for different payload types #68

mat-hek opened this issue Jun 21, 2018 · 2 comments
Assignees
Projects
Milestone

Comments

@mat-hek
Copy link
Member

mat-hek commented Jun 21, 2018

Currently we use only one payload type - erlang binary. We should support also a native C payload type, mutable and passed by pointer. This is necessary for processing large amount of data (such as high quality video).
We should consider:

  • Way of passing pointer to different NIFs
  • Monitoring lifecycle of payload
  • Adding payload type to caps
  • Size of each payload type should be accessible from elixir with possibly low overhead, because its used frequently to handle demand-related stuff.
  • Payload should be automatically converted by core if type is not supported by element.
@mat-hek mat-hek mentioned this issue Jun 22, 2018
3 tasks
@mspanc mspanc added this to the v0.2.0 milestone Jun 25, 2018
@mspanc
Copy link
Contributor

mspanc commented Jun 25, 2018

This is a strict requirement for adding video so according to the planning meeting on 25.06.2018 it should be done ASAP.

@mspanc
Copy link
Contributor

mspanc commented Jun 25, 2018

Caps should contain information about the payload type that may arrive to the element.

@jarekdragan jarekdragan added this to To do in v0.2.0 Jul 2, 2018
@bblaszkow06 bblaszkow06 moved this from To do to In progress in v0.2.0 Jul 16, 2018
@bblaszkow06 bblaszkow06 self-assigned this Jul 16, 2018
v0.2.0 automation moved this from In progress to Done Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v0.2.0
  
Done
Development

No branches or pull requests

3 participants