Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving the kTDPlayerStatePlaying state for on-demand fast loaded audio #8

Open
Robiullah2244 opened this issue Oct 20, 2022 · 15 comments
Assignees

Comments

@Robiullah2244
Copy link

Robiullah2244 commented Oct 20, 2022

After clicking to play on-demand audio,
If the audio loaded not fast(4-5 seconds) then it returns like 0 -> 2 -> 1 (Stop -> Connecting -> Play)
But if the audio loaded too fast(1-2 seconds) then it returns like 0 -> 2 (Stop -> Connecting) only. Not receiving the 1(play state) after the play.

image

@Robiullah2244 Robiullah2244 changed the title Not receiving the kTDPlayerStatePlaying for on-demand fast loaded audio. Not receiving the kTDPlayerStatePlaying state for on-demand fast loaded audio Oct 20, 2022
@stijnvanderlaan
Copy link

We have the same problem.

@jd-buys
Copy link
Contributor

jd-buys commented Oct 24, 2022

Thanks for reporting the issue, we will take a look.

@jd-buys jd-buys self-assigned this Oct 24, 2022
@erikvandewiel
Copy link

@jd-buys I was wondering if there is any news on this issue?

@jd-buys
Copy link
Contributor

jd-buys commented Nov 1, 2022

I am having trouble reproducing the issue.
Is it possible that you can share the link you are using? I have tested with multiple and each time it works.

@stijnvanderlaan
Copy link

stijnvanderlaan commented Nov 1, 2022

Hi @jd-buys, here is one stream I can reproduce it with:
https://traffic.omny.fm/d/clips/803f1544-419a-4fea-962b-acdb0133575d/42e946b0-22b1-4abc-be4a-ad8800ff0e87/b822bcc2-62d4-4747-895a-adf900853119/audio.mp3?in_playlist=a2723fb4-b499-4776-967b-ad8800ff2a4f

But it looks like it's happening after I played another stream. Maybe that's a scenario?

@jd-buys
Copy link
Contributor

jd-buys commented Nov 1, 2022

Thanks @stijnvanderlaan I will test and get back to you.

@jd-buys
Copy link
Contributor

jd-buys commented Nov 2, 2022

I merged the fix into master.
If you can test it would be great.

@rene-demonsters
Copy link

@jd-buys I've tried building the SDK but I quickly run into issues like (there are more):

Building XCFramework...
error: the path does not point to a valid framework: /Users/renevlugt/Workspaces/ios-sdk/Framework/iphoneos/TritonPlayerSDK.xcarchive/Products/Library/Frameworks/TritonPlayerSDK.framework

** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/rene/Library/Developer/Xcode/DerivedData/TritonPlayerSDK-brtatkbowyqppmfqooyvdcucoesb/Build/Intermediates.noindex/TritonPlayerSDK.build/Release-iphoneos/TritonPlayerSDKUniversal.build/Script-B089C346268B4C7800DC7A49.sh (in target 'TritonPlayerSDKUniversal' from project 'TritonPlayerSDK')

Any chance you can provide us with a pre-built version perhaps?

@jd-buys
Copy link
Contributor

jd-buys commented Nov 7, 2022

@rene-demonsters I published release 2.7.2 that you can use.

@rene-demonsters
Copy link

@jd-buys Thanks, I've given it a try. The issue seems to have decreased in how often it pops up, but I'm unfortunately still able to trigger it every once in a while. I use next/previous to go through a playlist of say 50 items. I keep going back and forth and eventually I end up triggering it.

Is there any more information we can provide you with to help you debug this?

@jd-buys
Copy link
Contributor

jd-buys commented Nov 8, 2022

Thanks for testing @rene-demonsters . I am busy trying to replicate the issue again.

@erikvandewiel
Copy link

Hi @jd-buys, I was wondering is you had any success replicating the issue? If not, please let us know what we can do to help.

@jd-buys
Copy link
Contributor

jd-buys commented Jan 9, 2023

Hi @erikvandewiel Unfortunately not yet. I will try again later this week.

@erikvandewiel
Copy link

@jd-buys any chance of replicating the issue? We can provide more info if needed. An update would be appreciated.

@jd-buys
Copy link
Contributor

jd-buys commented Mar 10, 2023

@erikvandewiel Unfortunately I still have not been able to reproduce the issue. When you switch between items, do you stop and then play again, or what's the logic that you follow?
Do you maybe have a sample app that I can try debug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants