Jump to content

Firewall Rules


Go to solution Solved by Luke,

Recommended Posts

TommyboyCAN
Posted

Hi All,

I know I have solved this before on my own, but I am setting up Emby on a new box and having a Windows Firewall issue with streaming LiveTV from an older HDHomeRun

I have tried putting any firewall rule I can think of making sure I let ffmpeg ffprobe etc all be allowed thru the firewall but nothing is working. There are no deny rules that I see.  Can anyone point me in the correct direction for the right firewall rule for this.

Please see this log segment:

2023-12-10 21:58:22.678 Info Server: http/1.1 POST http://host1:8096/emby/Items/939336/PlaybackInfo?UserId=e37889ebcb894634b5818803ea52d235&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=7000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=741a88fc-b547-4d12-8db7-2260d70fc155&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
2023-12-10 21:58:22.681 Info App: User policy for tom. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-12-10 21:58:22.681 Info LiveTvManager: Opening channel stream, external channel Id: hdhr_10.1
2023-12-10 21:58:22.681 Info LiveTV: Streaming Channel hdhr_10.1, with streamId: native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62
2023-12-10 21:58:22.681 Info HdHomerunHost: GetChannelStream: channel id: 10.1. stream id: native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62 profile: native
2023-12-10 21:58:22.682 Info HdHomerunHost: Opening HDHR UDP Live stream from 192.168.0.48

Note this is where I turn off the firewall, the the stream runs.

2023-12-10 21:59:12.005 Info HdHomerunHost: Live stream opened after 49323.3563ms
2023-12-10 21:59:12.006 Info LiveTV: Returning mediasource streamId native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62, mediaSource.Id native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62, mediaSource.LiveStreamId 
2023-12-10 21:59:15.019 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\tom\AppData\Roaming\Emby-Server\system\ffprobe.exe -analyzeduration 3000000 -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2ddbee9a2fc34f43bc54dbb6cbd99b16/stream.ts" -threads 0 -v info -print_format json -show_streams -show_format -show_data
2023-12-10 21:59:15.246 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2023-12-10 21:59:15.250 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/2ddbee9a2fc34f43bc54dbb6cbd99b16/stream.ts","Type":"Default","Container":"mpegts","IsRemote":false,"ContainerStartTimeTicks":436843851670,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_native_1d59007513b964b01163cce59c6482cf_74ac2c1c55db1df992752d8a21041e62","RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"mpeg2video","StreamStartTimeTicks":436845632330,"TimeBase":"1/90000","VideoRange":"SDR","DisplayTitle":"1080i MPEG2VIDEO","IsInterlaced":true,"BitRate":15000000,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":4,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","StreamStartTimeTicks":436843851670,"TimeBase":"1/90000","DisplayTitle":"English AC3 5.1","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"ac3","Language":"spa","StreamStartTimeTicks":436843851670,"TimeBase":"1/90000","DisplayTitle":"Spanish AC3 stereo","DisplayLanguage":"Spanish","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"eia_608","StreamStartTimeTicks":436845632330,"TimeBase":"1/90000","Title":"Closed Captions 1","DisplayTitle":"Und (Default EIA_608)","IsInterlaced":false,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":100,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":false,"Protocol":"File","SubtitleLocationType":"VideoSideData"}],"Formats":[],"Bitrate":15576000,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false,"DefaultAudioStreamIndex":1}
2023-12-10 21:59:15.253 Info App: User policy for tom. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2023-12-10 21:59:15.255 Info Server: http/1.1 Response 200 to host2. Time: 52579ms. http://host1:8096/emby/Items/939336/PlaybackInfo?UserId=e37889ebcb894634b5818803ea52d235&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=7000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=741a88fc-b547-4d12-8db7-2260d70fc155&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=en-us&reqformat=json
  • Solution
Posted

HI, yes you'll probably have to allow outgoing udp traffic from the server to the ip address of the tuner.

TommyboyCAN
Posted

Thank you did the trick!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...