public static TvController_GetTeletextPage ( IUser user, int pageNumber, int subPageNumber ) : byte[] | ||
user | IUser | |
pageNumber | int | |
subPageNumber | int | |
Résultat | byte[] |
public override byte[] GetTeletextPageBytes(LiveStream liveStream, int pageNumber, int subPageNumber, out int subPageCount) { subPageCount = 0; if (liveStream.Channel.ChannelType == ChannelType.Television) { try { if (_liveStreams.ContainsKey(liveStream.RtspUrl)) { IUser tve3User = _liveStreamUsers[liveStream.RtspUrl]; byte[] result = TvServerPlugin.TvController_GetTeletextPage(tve3User, pageNumber, subPageNumber); if (result != null) { subPageCount = TvServerPlugin.TvController_SubPageCount(tve3User, pageNumber); } return(result); } } catch (Exception ex) { Log(TraceEventType.Error, ex.Message); } } return(null); }