I know that iOS AV player supplies a UUID session ID in the HTTP request header X-Playback-Session-Id when requesting content chunks from an HTTP streaming server.
What is the behavior of the Android media player in this case? Does it send its session ID to the server at all? If it does, what HTTP request header does it use for this purpose?
Thanks in advance for any feedback!
Having implemented an in-app HTTP server to stream data into an Android MediaPlayer, I am reasonably certain that the HTTP request does not include any session id header. As I remember it, the HTTP request is pretty basic.
The Android component that handles all that is called "libstagefright"... you can fish through the source code to see what it actually does. Here's one version of the relevant source file that isn't too old: https://github.com/nadlabak/android_frameworks_base/blob/gingerbread/media/libstagefright/NuHTTPDataSource.cpp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With