TV Cast
#38739
Replies: 1 comment
-
|
Hi @lapdv3012, I wanted to jump in and mention that if you're looking for help for this specific topic, you might want to try asking for help somewhere that focuses on TV Casts. It's definitely possible that another GitHub user might have run into this same issue and can help, but the GitHub Community on Discussions focuses primarily on topics related to GitHub itself or collaboration on project development and ideas. We want to make sure you’re getting the best support you can, but this space may not be the right place for this particular topic. Best of luck! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Hi Bro, I'm currently making Cast app for TV & Browser combined ConnectSDK & Nanohttpd.
On Browser it works fine to cast mp3, mp4, & image files. But I don't understand why when casting on TV, only image files can work and mp3 mp4 files can't and if I copy the stream link to the browser, it still works. Anyone who has worked through this app, please teach me!. Thank you!
Here my code
`
package com.xxxxx.http;
import static com.xxxx;
import android.net.Uri;
import android.util.Log;
import android.webkit.MimeTypeMap;
import org.nanohttpd.protocols.http.IHTTPSession;
import org.nanohttpd.protocols.http.NanoHTTPD;
import org.nanohttpd.protocols.http.response.Response;
import org.nanohttpd.protocols.http.response.Status;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
public class StreamingWebServer extends NanoHTTPD {
}
`
Beta Was this translation helpful? Give feedback.
All reactions