alexballas / go2tv

Cast media files to UPnP/DLNA Media Renderers and Smart TVs.
MIT License
514 stars 52 forks source link

open RTP stream and cast to renderer #53

Closed qztseng closed 1 year ago

qztseng commented 2 years ago

Hello, would it be possible to open media through the RTP protocol ? It seems the URL opening only accepts HTTP protocol ?

I would like to live transcode local audio input into a stream and cast to a upnp renderer using go2tv

alexballas commented 2 years ago

Hello, apologies for the delay on this one. According to https://openconnectivity.org/wp-content/uploads/2015/11/UPnP-av-ContentDirectory-v4-Service-20101231.pdf (2.6.11 Internet Content Representation) some Media Renderers could support the RTP protocol but that would require some additional development on the Go2TV side. Certainly something to explore in the future as this could potentially also help with https://github.com/alexballas/go2tv/issues/51

alexballas commented 2 years ago

@qztseng would it be possible to run https://github.com/alexballas/dlnaprotocolinfo and send me the output? This should show if your devices support rtp/rstp/udp streaming

qztseng commented 2 years ago

Protocol Info, Device: Reciva <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:EncodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><r:GetProtocolInfoResponse xmlns:r="urn:schemas-upnp-org:service:ConnectionManager:1">

http-get:*:audio/L16:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mpegurl:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/L16:*,http-get:*:audio/mpeg:*,http-get:*:audio/*:*

</r:GetProtocolInfoResponse> </s:Body> </s:Envelope>



ConnectionIds, Device: Reciva
<?xml version="1.0" ?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:EncodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><r:GetCurrentConnectionIDsResponse
xmlns:r="urn:schemas-upnp-org:service:ConnectionManager:1"><ConnectionIDs></ConnectionIDs>
</r:GetCurrentConnectionIDsResponse>
</s:Body>
</s:Envelope>

----------

On Fri, Aug 26, 2022 at 9:17 PM Alex Ballas ***@***.***>
wrote:

> @qztseng <https://github.com/qztseng> would it be possible to run
> https://github.com/alexballas/dlnaprotocolinfo and send me the output?
> This should show if your devices support rtp/rstp/udp streaming
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/alexballas/go2tv/issues/53#issuecomment-1228476114>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEEDWAYQ43R5FPILQRSISQTV3C7VBANCNFSM56HXFNKA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
alexballas commented 1 year ago

Apologies for the delay on this one. Unfortunately your device does not support RPT streaming. I've yet to see a device that actually does.