summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Permit conditional registry of mediaserver extensionsGlenn Kasten2013-02-204-0/+57
| | | | Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
* Merge "Refactoring: Rename SurfaceTextureClient to Surface"Mathias Agopian2013-02-159-21/+21
|\
| * Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-159-21/+21
| | | | | | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* | Remove FragmentedMP4ExtractorMarco Nelissen2013-02-155-544/+1
|/ | | | | | MPEG4Extractor now supports fragmented mp4 files. Change-Id: I5659a51f4e5e4407a12535e69238fe3abffda7dc
* Add support for fragmented mp4 to MPEG4ExtractorMarco Nelissen2013-02-153-29/+897
| | | | | | | This makes FragmentedMP4Extractor obsolete. It will be removed in a separate change. Change-Id: Ida74c07ccf84983e20a1320ee24ffc7a5c083859
* Merge "Add OMX.google.vpx.encoder"James Dong2013-02-131-0/+1
|\
| * Add OMX.google.vpx.encoderJames Dong2013-02-121-0/+1
| | | | | | | | Change-Id: I843e6e542533884a94e105e1cb56f16f0440af61
* | Adds VPX encoding support for stagefright.Kunter Gultekin2013-02-125-0/+1102
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only following encoder settings are available - target bitrate - rate control (constant / variable) - frame rate - token partitioning - error resilience - reconstruction & loop filters Only following color formats are recognized - YUV420Planar - YUV420SemiPlanar - AndroidOpaque Following settings are not configurable by the client - encoding deadline is realtime - the algorithm interface for encoder is vp8 - fractional bits of frame rate is discarded - timebase is fixed to 1/1000000 Requires libvpx to be built with encoder support enabled. Requires openmax 1.1.2 extension headers. Relevant tests exist in cts repo. Change-Id: I650f1aca83e7dc93f79d7e6cba7ac24f26e66d40 Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>
* Add the native MediaMuxer support.ztenghui2013-02-123-0/+273
| | | | | | | | | MediaAdapter: a helper class to convert the push model to pull model. MediaMuxer: the real muxer. bug:7991013 Change-Id: If3b79551bc6332bc81f5c2740885e579a5c4abf9
* Add support for querying if a stream is active remotelyJean-Michel Trivi2013-02-112-1/+30
| | | | | | Bug 7485803 Change-Id: I0744374f130fd2dd0714102354cffed2fa915361
* Revert "Adds VPX encoding support for stagefright."James Dong2013-02-085-1102/+0
| | | | | | | This lib was not part of the build, but it is built anyway for userdebug image (not for eng though). let me revert it for now... This reverts commit 6c6bb9873f55853fe74d8f45ad3ae116636d8be7.
* Merge "Adds VPX encoding support for stagefright."James Dong2013-02-095-0/+1102
|\
| * Adds VPX encoding support for stagefright.Kunter Gultekin2013-02-075-0/+1102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only following encoder settings are available - target bitrate - rate control (constant / variable) - frame rate - token partitioning - error resilience - reconstruction & loop filters Only following color formats are recognized - YUV420Planar - YUV420SemiPlanar - AndroidOpaque Following settings are not configurable by the client - encoding deadline is realtime - the algorithm interface for encoder is vp8 - fractional bits of frame rate is discarded - timebase is fixed to 1/1000000 Requires libvpx to be built with encoder support enabled. Requires openmax 1.1.2 extension headers. Relevant tests exist in cts repo. Change-Id: If759edb8db36acbd24dcb53d159a54e942766020 Signed-off-by: Kunter Gultekin <kuntergultekin@google.com>
* | Merge "MTP: Write initial data to correct file offset in SendPartialObject"Mike Lockwoood2013-02-081-1/+1
|\ \
| * | MTP: Write initial data to correct file offset in SendPartialObjectMike Lockwoood2013-02-081-1/+1
| | | | | | | | | | | | Change-Id: I84288aeda3e65e6e6487f11d32a72910cd16cff2
* | | Merge "Allow for dynamic reconfiguration of the video bitrate used"Andreas Huber2013-02-074-0/+95
|\ \ \
| * | | Allow for dynamic reconfiguration of the video bitrate usedAndreas Huber2013-02-074-0/+95
| | |/ | |/| | | | | | | | | | | | | to encode video while running as a wfd source. Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
* | | A few more patches to fix wfd tcp unicast transport.Andreas Huber2013-02-072-1/+16
|/ / | | | | | | Change-Id: Ie2f1b1e56c487ac4c3ef19d9e79022a35084e042
* | Avoid rebuffering after RTSP pauseRoger Jönsson2013-02-061-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If pausing an RTSP stream, an RTSP Pause request is sent and then if the stream is immediately resumed again, an RTSP Play request will be sent to the server. But the new data after the pause will not be buffered until Sender Reports have arrived again on both channels. Meanwhile the player will resume playback and continue consuming the already existing buffer. This means that there is a risk that the buffer is emptied while waiting for sender reports. This commit simply adds a delay before the RTSP pause request is sent, allowing some additional RTSP buffering that might be needed when the stream is resumed again. Also, if the stream is resumed again before the RTSP pause request is sent, there is no need for any RTSP pause request, hence it is omitted. Change-Id: I928c8bfb5e99a6a146dcda4e51e528973ecbe065
* | EOS fixes for RTSP streamsjoakim johansson2013-02-061-2/+86
| | | | | | | | | | | | | | The fix takes care of several near end of stream use cases: seek, pause and fake timestamps. Change-Id: I5f5fa881b1f619dfd5e1afd2af957082345c59eb
* | RTSP: Parse session level control attribute from SDPMåns Zigher2013-02-061-5/+31
| | | | | | | | | | | | | | | | If a=control: is present at session-level in the SDP response, RFC2326:C.1.1 defines the URL to be used for aggregate commands. This includes PLAY and PAUSE but not TEARDOWN. Change-Id: Iaa1dc2271d00df39dc83477a99fda6fbeb73c5b4
* | Enable pause/resume for RTSP streamingRoger Jönsson2013-02-065-4/+147
| | | | | | | | | | | | | | | | | | When a stream is paused, RTSP Pause is also sent to the server. Otherwise the buffering might continue until the memory runs out. When the stream is resumed, RTSP Play will be sent in order to resume the buffering. Change-Id: I5dc1761140827c532451638c3fd3f34271e5b9ab
* | RTSP buffering improvementsRoger Jönsson2013-02-068-13/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | Added buffering start and end notifications for RTSP. MEDIA_INFO_BUFFERING_START is sent when buffering is started and MEDIA_INFO_BUFFERING_END is sent when the buffer has filled up. This patch also adds RTSP end of stream handling. EOS is signalled when BYE is received OR when detecting end of stream even if no actual EOS is received. Change-Id: I5cccb6845060ae6afd66d9f735b89da81476cd13
* | HLS now properly publishes its "seekable" flags after connectionAndreas Huber2013-02-065-28/+125
| | | | | | | | | | | | | | has successfully completed and a sufficient amount of data fetched, and only then signals that preparation is completed. Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
* | RTSP now properly publishes its "seekable" flags after connectionAndreas Huber2013-02-056-14/+56
| | | | | | | | | | | | | | has successfully completed and only then signals that preparation is complete. Change-Id: I1a60f718e673fe1462c69369c40eafbed6a14326
* | Merge "Support for a "preparation" state that can take care of lengthy"Andreas Huber2013-02-0515-119/+406
|\ \
| * | Support for a "preparation" state that can take care of lengthyAndreas Huber2013-02-0515-119/+406
| | | | | | | | | | | | | | | | | | | | | operations in NuPlayer and its sources. Sources also can publish their flags now and the mediaplayer UI will be able to pick up on these. Change-Id: I4f2b7e5d105dcb4b6c9132cd0e8799efa0c6a14b
* | | Fix a typo in MediaPlayerFactory that would prevent us fromAndreas Huber2013-02-051-1/+1
|/ / | | | | | | | | | | opting in to nuplayer for general media playback. Change-Id: I050f5178aadbb0b8bf422861ef885745c0b9006a
* | Detect live streamsRoger Jönsson2013-02-051-5/+39
| | | | | | | | | | | | | | The information is used to decide on visibility of pause button and to handle the duration clock correctly. Change-Id: I286ac992fd171c7fc313e429326d38b6fc80e3fb
* | Merge "Added HTTP support for SDP files."Andreas Huber2013-02-058-7/+362
|\ \
| * | Added HTTP support for SDP files.Oscar Rydhé2013-02-058-7/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for playing SDP files from http links. Previously, SDP files only worked when started from rtsp links (rtsp://a.b.c/abc.sdp), but they are just as common in http links. patch provided by "Oscar Rydhé <oscar.rydhe@sonyericsson.com>" Change-Id: Ic73af3a9a002009dbe8b04c267a4621bf7fe2f46
* | | Merge "Groundwork to support bidirectional, asynchronous communication"Andreas Huber2013-02-0513-19/+75
|\ \ \ | |/ /
| * | Groundwork to support bidirectional, asynchronous communicationAndreas Huber2013-02-0513-19/+75
| | | | | | | | | | | | | | | | | | between NuPlayer and its sources. Change-Id: I1989022d806206b926555add3aa5c1fcf37aa78d
* | | Merge "Revive the code to support TCP interleaved transport"Andreas Huber2013-02-056-29/+88
|\ \ \
| * | | Revive the code to support TCP interleaved transportAndreas Huber2013-02-016-29/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also support non-interleaved transport now, but the sink gets to decide what mode it wants to run in, _not_ the source. Change-Id: I3b6057f86871084e4decf930bb4a7a2d7517b0f2
* | | | Merge "Return error code if setting scaling mode fails"Marco Nelissen2013-02-051-0/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Return error code if setting scaling mode failsMarco Nelissen2013-02-051-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | The return code from native_window_set_scaling_mode() was ignored. Looking at the code review comments that introduced this code, it seems like the intention was to return the error code in that case. Change-Id: I9592cc378f0a0b960d37178aa0525fc17e8734ba
* | | Merge "Remove a few unused header includes from PlaybackSession.cpp"James Dong2013-02-041-4/+0
|\ \ \ | |_|/ |/| |
| * | Remove a few unused header includes from PlaybackSession.cppJames Dong2013-02-011-4/+0
| |/ | | | | | | Change-Id: Id3147e2f2d5d75ccc172e67802639cd43ed68870
* | Merge "Fix typo and reduce allocation overhead of RTP retransmission requests."Andreas Huber2013-02-011-2/+2
|\ \
| * | Fix typo and reduce allocation overhead of RTP retransmission requests.Andreas Huber2013-01-311-2/+2
| |/ | | | | | | Change-Id: I402a195da5dfeceadb4d073888ee7702c5532dc8
* | Merge "Add media.log service based on NBLog"Glenn Kasten2013-02-014-9/+196
|\ \ | |/ |/|
| * Add media.log service based on NBLogGlenn Kasten2013-01-254-9/+196
| | | | | | | | Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
* | Merge "Actually display something on screen when instantiating a wfd sink via"Andreas Huber2013-01-301-1/+37
|\ \
| * | Actually display something on screen when instantiating a wfd sink viaAndreas Huber2013-01-301-1/+37
| | | | | | | | | | | | | | | | | | the wfd commandline tool. Change-Id: I26466efb95a5837a14d77d6581e0777038d31d95
* | | Plumbing to reflect minor changes in the HDCP module API that allow forAndreas Huber2013-01-307-10/+87
|/ / | | | | | | | | | | support of _decryption_ modules in addition to what we already supported. Change-Id: Ic37b87dc170ba8def3817991d25df798f21e950b
* | Merge "Squashed commit of the following:"Andreas Huber2013-01-2913-120/+725
|\ \
| * | Squashed commit of the following:Andreas Huber2013-01-2913-120/+725
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f2c38e5cf8cee3b597c744c9d6a9c0969ac8599a Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 16:33:07 2013 -0800 Proper support for video format selection/negotiation. Change-Id: I7db86cef939d63b8064be1c74de9ad78e85d45d9 commit 488023b7bad086692ffe942114fa3cc0e59a16c0 Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 11:21:23 2013 -0800 Sink now notifies clients once it is disconnected. Change-Id: I2f0a458ef1ec30dda1272ad5a013fee4ee70edc9 commit 783932e40dd904aa531c263ad51280d9ca814dcb Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 15:03:40 2012 -0800 Alternative DirectRenderer implementation. Change-Id: I307beb913d7a61cb938bcb02696cc2e82d2b8b07 commit 1935cc9a87824aea71fc8ebe2162f62ec634ce5a Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 10:24:27 2012 -0800 Experimenting with wifi sink timing. Change-Id: I059bae9762cf11777666988a8b4ab2012b5807be commit a859ee1eadd6a1d6a080667917e8b102c3770d61 Author: Andreas Huber <andih@google.com> Date: Thu Nov 15 11:16:30 2012 -0800 wfd sink update. Change-Id: I026dfc580be92aa40dbbe7c1bc061fadf3b08be8 Change-Id: I191d3d7015869ca99254d813d074328fb5b2f479
* | | Merge "ACodec Fix."Marco Nelissen2013-01-291-1/+2
|\ \ \ | |_|/ |/| |
| * | ACodec Fix.SeungBeom Kim2013-01-281-1/+2
| |/ | | | | | | | | | | | | Bug: 7961269 Change-Id: Ie12530f89dd96dbce82e873de0c2310490390c34 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>