4thline / cling

UPnP/DLNA library for Java and Android
1.73k stars 601 forks source link

RTP protocolinfo #202

Open IotMark opened 7 years ago

IotMark commented 7 years ago

Hello everyone, i have a rtp stream and relative sdp file. I create url to sdp file but i can't see videostream on tv, i create one mimetype "video,mpeg" and set protocolinfo in resource res.setProtocolInfo(new ProtocolInfo(Protocol.RTSP_RTP_UDP, ProtocolInfo.WILDCARD, "video/h264", "DLNA.ORG_PN=H264;")

res url is url from sdp file. In TV i see icon but when i try to play, i've error. Can you help me?

MythodeaLoL commented 7 years ago

Try this mimetype video/mp4. @IotMark