GithubHelp home page GithubHelp logo

swiftrtp's Introduction

SwiftRTP

Swift 2 (iOS and Mac OS) implementation of RTP ("RTP: A Transport Protocol for Real-Time Applications") and the H264 RTP Profile ("RTP Payload Format for H.264 Video").

What Works

ffmpeg -re -f lavfi -i smptebars -vcodec libx264 -tune zerolatency -vf scale=1920:1080 -b 900k -sdp_file stream.sdp -f rtp "rtp://127.0.0.1:5600"

What Does Not Work

  • Check the liberal amount of // TODOs in the code.
  • RTP padding, extensions and csrcs are not supported yet. If a RTP packet contains any of these elements it will be dropped.
  • The STAP-A RTP H264 packet type is not tested well and doesn't seem to be reliable. Further work is needed.
  • The following RTP H264 packet types are not yet supported:
    • FU-B
    • STAP-B
    • MTAP-A
    • MTAP-B

Future

  • Fix items in the "What Does Not Work" section. The extra packet types are low priority. They're generally not seen coming either from 3DR Solo or from ffmpeg.
  • Better support for handling SPS and PPS packets. It would be nice if the DecompressionSession class could handle changed parameters better.
  • Preload SPS and PPS packets for "fast starts".
  • Configure the RTP packet type. 96 (the first user-available type) is hard-coded.
  • SDP file reader?
  • Hooks for logging (don't log to println)
  • For STAP and MTAP packets we should be calling CMSampleBufferCreate once for all samples in the packet.

swiftrtp's People

Contributors

byuarus avatar darrylhthomas avatar jasontrademark avatar liamstask avatar schwa avatar tommy-b-10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swiftrtp's Issues

Cannot update carthage - object 'develop' does not exist

When trying to update carthage for Swift 3.1, it is giving me the error "Failed to check out repository ...SwiftIO: No object named 'develop' exists.

This is due to schwa removing the develop branch of the SwiftIO library.

Can you please fix the cartfile for this library by updating the SwiftIO branch to 'master' instead of 'develop'

Thanks!

IOS recording error

in the mac is right.

but i need ios recording video.

excpetion:

MovieWriter.writer not ready for more media data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.