-
Notifications
You must be signed in to change notification settings - Fork 53
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
Camsoda (CS) Streams Showing as Unknown Error #180
Comments
This might be a DNS issue on my end. I've been using Cloudflare as my DNS provider and they provide protection for Camsoda. I'm wondering if using StreaMonitor is being blocked somehow. I'm able to access the site through a normal web browser. |
Nah it isn't on your end, I've been getting "unknown error" for at least a week now too, didn't actually realize it was an issue 'til tonight but now I see it failing to record a stream that I know is running. :\ |
Oh thank goodness, I've been going crazy trying to figure this out! If I try to run
|
Additionally, it looks like attempts to access the API are getting refused. Here's an error that got posted to the Terminal:
|
It's possible that my IP has been blocked from using the API. I connected my laptop to my phone's hotspot, which gave me a new IP address. When I attempted to connect again, I got this: PS /> invoke-webrequest www.camsoda.com/api/v1/video/vtoken/adalline
Invoke-WebRequest: Access Denied - Bot Restriction
It appears that you are attempting to crawl this site. To help you access our content in the best way possible, please use our official feed:
https://feed.camsoda.com/api/v1/browse/online_embed
If you need additional access or have specific requirements, please contact us at:
webmaster@camsoda.com
PS /> invoke-webrequest https://feed.camsoda.com/api/v1/browse/online_embed
StatusCode : 200
StatusDescription : OK
Content : {"results":[{"user_id":31022080,"username":"18perfecttits","name":"18perfecttits","status":"private","subjec
t":"it's been 2 weeks since the last squirt!!! help me squirt everywhere!!! #squirt on face …
RawContent : HTTP/1.1 200 OK
Server: nginx
Date: Wed, 18 Dec 2024 17:24:19 GMT
Access-Control-Allow-Origin: *
Vary: Accept-Encoding
x-varnish: 185277135 184709760
Age: 37
Via: 1.1 varnish (Varnish/5.0)
X-Cache: HI…
Headers : {[Server, System.String[]], [Date, System.String[]], [Access-Control-Allow-Origin, System.String[]], [Vary,
System.String[]]…}
Images : {}
InputFields : {}
Links : {}
RawContentLength : 1316370
RelationLink : {} |
I figured out the issue I was having with nslookup not resolving by disabling the ad blocking option on my router. That doesn't appear to be related to StreamMonitor and the |
It is my understanding that the CS has upgraded its HTTP version from HTTP/2 to HTTP/3. streamonitor\sites\camsoda.py
|
Thank you! I've confirmed that the updated bot has restored CS downloads! |
@maraudersmapx, you may want to re-open this issue for visibility until the fix is merged. I've tested and merged the fix in my own StreaMonitor fork. I can create a PR with this fix later today if @quavoo and no one else has opened a PR by then. |
Great point! I didn’t realize it was on your own fork. Re-opening now |
Weird update: whimsical's merge was working flawlessly (thanks, btw!) until today, but now seems like it's causing an "unknown error" issue with MFC? Or at least, I was getting that error with all MFC streams this afternoon and confirmed there was at least one stream running but not being recorded; reverting to my backup copy of Streamonitor immediately fixed that issue. Though of course now CS is back to showing up as "unknown error" so... sort of a lateral move. Anybody wanna check and make sure this isn't just me? Possible I goofed something up or it was a temporary hitch. |
Were you using my fork or the open PR on this repository? The reason I ask is that my fork has diverged a bit from upstream (this repository). I don't track any MFC streams, so they may have been broken on my fork for some time if you were using that. |
@whimsical-c4lic0 I tried to use your updated version but somehow the camsoda stream still missing audio. camsoda.py URL : https: //streaming-edge-front.livemediahost.com/edge11-ild/cam_obs/model_name_v1/index.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ== ffmpeg used URL : https: //streaming-edge-front.livemediahost.com/edge11-ild/cam_obs/model_name_v1/tracks-v4/index.fmp4.m3u8?token=eyJpdiI6IkpJZGJGcHZwSlJZaHltenhhTXpJZ2c9PSIsInZhbHVlIjoiaFRPMzBuYkpuXC9uWmt1Mm90RGFPM1E9PSIsIm1hYyI6IjI3ZjgzYmU3ZWE0ZjRkMmY2Nzk3ZjNhNDgwZGYwMWE2OGZiY2U3ZWE0NzhhNjU2ZDFjZWUxNjdiMWUxNjI2NTEifQ%3D%3D I need some help please. |
I apologize for the issue in the previous update. I did not verify whether the audio was properly captured within the videos, as my focus was primarily on recording the video. You can use the following code to combine the audio and video: def getVideoUrl(self):
audio = "multitrack=true&filter=tracks:v4v3v2v1a1a2"
v = (
"https://"
+ self.lastInfo["edge_servers"][0]
+ "/"
+ self.lastInfo["stream_name"]
+ "_v1/index.ll.m3u8?"
+ audio
+ "&token="
+ self.lastInfo["token"]
)
return self.getWantedResolutionPlaylist(v)
# Rest of the code Yes I have verified that the audio is being captured properly in the video. Stream URL from the browser:-
The new url from the stream that I have found while specting the request index.ll.m3u8?multitrack=true&filter=tracks:v4v3v2v1a1a2
The file to this issue for your reference.
|
Thanks @quavoo ! I should have tested it more thoroughly myself before pushing the code changes, so some (if not most) of the blame is on me. @padillageorge8989 , both my PR and my fork has been updated with the audio fix. |
Thanks for the sound fix, but it seems that the "Unknown error" problem appears again but in a different way. |
I recently noticed that Camsoda streams are showing as "Unknown error". I tested with a few different streams and observed issues with all. Issue seems to occur whether the model is currently streaming or not.
I tried gathering more information by setting
DEBUG = True
withinparameters.py
, butDownloader.py
always saidDebug mode: off
when starting.The text was updated successfully, but these errors were encountered: