I'm having an issue when using osxaudiosink on iOS 12. It looks like iOS 12
sets the AudioChannelLayout.mChannelLayoutTag = 6619138. However, in gstosxcoreaudio, GStreamer only supports mChannelLayoutTag = kAudioChannelLayoutTag_UseChannelDescriptions. if (layout->mChannelLayoutTag != kAudioChannelLayoutTag_UseChannelDescriptions) { GST_ERROR ("Only kAudioChannelLayoutTag_UseChannelDescriptions is supported."); *channels = 0; *channel_mask = 0; return FALSE; } Is this an iOS 12 bug or something GStreamer needs to update. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi
Il 30/07/2018 19:59, jml5qh ha scritto: I'm having an issue when using osxaudiosink on iOS 12. It looks like iOS 12 sets the AudioChannelLayout.mChannelLayoutTag = 6619138. I think this value mean kAudioChannelLayoutTag_Stereo https://developer.apple.com/documentation/coreaudio/1572101-audio_channel_layout_tags/kaudiochannellayouttag_stereo?language=objc and the channel layout should be something like the "case 2" in the actual GStreamer code https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/sys/osxaudio/gstosxcoreaudio.c#n365 probably a patch to gstosxcoreaudio is needed, the patch should be not too hard to write, I'll try to fix this bug myself if the problem still happen after iOS 12 release Nicola However, in gstosxcoreaudio, GStreamer only supports mChannelLayoutTag = kAudioChannelLayoutTag_UseChannelDescriptions. if (layout->mChannelLayoutTag != kAudioChannelLayoutTag_UseChannelDescriptions) { GST_ERROR ("Only kAudioChannelLayoutTag_UseChannelDescriptions is supported."); *channels = 0; *channel_mask = 0; return FALSE; } Is this an iOS 12 bug or something GStreamer needs to update. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thank you Nicola! I've had some communication with Apple and it sounds like
they will not be fixing the issue. Do you think this is something that can be fixed before iOS 12? If iOS 12 launches without this fix, the audio streaming in our app will be broken. It also affects our entire RTSP stream. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Il 17/08/18 15:04, jml5qh ha scritto:
> Thank you Nicola! I've had some communication with Apple and it sounds like > they will not be fixing the issue. Do you think this is something that can > be fixed before iOS 12? I'll try to fix it as soon as my iphone will receive iOS 12, this is my personal phone I don't install beta versions sorry, so you have to wait or try to fix it yourself, after the bug is fixed you have to compile a custom GStreamer version until the fix is included in official binaries anyway Nicola > If iOS 12 launches without this fix, the audio > streaming in our app will be broken. It also affects our entire RTSP stream. > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi there,
I just wanted to leave a comment on this thread that we are having the same issue. We have made a patch and are working on submitting it. If you have any instructions on how to successfully submit the patch, that would be greatly appreciated. You can find more here: https://bugzilla.gnome.org/show_bug.cgi?id=796919 Thanks! -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by jml5qh
The issue should be fixed now:
https://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=3573f71c911de35b61cb4a82d41a39e0f5e060fc please report if you have any issues after applying this patch, Nicola Il 17/08/18 15:04, jml5qh ha scritto: > Thank you Nicola! I've had some communication with Apple and it sounds like > they will not be fixing the issue. Do you think this is something that can > be fixed before iOS 12? If iOS 12 launches without this fix, the audio > streaming in our app will be broken. It also affects our entire RTSP stream. > > > > -- > Sent from: http://gstreamer-devel.966125.n4.nabble.com/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
I have the same issue when using osxaudiosink on IOS 12. After read your reply for this issue, I tried to compile a custom GStreamer version, but after installed the new version GStreamer, run my APP, I got error as following: ld: warning: -read_only_relocs cannot be used with arm64 Undefined symbols for architecture arm64: "_avcodec_find_decoder_by_name", referenced from: _gst_ffmpeg_caps_to_codecid in GStreamer(libgstlibav_a_arm64_-gstavcodecmap.c.o) "_av_mallocz", referenced from: _gst_ffmpeg_caps_with_codecid in GStreamer(libgstlibav_a_arm64_-gstavcodecmap.c.o) "_av_stereo3d_create_side_data", referenced from: _gst_ffmpegvidenc_handle_frame in GStreamer(libgstlibav_a_arm64_-gstavvidenc.c.o) "_av_frame_copy", referenced from: _get_output_buffer in GStreamer(libgstlibav_a_arm64_-gstavviddec.c.o) "_av_packet_new_side_data", referenced from: _gst_ffmpegviddec_handle_frame in GStreamer(libgstlibav_a_arm64_-gstavviddec.c.o) "_av_write_trailer", referenced from: _gst_ffmpegmux_collected in GStreamer(libgstlibav_a_arm64_-gstavmux.c.o) "_avformat_write_header", referenced from: ……………… "_avformat_find_stream_info", referenced from: _gst_ffmpeg_av_find_stream_info in GStreamer(libgstlibav_a_arm64_-gstav.c.o) "_av_codec_is_decoder", referenced from: _gst_ffmpegauddec_register in GStreamer(libgstlibav_a_arm64_-gstavauddec.c.o) _gst_ffmpegviddec_register in GStreamer(libgstlibav_a_arm64_-gstavviddec.c.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Has anyone complied the new version GStreamer with this patch successfully ? Jade -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |