Giter Site home page Giter Site logo

Comments (16)

shogo4405 avatar shogo4405 commented on May 27, 2024

Not yet...X)
Thank u feed back.

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 27, 2024

take notes NetConnection specifications

  • no route to host
    1. NetConnection.Connect.Failed
  • client network down
    1. NetConnection.Connect.Success:Connection succeeded.
    2. NetConnection.Connect.NetworkChange:undefined
    3. NetConnection.Connect.NetworkChange:undefined
    4. NetConnection.Connect.Closed:undefined
  • server shutdown
    1. NetConnection.Connect.Success: Connection succeeded.
    2. NetConnection.Connect.Closed: undefined

from haishinkit.swift.

keithcml avatar keithcml commented on May 27, 2024

you means the notification will return these?

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 27, 2024

no. i'm going to implement this notes.

from haishinkit.swift.

keithcml avatar keithcml commented on May 27, 2024

one more suggestion, can you let developer to toggle debug mode for showing logs? for now.. streaming logs flush the console.

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

my current solution is repeatedly check the connected property of RTMPConnection, it works for me.

from haishinkit.swift.

keithcml avatar keithcml commented on May 27, 2024

I can't playback via HLS from WOWZA server. Seems the encoding is not compatible. Any idea?

I can stream onto WOWZA server but I cannot playback using native AVPlayer on my iPhone.

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

me too. the problem is very strange. if you play within 5 seconds after you broadcast, you will see the video. but the playlist.m3u8 file changes after about 5 seconds, then, you cannot play it on any IOS device. Although you still can play it on MAC, PC, ANDROID.....very very strange.....

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

the playlist.m3u8 file firstly look like this:

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=250000
chunklist.m3u8

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

after a while it changes to this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=141274,CODECS="avc1.66.11,mp4a.40.1",RESOLUTION=136x240
chunklist.m3u8

from haishinkit.swift.

mrbemani avatar mrbemani commented on May 27, 2024

once it become this ⬆️ format, no IOS device can play it.

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 27, 2024

(oh... I'm wrong issue number...)

from haishinkit.swift.

shogo4405 avatar shogo4405 commented on May 27, 2024

Currently, can handle lost connection.

  • no route to host
    1. NetConnection.Connect.Failed
  • client network down
    1. NetConnection.Connect.Success:Connection
    2. NetConnection.Connect.Closed
  • server shutdown
    1. NetConnection.Connect.Success: Connection succeeded.
    2. NetConnection.Connect.Closed

from haishinkit.swift.

glm4 avatar glm4 commented on May 27, 2024

@MingLoan Hello, Im trying to implement a live streaming app. Already using Wowza Cloud API to create the live_stream. Can you tell me how can I connect to the rtmp source, Im using the rtmp source provided inside de live_stream object recently created("source_connection_information") but Is not working. Thanks in advance.

from haishinkit.swift.

allenlinli avatar allenlinli commented on May 27, 2024

Should RTMPConnection.Code.connectClosed.rawValue be called in rtmpStatusHandler when it does rtmpConnection.close()?
I didn't receive the event connectClosed.

#653

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.