-
-
Notifications
You must be signed in to change notification settings - Fork 670
Closed
Description
Observed behavior
With iOS Examples configured to Publish SRT, and macOS Examples set to receive, I do not get any frames on macOS Examples. This example should work out of the box, and given it does not it makes me believe the SRT implementation needs additional work and documentation to correct it.
My actual use case is that I want to use SRT to publish frames from a bluetooth camera I have connected which gives me a series of images, which there is no clear way to do using this library without your guidance. I want to ensure SRT functions correctly as I need to use my own macOS app instead of ffplay to achieve this.
Expected behavior
I expect the Playback to appear on macOS of the stream published from iOS.
To Reproduce
- Download the existing version of the repo to access Examples app.
- Build and run iOS and macOS apps on each device.
- Set iOS preference to use my mac ip "var uri = "srt://my.ip.address.mac:9091"
- Set macOS preference to use its ip with (and attempted without)
?mode=listener - Hit Play on the Playback tab on macOS.
- Hit Publish on the iOS record button.
- Wait until timeout.
Version
2.2.0
Smartphone info.
- iPhone 17 Pro
- iOS 26.0.1
Additional context
- macOS 26.0.1 running on M4 Macbook Pro
- ffplay version 8.0
Screenshots
No response
Relevant log output
macOS:
URL created: Optional(srt://192.168.50.138:9091?mode=listener)
10:30:43.532052/ D:SRT.sm: generateSocketID: : @467060589
2025-22-10 10:30:43.595 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:43.596297/ D:SRT.sm: generateSocketID: : @467060588
Ready state updated: closed
Ready state updated: connecting
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
10:30:44.599723/.N:SRT.sm: @467060589 busy=0
2025-22-10 10:30:44.619 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:44.618754/ D:SRT.sm: generateSocketID: : @467060587
10:30:45.623635/.N:SRT.sm: @467060588 busy=0
2025-22-10 10:30:46.673 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:46.673376/ D:SRT.sm: generateSocketID: : @467060586
10:30:47.675940/.N:SRT.sm: @467060587 busy=0
2025-22-10 10:30:50.690 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:50.689729/ D:SRT.sm: generateSocketID: : @467060585
Ready state updated: closed
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
10:30:51.693467/.N:SRT.sm: @467060586 busy=0
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
Ready state updated: connecting
2025-22-10 10:30:57.527 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:57.526871/ D:SRT.sm: generateSocketID: : @467060584
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
10:30:58.531120/.N:SRT.sm: @467060585 busy=0
2025-22-10 10:30:58.588 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:30:58.587848/ D:SRT.sm: generateSocketID: : @467060583
10:30:59.592677/.N:SRT.sm: @467060584 busy=0
2025-22-10 10:31:00.690 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:31:00.690246/ D:SRT.sm: generateSocketID: : @467060582
10:31:01.693861/.N:SRT.sm: @467060583 busy=0
2025-22-10 10:31:04.888 [Error] [com.haishinkit.SRTHaishinKit] [SRTSocket.swift:226] makeSocketError() > Connection setup failure: unable to create/configure SRT socket
10:31:04.888059/ D:SRT.sm: generateSocketID: : @467060581
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
Ready state updated: closed
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
10:31:05.889862/.N:SRT.sm: @467060582 busy=0
<<<< FigMediaServicesProcessDeathMonitoring >>>> signalled err=-12780 at <>:124
iOS:
2025-22-10 10:30:38.574 [Error] [com.haishinkit.HaishinApp] [AudioSourceService.swift:63] setUp() > Error Domain=NSOSStatusErrorDomain Code=-50 "(null)"
<<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:606
<<<< FigAudioSession(AV) >>>> signalled err=-19224 at <>:606
2025-22-10 10:30:39.246 [Info] [com.haishinkit.HaishinKit] [AudioMixerTrack.swift:122] setUp(_:) > inputFormat:<AVAudioFormat 0x110efcff0: 1 ch, 48000 Hz, Int16>, outputFormat:<AVAudioFormat 0x110efd180: 1 ch, 48000 Hz, Int16>
(Fig) signalled err=-12710 at <>:601
(Fig) signalled err=-12710 at <>:601
(Fig) signalled err=-12710 at <>:601
URL created: srt://192.168.50.138:9091?mode=listener
10:30:39.931919/ D:SRT.sm: generateSocketID: : @705093106
2025-22-10 10:30:39.947 [Info] [com.haishinkit.HaishinKit] [AudioCodec.swift:171] makeAudioConverter() > converter:<AVAudioConverter: 0x115b44c00>,inputFormat:<AVAudioFormat 0x110efd180: 1 ch, 48000 Hz, Int16>,outputFormat:<AVAudioFormat 0x115b64ff0: 1 ch, 48000 Hz, aac (0x00000002) 0 bits/channel, 0 bytes/packet, 1024 frames/packet, 0 bytes/frame>
10:30:45.642716/ D:SRT.km: CHANNEL: Bound to local address: 0.0.0.0:9091Metadata
Metadata
Assignees
Labels
No labels