Git Product home page Git Product logo

Comments (12)

shogo4405 avatar shogo4405 commented on May 19, 2024

No. playback feature is exprimental.

from haishinkit.swift.

keithcml avatar keithcml commented on May 19, 2024

how about now??

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 19, 2024

Video(H264 Baseline) is works ok.
Audio is NO.

implementing now. difficult for me X)

from haishinkit.swift.

keithcml avatar keithcml commented on May 19, 2024

Then I can play muted video via RTMP. Thats enough for me at this moment!!

from haishinkit.swift.

timelincoln7648 avatar timelincoln7648 commented on May 19, 2024

still no audio?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 19, 2024

Audio(AAC(Main) is works ok. But buggy...

from haishinkit.swift.

jackfreed avatar jackfreed commented on May 19, 2024

how or where do u attach the audio for playing back?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 19, 2024

@jackfreed
What did u mean?

from haishinkit.swift.

jackfreed avatar jackfreed commented on May 19, 2024

we are currently using GLLFView, on which we attachStream the RTMPStream, but there is no audio, so i was thinking there had to be another object to attach to so we get audio as well?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 19, 2024

@jackfreed

how or where do u attach the audio for playing back?

No way. It is a publiser-side job. Playback feature is exprimental. I think framework-side problem.

from haishinkit.swift.

jackfreed avatar jackfreed commented on May 19, 2024

ok because i would like to experiment with the audio playback :-)

any hints, how to start ?

let lf = GLLFView(frame: CGRect.zero)
let conn = RTMPConnection()
let stream = RTMPStream(connection: conn)

lf.attachStream(stream)

should be enough (written from the top of my head) for the audio to play ?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 19, 2024

let lf = GLLFView(frame: CGRect.zero)
let conn = RTMPConnection()
let stream = RTMPStream(connection: conn)
lf.attachStream(stream)

conn.connect("rtmp://your-rtmp-server/appName")
stream.play("your-stream-name")

from haishinkit.swift.

Related Issues (20)

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.