You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use another video source and stream it using libstreaming but as I understand there is no way to change the source video and libstreaming automatically use device camera as source video.
to be more specific I have an external camera that I can get video as a raw ByteBuffer and I wanted to stream it over network.
it's not important what is HdCameraManager and other stuff the only important thing is in getVideoStream function I get the raw video data as bytes and wrap it up in a ByteBuffer and pass it to another function.
so How can I be able to send this raw stream to external encoder like Wowza or FFmpeg using Libstreaming?
Should I use MediaCodec and other stuff to make it through?
Should I change the libstreaming source code to make it happen?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
I want to use another video source and stream it using libstreaming but as I understand there is no way to change the source video and libstreaming automatically use device camera as source video.
to be more specific I have an external camera that I can get video as a raw
ByteBuffer
and I wanted to stream it over network.I call this function in
onCreate
it's not important what is
HdCameraManager
and other stuff the only important thing is ingetVideoStream
function I get the raw video data asbytes
and wrap it up in aByteBuffer
and pass it to another function.so How can I be able to send this raw stream to external encoder like Wowza or FFmpeg using Libstreaming?
Should I use
MediaCodec
and other stuff to make it through?Should I change the libstreaming source code to make it happen?
Thanks a lot.
The text was updated successfully, but these errors were encountered: