Latest 1.1
Homepage https://github.com/dji-sdk/DJIWidget
License CUSTOM ****************************************************************************************************************************

DJIWidget is offered under MIT License (See below).

The MIT License (MIT)
Copyright (c) 2018 DJI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
****************************************************************************************************************************

Platforms ios 8.0, requires ARC
Authors

What Is This?

The DJIWidget is a delightful DJI library includes VideoPreviewer for video decoding. You can integrate the contents of DJIWidget into your DJI iOS Mobile SDK project to implement the video decoding feature. DJIWidget also provides other features like No SD Card shoot photo and recode video.

For more details of the usage, please check the DJI Mobile SDK iOS Github Repo.

Installation

DJIWidget is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DJIWidget', '~> 1.1'

Note: Remember to add use_frameworks! in the pod file to use DJIWidget as a dynamic framework in Swift project.

FFmpeg Customization

We have forked the original FFmpeg and added customized features to provide more video frame information including the frame’s width and height, frame rate number, etc. These features will help to implement video hardware decoding.

The DJIWidget is dynamically linked with unmodified libraries of FFmpeg licensed under the LGPLv2.1. The source code of these FFmpeg libraries, the compilation instructions, and the LGPL v2.1 license are provided in Github.

Credits

DJIWidget is owned and maintained by DJI SDK.

Support

You can get support from DJI with the following methods:

License

DJIWidget is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DJIWidget",
    "version": "1.1",
    "summary": "DJIWidget for DJI iOS Mobile SDK",
    "homepage": "https://github.com/dji-sdk/DJIWidget",
    "license": {
        "type": "CUSTOM",
        "text": "****************************************************************************************************************************nnDJIWidget is offered under MIT License (See below).nnThe MIT License (MIT)nCopyright (c) 2018 DJInnPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.n****************************************************************************************************************************n"
    },
    "authors": {
        "DJI SDK": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dji-sdk/DJIWidget.git",
        "tag": "1.1",
        "submodules": true
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DJIWidget/**/*.{h,m,c}",
    "ios": {
        "public_header_files": "DJIWidget/**/*.{h}",
        "vendored_frameworks": "FFmpeg/FFmpeg.framework"
    },
    "xcconfig": {
        "HEADER_SEARCH_PATHS": ""$(PODS_ROOT)/DJIWidget/FFmpeg/FFmpeg.framework/Headers" "$(PODS_ROOT)/Headers/Public/DJIWidget/FFmpeg/.."/**"
    },
    "pod_target_xcconfig": {
        "ENABLE_BITCODE": "NO"
    }
}

Pin It on Pinterest

Share This