IJKAVMoviePlayerController.h 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * IJKAVMoviePlayerController.h
  3. *
  4. * Copyright (c) 2014 Bilibili
  5. * Copyright (c) 2014 Zhang Rui <bbcallen@gmail.com>
  6. *
  7. * This file is part of ijkPlayer.
  8. *
  9. * ijkPlayer is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2.1 of the License, or (at your option) any later version.
  13. *
  14. * ijkPlayer is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with ijkPlayer; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. */
  23. /*
  24. File: AVPlayerDemoPlaybackViewController.h
  25. Abstract: UIViewController managing a playback view, thumbnail view, and associated playback UI.
  26. Version: 1.3
  27. Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
  28. Inc. ("Apple") in consideration of your agreement to the following
  29. terms, and your use, installation, modification or redistribution of
  30. this Apple software constitutes acceptance of these terms. If you do
  31. not agree with these terms, please do not use, install, modify or
  32. redistribute this Apple software.
  33. In consideration of your agreement to abide by the following terms, and
  34. subject to these terms, Apple grants you a personal, non-exclusive
  35. license, under Apple's copyrights in this original Apple software (the
  36. "Apple Software"), to use, reproduce, modify and redistribute the Apple
  37. Software, with or without modifications, in source and/or binary forms;
  38. provided that if you redistribute the Apple Software in its entirety and
  39. without modifications, you must retain this notice and the following
  40. text and disclaimers in all such redistributions of the Apple Software.
  41. Neither the name, trademarks, service marks or logos of Apple Inc. may
  42. be used to endorse or promote products derived from the Apple Software
  43. without specific prior written permission from Apple. Except as
  44. expressly stated in this notice, no other rights or licenses, express or
  45. implied, are granted by Apple herein, including but not limited to any
  46. patent rights that may be infringed by your derivative works or by other
  47. works in which the Apple Software may be incorporated.
  48. The Apple Software is provided by Apple on an "AS IS" basis. APPLE
  49. MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
  50. THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
  51. FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
  52. OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
  53. IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
  54. OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  55. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  56. INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
  57. MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
  58. AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
  59. STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
  60. POSSIBILITY OF SUCH DAMAGE.
  61. Copyright (C) 2014 Apple Inc. All Rights Reserved.
  62. */
  63. #import "IJKMediaPlayback.h"
  64. @interface IJKAVMoviePlayerController : NSObject <IJKMediaPlayback>
  65. - (id)initWithContentURL:(NSURL *)aUrl;
  66. - (id)initWithContentURLString:(NSString *)aUrl;
  67. + (id)getInstance:(NSString *)aUrl;
  68. @end