Rework defining output stream formats#25
Conversation
d976cf3 to
5b20a5c
Compare
|
Please, fix CI |
FelonEkonom
left a comment
There was a problem hiding this comment.
There one last thread unresolved
| defp deps do | ||
| [ | ||
| {:membrane_vk_video_plugin, "~> 0.2.0", optional: true}, | ||
| # {:membrane_vk_video_plugin, "~> 0.2.0", optional: true}, |
| @test_cases @video_cases ++ @audio_cases | ||
|
|
||
| Enum.map(@test_cases, fn test_case -> | ||
| @tag :base |
There was a problem hiding this comment.
| @tag :base |
FelonEkonom
left a comment
There was a problem hiding this comment.
Now I see that examples are not updated to the new API. Take a look at examples dir. It would be nice to have a test that runs examples and checks whenever they crash, to detect situations like this one.
FelonEkonom
left a comment
There was a problem hiding this comment.
What with running examples on CI? We could have a test, that runs both examples and checks if there is no error
| defmodule Example do | ||
| alias Membrane.{H264, H265, VP8, RCPipeline} | ||
| alias Membrane.{H264, RCPipeline} | ||
| alias Membrane.Transcoder.OutputFormat |
There was a problem hiding this comment.
I think that having alias for Membrane.Transcoder would be the prettiest in the example, right now we have Membrane.Transcoder in the child spec and OutputFormat.* in its opts, Trascoder and Transcoder.OutputFormat.* would be cleaner.
EDIT: it applies to the second example as well
I think this something we should address in general, not just in this plugin. Maybe add a CI step that does that in test, it should be pretty straightforward |
What with examples that require some interaction, like opening a browser tab to inject a WebRTC stream? Please, open an issue in membrane_core documenting this idea (or just implement it here 😉) |
FelonEkonom
left a comment
There was a problem hiding this comment.
As far as I understood you correctly during todays meeting, this won't be ready to review until you implement these phillars, am I right?
closes membraneframework/membrane_core#1152
Changes introduced by this PR:
OutputFormatprovides module to be used when specifying the desired output formatCode.ensure_loaded?/1calls