History log of /haiku/src/add-ons/media/plugins/http_streamer/HTTPMediaIO.h
Revision Date Author Comments
# ac4b8373 22-Jan-2021 Niels Sascha Reedijk <niels.reedijk@gmail.com>

http_streamer: switch to libnetservices.a

Switch to the experimental services API as the copy in libbnetapi.so is
deprecated.

Change-Id: I57d76b1d1be5c957221cc2d77d148fadbac2a642
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3668
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 218a8c03 17-May-2019 Augustin Cavalier <waddlesplash@gmail.com>

Revert the Codec Kit.

All of Barrett's individual reverts have been squashed into this
one commit, save a few actual bugfixes.

Change-Id: Ib0a7d0a841d3ac40b1fca7372c58b7f9229bd1f0


# 5232a911 27-Nov-2018 Barrett17 <b.vitruvio@gmail.com>

media_plugins: Rework to use the BCodecKit namespace


# 98e33bf6 31-Oct-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

HTTPMediaIO: fix crash on exit.

- Remove custom BUrlContext, use the shared one to simplify ownership
management. This means all HTTP media streams in an application share
the same context (including cookies), however.
- Fix deletion of the BUrlRequest object, which cannot reliably happen
before the thread has exited. RequestCompleted is too early.


# 3ff901ac 07-Sep-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Fix different issues

* Cleanup object management.
* Remove Close() and use the destructor in place.
* Release listener sem on exit.
* Return when there's a request mismatch.
* Add some debugging.
* MediaPlayer crashes are fixed as result of the patchset.


# be2c0725 10-Jul-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Enforce safeness in constructor/thread

* Wait for the thread to exit.
* Update size from the data thread.


# eed8ce57 09-Jul-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Implement IsRunning, more reliability

* The init sem is released also when the request is completed
to be sure the backend doesn't lock on us.
* Implement IsRunning relying on BUrlRequest::IsRunning.


# b4e751b8 03-Jul-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Mutable flag is chosen at runtime

* BeOS Radio now works.


# d3630cba 02-Jul-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Refine init, set static timeout

* When in Open() the plugin wait for the first buffer
or return an error if timeout expires.
* Make size retrieve more reliable.


# 93a1f9d2 30-Jun-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Sync with BAdapterIO changes


# 0ba82236 24-Jun-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

Streaming: Remove any pointer BUrl argument

* There's no need to pass BUrl by pointer, this is
potentially dangerous and leaky without any advantage,
copying is definitely safer.


# f1c771f8 22-Jun-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

HTTPMediaIO: Implement SetSize and GetSize

* SetSize requests are denied where GetSize return the request
lengths. Note that flags are changed accordingly.


# fbabc74d 30-May-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: General refactor making use of new API

* Use BUrlProtocolRoster instead of BFileRequest.
* Removed HTTPMediaIO custom code that now inherits
BAdapterIO and make the whole thing more simple.
* It work with some formats (flv, mp3, mkv) but ffmpeg fail
on others (mp4, 3gp).
* GetSize needs improvements.


# 617b62c9 17-Mar-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

http_streamer: Add basic draft version